Log In  
[back to top]

:: Unfold ::

Cart #hobobot-1 | 2020-07-14 | Code ▽ | Embed ▽ | No License

Hobobot is about a robot that was destroyed and junked. But, his parts still work, and he wants to be whole again! Control each of Hobobot's two legs and two hands, and kick his head and get them all back to the torso!

z - Switch hobobot piece under control.
x - Perform action related to the current piece. Legs can kick, hands can grab.
arrow keys/dpad - Move current hobobot piece left or right. Or, perform left/right action.
enter - Bring up in-game menu. You must use this to restart the current level if you get stuck.

The head cannot be controlled, you must kick it with one of the legs.

There are 16 levels in total, which progress from fairly obvious mechanic-practice levels to mind-bending puzzles.


Originally released February 28th of 2019, I decided to make a few nice updates:

-Autosave so you can come back later. The puzzles are pretty tricky!
-New menu option for resetting the autosave progress.
-The first level hopefully will do a better job of teaching new players how the mechanics work.
-Kicking the head is now indicated by a small flashing kicking leg icon.
-Kicking has an extra animation frame to distinguish from the hopping animation. (Thanks discord peeps!)
-Grabbing a switch with the hand now is a toggle. Previously you had to hold down X while using arrow keys---this felt awkward---takes some mental load off of how to execute this mechanic.
-If a piece falls below the screen, an error sound is played and the level is restarted.

P#62308 2019-02-28 01:43 ( Edited 2020-07-14 02:02)

:: Unfold ::

I love the new code display on the web player. I noticed one graphical artifact, which does not get in the way of reading the code but is nonetheless somewhat unpleasant. It appears like a second scrollbar, but is non-functional. See attached photo.

P#61308 2019-01-28 19:45

:: Unfold ::

Sometimes when I play a cartridge from the web player from my phone, PICO-8 will show the splash screen and boot text, and then it will stop before playing the cart, printing the message: "invalid cart[ridge?] format." The issue can be worked around by refreshing, but whether it will then successfully boot appears to be intermittent and may require several refreshes. I have not seen the issue for a couple of days; but I realized I had not reported this nor had I seen it reported, so I thought it would be good to make a thread about it.

P#60657 2019-01-07 16:25

:: Unfold ::

Sorry if this is a duplicate, but I could not find my precise issue in the bugs discussion.


Cart #snowman-5 | 2019-01-01 | Code ▽ | Embed ▽ | No License
in Chrome on Windows 7, I notice that if I navigate away from the tab and then back, that while I was not viewing the tab, graphics updates do not proceed. However, music continues. This breaks carts which rely on stat(20), stat(24), stat(26) etc. It is not a problem for me because I prefer to remain engaged with a cart as long as I am playing it anyway, but I am not certain if this issue was present prior to the recent updates or not.

P#60529 2019-01-03 14:15 ( Edited 2019-01-03 14:15)

:: Unfold ::

Cart #snowman-5 | 2019-01-01 | Code ▽ | Embed ▽ | No License

This is a little animation/transcription of Walking in the Air from "The Snowman," an animated film from 1982 that I must have first seen in about 1987 or so. I recently watched this film again and it left a really strong impression on me, and I felt I had to make this little PICO-8 cart celebrating it.

Update 1-1-19:
Happy New Year! I made a few more improvements to the karaoke animation so the text scrolls more smoothly, the currently sung line is highlighted by a drop shadow as the ball slides across it. After more testing it looks like the code for tracking elapsed ticks is working great on all platforms. (except if you navigate away from PICO-8, there seem to be issues but it appears to affect other carts too not just mine?)

Update 12-31-18:
I added a karaoke style animation above the syllables of the words, and scroll the text so it is easy to sing along with. This was a little tricky to get working. I used stat(24) and stat(26) and associated ticks values with syllables, but it does not perfectly advance in lockstep to the 30 fps update so I had to fudge things a bit. But it now seems to be working well on Windows and on Mac, we'll see how well it does on web.

P#60261 2018-12-22 21:50 ( Edited 2019-01-01 16:44)

:: Unfold ::

I wanted to see the code from the following cart: https://lexaloffle.com/bbs/?tid=27636

I am unable to view the code from the bbs as previously.

