Log In  

BBS > Superblog
Posts: All | Following    GIFs: All | Postcarts    Off-site: Accounts

I ran into an issue last night and today where a cart isn't saving. I only noticed today when I reopened pico-8 and some changes were missing. Here's the series of events:

  1. Did some work last night
  2. At some point I took a screenshot (F6) and/or made a .gif (F9). I'm a beginner so both of these were the first time I ran these commands ever.
  3. Made a few more changes
  4. Saved without realizing it wasn't saving (maybe I just didn't see the error message)
  5. Closed pico-8 and went to sleep
  6. Woke up today and noticed code was missing the edits (small clunky feature implementation so wasn't worried)
  7. Write some new code - still not realizing it wasn't saving when I pressed CMD+s
  8. Finally noticed it wasn't saving

So at this point I am on a Discord server (Lazy Devs) and asked if anyone had some tips. I got a lot of helpful feedback and tried a bunch of commands. Nothing persisted and the consensus is that it's likely a bug and probably related to permissions (the carts dir has R/W shown for my user account). Some things I tried:

[ Continue Reading.. ]

5 comments


Is there a way to get pico8 language support AND support for included files within VS Code?

I'm using the pico8-ls extension, which is great, but it doesn't recognise #include files, so I miss out on code completion on functions imported by my .p8 file. If I switch and use the lua language server extension: https://marketplace.visualstudio.com/items?itemName=sumneko.lua I get code recognition of my functions, but not the p8 functions (weirdly the lua language server seems to assume files are included even if they are not, or at least it seems to me it does). I'd ideally like both p8 function recognition from the pico8-ls AND recognition of my included functions. But this doesn't seem possible as of today.

I did note that support for #include files is a planned featured of the pico8-ls function so maybe I just have to wait for that

0 comments


Cart #flow_smithothy-0 | 2022-05-07 | Code ▽ | Embed ▽ | No License
4

Mouse and keyboard required.

4
0 comments


Cart #stocks_falling-1 | 2022-05-07 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

STOCKS FALLING!

It's the old Nintendo "Game & Watch" game "Fire", except it's your tech stocks and crypto portfolios falling during the 2022 stock crash! And the next day, they crash even more!

Can you survive long enough for your stocks to fall into the gates of hell?

1
1 comment


Old builds of my completed game

Cart #rushtree11232-0 | 2022-05-14 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

Cart #pitareriso-0 | 2022-05-09 | Code ▽ | Embed ▽ | No License
3

Cart #ramsajru-0 | 2022-05-06 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

3
0 comments


When using Ctrl-X to cut and paste sprites, the sprite flags remain in the old sprite location. Maybe this is intentional? But it seems like maybe the sprite flags should reset back to a brand new, untouched sprite state when sprites are cut and then pasted elsewhere. Here's a GIF showing the behavior:

3
3 comments


Cart #yamizezide-0 | 2022-05-06 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
9

my first and probably last celeste mod
Explore a small world of jank, rem, and questionable level design

9
28 comments


Edit: Beta is now closed and the final game is now here

Cart #community_game_2022_beta-0 | 2022-05-29 | Code ▽ | Embed ▽ | No License
3

I've been kicking around the Pico-8 community for about a year now creating games under NerdOfGamers/RyanCavendell (depending on where you might frequent). I'm currently trying to set up the infrastructure to automate a community game jam using Lexaloffle's Edu version. So I'm looking for sign-ups for the Beta to make sure all the automated systems are working in real life as I'm anticipating potential problems (already done testing myself and seems stable but that will only go so far).

If you want to make a small game together with the community and help beta test this then the sign-up form is here > https://forms.gle/dzwgUiGXGebsnhTd7 < with text from sign-up form below

[ Continue Reading.. ]

3
2 comments


Cart #modular_kobolds-0 | 2022-05-06 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
6

Hey!

I make a lot of little games and I'm not good at pixel art, so I've been reusing the same character art again and again from project to project. I thought some other people might have the same problem, so I dumped the character art and most of my animation code into this cartridge. I also wrote a little platformer engine just so you can see how these animations might look in an actual project.

Folks who like cute little lizard dudes will likely be pleased, but I added swappable heads.

The public interface of moko consists of all its fields and methods, not all of which are documented.

Chances are you won't need all the animations in whatever project you use this in -- but they should be pretty easy to delete.

[ Continue Reading.. ]

6
0 comments


internal voxatron carts to import for education learning, since dont seem available at designer
rights reserved to owners
https://www.lexaloffle.com/bbs/?uid=1
https://www.lexaloffle.com/bbs/?uid=9308

Cart #mhedupipi-0 | 2022-05-05 | Embed ▽ | No License


Cart #wibojiwipu-0 | 2022-05-05 | Embed ▽ | No License


Cart #tosegozeri-0 | 2022-05-05 | Embed ▽ | No License

[ Continue Reading.. ]

2 comments


Cart #muhigagepu-0 | 2022-05-05 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
5

This shit a game

5
1 comment


Cart #sinazubiwa-0 | 2022-05-05 | Code ▽ | Embed ▽ | No License
1

1
1 comment


Cart #sujekakoni-0 | 2022-05-05 | Code ▽ | Embed ▽ | No License

0 comments


Cart #hirahibapa-0 | 2022-05-05 | Code ▽ | Embed ▽ | No License

0 comments


Cart #nofehukjo-0 | 2022-05-04 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

Newbie amateur game dev here! I've been programming for a few years now, mostly for academic/scientific purposes. I've always wanted to try my hand at making games, but I've always found an excuse not to.

So screw that, I'm starting from zero in a new language doing the absolute minimum that I can call a "thing" and here it is: a very simple histogram tool that "rolls" virtual dice and displays the frequency of the different rolls (excluding events with zero-frequency).

I'm used to doing this with more sophisticated tools and ad-hoc libraries, learning to do things «by hand» is a challenge in and of itself.

The histograms do not generally follow the distribution that one would expect. I believe this happens because:

[ Continue Reading.. ]

4 comments


Okay, when viewing code for a bunch of games, there seems to be variables that are put into the parentheses after a function's name. What are the purpose of these?
My guess is that they're local variables, but I have no idea.

3 comments


Cart #dailycalpuz-0 | 2022-05-04 | Code ▽ | Embed ▽ | No License
6

Here's Dailycalpuz!

Each day a new puzzle. Fit all pieces into the calendar to leave the current date showing.

6
7 comments


I may have a non-standard definition of fun...

Disclaimer: I'm fully aware that this is quite likely a completely useless little utility as far as PICO-8 development is concerned. I just like writing this kind of thing just for fun. But if you do find it interesting or useful, let me know!

This is basically just a function which allows you to create curried functions—which I attempt to explain below if you're unfamiliar with them—which can be partially applied in a natural way in Lua. I'm not sure why it took me so long to write this since it's just a rip-off of my python implementation of the same thing.

Anyway, here it is on github or you can copy/paste the code from the example.

Example

Here's a simple little proto-game thing which I stuffed full of as many curried functions as I thought I could reasonably get away with. Not gonna claim that it's the best—or even good—way to organize a game but I think it does an okay job of showing how to use partial application as a sort of dependency injection/data encapsulation.

[ Continue Reading.. ]

2
3 comments


I am getting different results when invoking code in the console as opposed to calling it from inside a running program. The code overrides the default behaviour of the cos function.

pi=3.14159
two_pi=pi*2

-- override cos to work with radians
p8cos = cos
function cos(rad) return p8cos(rad/two_pi) end

-- degrees to radians
function d2r(d) return d*two_pi/360 end

-- this test works (cos(45 deg) => 0.7071)
function _draw()
 cls()
 print(cos(d2r(45)))
end

I then run the code, observing correct results (0.7071).

Invoking this from the console however: print(cos(d2r(45))) prints different results (0.2206).

Are function overrides ignored in the console?

7 comments


Cart #dajogadopa-0 | 2022-05-03 | Code ▽ | Embed ▽ | No License

0 comments




Top    Load More Posts ->