Also, searching for "small text" from within splore results in "COULD NOT CONNECT TO BBS" even though I'm able to refresh other parts of splore such as featured, new, etc.

Thanks! (as a workaround, I'll just download the png)

P#59872 2018-12-10 13:41 ( Edited 2018-12-10 13:42)

:: Unfold ::

In the game I'm building, I often have a need for an entity to basically make the map solid and impassable at a given location, but in the actual map editor these spaces would all be empty. Since the "flags" all reside in sprites, it seems the only way I could have dynamic collision flags or other metadata would be to use my own collision map. It would first be built from the map itself, then used dynamically thereafter by entities that need it.

It seems like a sensible thing to do and I am curious if anyone else has done this for similar reasons.

P#51039 2018-03-30 08:35 ( Edited 2018-03-31 01:51)

:: Unfold ::

I understand Pico-8 has a subset of the full Lua language. However, I wonder is there enough of it there to make the following book useful: https://www.amazon.com/Programming-Lua-Fourth-Roberto-Ierusalimschy/dp/8590379868/ref=pd_lpo_sbs_14_t_0?_encoding=UTF8&psc=1&refRID=JKY5ABS0S7DB70RF732Z

Does anyone have this and did it help you?

I've been able to get by picking up a smattering of lua syntax just online, but I enjoy the idea of getting a deeper look at the language. However since Pico-8 is the only platform on which I'm extensively using Lua, I want to make sure the investment would be worth it.

P#50146 2018-03-09 12:32 ( Edited 2018-03-09 17:32)

:: Unfold ::

I've been using an "object-like" idiom in my Pico-8 programs so far where I have functions where I basically pass in a "self" and do operations on an object. I also tend to keep a "type" variable. That seems to have been enough to get as "object oriented" as I need to be. I've seen that it is possible to hack Lua to basically give you full oop and inheritance. It looks as though it is a hack and not a built in language feature, and from what I've been reading not very many Pico-8 users use it.

My question is, to those that do, what do you believe the advantages are, especially in the context of making such small programs...? (guessing there aren't any, other than finding it interesting to implement)

P#49689 2018-02-25 22:33 ( Edited 2018-02-27 20:41)

:: Unfold ::

I have pico 8 on my home pc, my work pc, and my raspberry pi, but they each have their own favorites list. Is there a way to put this favorites list in the root path? I have all my carts and such in a dropbox share that all three machines use, but not the favourites.txt.

Also is there a way to sort favourites.txt (other than just editing the file and sorting by the column of the title of the game)?

P#43138 2017-08-08 22:39 ( Edited 2017-08-09 02:39)

:: Unfold ::

Is there any way to make a pattern stop short of 32 notes? (like famitracker has a Bxx effect for jumping to another pattern/frame) I have some music with a repeating section but it won't fit in 32 notes. if I could make it stop at say note 24 (or whatever it ends up being) I could repeat this section in a pattern and not have to waste an extra sfx.

P#43133 2017-08-08 21:24 ( Edited 2017-08-13 00:27)

:: Unfold ::

Cart #42865 | 2017-07-29 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

Inspired by Dino Riki on the NES. Features Dan (an old friend of mine) netting bees. And screaming: BEEEEEEEES!

P#42844 2017-07-28 11:49 ( Edited 2019-06-06 18:39)

:: Unfold ::

I recently wrote the following routine to scale text:

--scales some text, used for title
function scale_text(text,tlx,tly,sx,sy,col)

    for y=0,7 do
     for x=0,#text*8-1 do
      local col=pget(x,y)
      if col!=0 then
      local nx=x*sx+tlx
      local ny=y*sy+tly


However it depends on first printing the text to the screen.

I was trying to think of ways I could enable scaled text printing while other things are going on. Right now I just keep a black strip at the top of the screen of my current game so that I can scale text whenever I would like.

One idea I had was to create a table outside of Pico-8 that matches the Pico-8 font, and each row would be a single byte where every bit is a pixel, 8 bytes each for all characters in the font, then look up the correct bit when scaling each character, instead. Problem with that is the space it could use up, I guess.

I was kinda hoping the font would be in some kind of pseudo "system ROM" readable using PEEK, but I didn't see this listed in the memory map.

Another idea I had was to print every character, read the pixels and keep the data in a table. It'd be a sort of ugly "blip" of text right as the game starts up, though, but it might be so fast nobody would notice...

P#42303 2017-07-09 22:17 ( Edited 2017-07-15 05:58)

:: Unfold ::

Here's my Raspberry Pi 3, which I'm using as a dedicated Pico-8 machine. I also added a 3D printed Pico-8 logo.

P#42232 2017-07-06 19:42 ( Edited 2017-07-07 12:48)

:: Unfold ::

Is there a way to adjust how quickly held keys repeat keypresses within the code editor, etc? It appears Pico-8 applies its own setting/behavior to this, it does not inherit it from the host operating system. I like to use very fast key repeat settings, in general. In particular it would be nice for using page up/page down to navigate a large program.

P#41582 2017-06-13 12:22 ( Edited 2018-08-11 16:50)

:: Unfold ::

I'm simply curious to know whether midi input will be added natively to Pico-8. I enjoy composing in FamiTracker using my KORG nanoKEY2 (tiny piano keyboard for entering midi notes), and I really wish I could do the same in Pico-8. I guess there are workarounds for this, but, I'm still hoping this will be added in the future; it'd really push this product over the edge for me enjoyability wise.

P#41129 2017-05-30 09:36 ( Edited 2017-05-30 13:36)

:: Unfold ::

I'm considering making a jrpg in Pico 8 at some point. Yes, I know it is a very tired genre. However I really don't mind, I still love it.

One thing I was wondering was how to make an overworld that's larger than the 128x64 cels in the built in map memory.

My current idea is to represent the overworld in terms of geometry instead of in terms of a grid, rendering the tiles manually (or temporarily filling a portion of the map cel memory). So I'd have like, a mountain range defined as a rectangle, and then I'd overlay rectangles to give them a shape, and have some logic for arranging the tiles around the edges to look correct, etc.

Then individual tiny dungeons perhaps would just be hard coded in the map cels. Not sure.

I have seen several adventure type games in Pico 8, but...are there any that are trying to give the appearance of being "vast?"

I am really interested in the idea of packing a lot of engaging gameplay into a tiny space like this.

P#40765 2017-05-19 20:02 ( Edited 2017-05-21 20:34)

:: Unfold ::

I'm very fond of this idea of a fantasy console, and I'm enjoying Pico 8 a lot. Every so often, I think, gee, I'd like one with fewer constraints.

But then something dawned on me: There must be a point beyond which, if constraints are relaxed too far, the point of being a fantasy console evaporates and you may as well be simply using a more generic game framework.

I imagine this has been discussed many times before. But it explains to me why we will probably not see an extremely large proliferation of fantasy console software, the reason being that it is the constraints that make it unique as a console. If we make something as powerful as say protected mode DOS and make it a fantasy console, users may as well either use Dosbox or just write a game with a modern game framework, because the constraints are so relaxed relatively speaking. The craft of fitting a game idea into constraints is gone.

I'm aware of Liko 12 and PixelVision 8 and TIC-80 and so forth. The point of my discussion here is just a thought experiment about how much folks would value something that's a lot more powerful---where at that point there's really no need to have it be a console.

P#40619 2017-05-15 12:04 ( Edited 2017-09-18 14:13)

:: Unfold ::

This is a weird (ocd) question, but, is there any way to make pico 8 normalize everything as spaces? I noticed I can select some text and hit tab and shift tab as in many modern editors. However sometimes I use spaces to line other things up as I'd like. When I open my p8 file in another text editor then I have a mess of some tabs, some spaces. I was just curious if there's a flag for config.txt to make all tabs into spaces perhaps.

P#40558 2017-05-13 22:34 ( Edited 2018-03-04 14:38)

:: Unfold ::

I've of course found plenty of things on doing queues in lua all over the web, but it appears pico 8 has fewer of the main lua libraries available.

What I'd like to do is have a queue for passing messages to coroutines for "commands" to process. TBH it's probably overkill, but I'd like to know how anyway.

I know I can add(x, 10) to append to a table. But then there's del, which apparently only searches for a value and deletes it. I'm surprised there's no mirror operation to add which would remove from the end (or start) of a table. That's what I'm looking for, I think.

P#40290 2017-05-07 20:25 ( Edited 2017-05-08 00:25)

View Older Posts
Follow Lexaloffle:          
Generated 2022-11-26 19:29:43 | 0.065s | Q:36