Log In  

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

There used to be an issue where coroutines would yield unexpectedly if they took to long to execute.
This was fixed a while back, but I see that for coroutines that themselves run inside coroutines - this still happens.

In the below code, in the 'coroincoro' case, nil is yielded instead of 1, showing that the yield happened sometimes before the "real" yield call.

sleep=function() for i=0,100,0.00002 do end yield(1) end

function test(name, func, ...)
    local coro=cocreate(func, ...)
    local ok,result=coresume(coro)
    print(name..": "..tostr(ok)..", "..tostr(result))
end

test("coroutine", sleep)

local cc = cocreate(function()
    test("coroincoro", sleep)
end)
coresume(cc)
1
2 comments


Cart #juheyedapo-8 | 2022-05-16 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

Flappy UFO (flappy bird clone)

How do I play?

  • Up Arrow to jump.
  • Down Arrow to drop.
    Don't touch the green pipes.

  • Hold C or Z and click Up Arrow or Down Arrow in the menu to change your location.
  • Left Arrow or Right Arrow in the menu to switch character.
  • X in the menu to start the game with the selected character.

Enjoy!

4
1 comment


Cart #snak-11 | 2022-04-11 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
8

CONTAINS FLASHING IMAGES!!!

Snak

I spent way too much time making this.
It's a clone of snake, and I'm sure you already know the rules.
However, the background reacts in time with the music, and the snake also moves in time with the music.

There are 4 playable "stages", each with a different song and color scheme. After completing all 4, you have the option to restart in endless mode. You reach the next stage after the snake (known as "Snek") consumes 50 food (known as "Snak"). If Snek collides with the wall or their body, they revert to the beginning of the current stage.

[ Continue Reading.. ]

8
9 comments


Cart #toyboxtroopers-1 | 2022-08-28 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
14

Take command of a regiment of 18th Century line infantry in this short action strategy game.

•Train and manage your soldiers and then march them into battle.
•Fight in ten battles against Emperor Camembert and his cronies.
•Seven different tactics to use from co-ordinated volley fire, to a fierce bayonet charge, or a cowardly tactical retreat!
•Strike a balance between training your soldiers and giving them enough rest so they are fresh for the next battle.
Extremely historically accurate retelling of the Duke of Wensleydale's Parmesan Campaign against Emperor Camembert during the War of the 8 and Two-Thirds Coalition.
•Originally made for ToyBoxJam 3 2022 2nd - 22nd February 2022

[ Continue Reading.. ]

14
4 comments


Cart #picotrek-1 | 2022-04-09 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
18


Two-player coop game on the bridge of a space battleship. Work together to loot and destroy all the alien ships in each level.

Each player operates their own screen - Player 1 on top in red, Player 2 on bottom in blue.

Best with 2 players. Feel free to try this out without a partner, but it is extremely difficult to play both screens at once!! Get a friend and try it out. Communication is key!

HOW TO PLAY

This is your status bar - From left to right it shows the state of your 4 directional shields, your hull health, how much loot you've collected, and the most recent signal that you've intercepted from an enemy ship.

SCREENS

From any screen, press Z to go to screen select:

[ Continue Reading.. ]

18
2 comments


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

A small, silly game made for LD50.

2
2 comments


Setting Tab stop controll code to 0 and outputting tab characters at the same time causes pico-8 crash.

pico-8 version:0.2.4b

print("\^s0\t")
1 comment


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

Popular word guessing game, except it's with birds. (Actually it's just Mastermind)

Bird sounds are default off because they're annoying. I'm working on them.

6
4 comments


Cart #rewob-9 | 2022-04-22 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

REWOB. Delay the inevitable destruction of animal shaped planets long enough for its inhabitants to escape! Standard PICO-8 controls. X or Z to shoot. UP/DOWN to thrust. LEFT/RIGHT to steer. P/ENTER to open the PICO-8 pause menu and reset your save progress. Wob means your death count, because why not?

Made in 72 hours for ludum dare #50. Polish was added the week after the jam ended based on feedback from people playing the game. If you want to play the original submission, that's here:


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


[ Continue Reading.. ]

3
7 comments


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

My entry for the 50th Ludum Dare Game Jam!
Arrow keys: move
X: shoot

3
2 comments


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

Delay the inevitable and stay in the air for as long as possible.
This is my entry for Ludum Dare 50. A very short and simple game.

I wanted to actually finish something this time. I'm quite happy how it turned out.

Controls

Arrow Keys: Move left or right
X: Jump

Rules

Stay in the air for as long as you can, without landing in the water. Bounce on the seagulls to get a height boost. Watch out though, as they can burst you balloon. Also make use of your jump boosts for an extra height boost by pressing the X key.

Credits

Follow me on twitter @mattwilldev

3
2 comments


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


I had intended to use something like this in the doodle I posted recently, but I hadn't quite figured out how to implement it. The code is heavily commented, and the routine that handles drawing the gradient weighs in at only 80 tokens, relying on an external variable r to control the radius of the circle.

5
3 comments


How do I add a custom sound effect to a pickup item?

I converted my .wav to an .xm file using MilkyTracker and uploaded it into Voxatron.

But with the settings for my pickup item it only allows to activate a default sound.

6 comments


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

it's flood season, dig caves to redirect an inevitable rising water until you can save everyone
Also available on itch.io for binaries https://nusan.itch.io/flooded-caves

This game has been made in 48h for game jam Ludum Dare 50

Your digging power is limited, it recharges over time. At regular interval, you can save someone by sending your rescue team

You can play the game using a keyboard (action is key C ), a gamepad or a mouse

170
30 comments


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

0 comments


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


My very first post! Let's go!
Here is a game I made with a friend for Mini Jam 103: Darkness.
It is not perfect but it is a cute little ride.
Thanks for reading :D

6
1 comment


Cart #cookinggame-0 | 2022-04-04 | Code ▽ | Embed ▽ | No License
2


Play as Chef Whiskers and satisfy the judges by cooking meals that apply to their tastes!
Use the ingredients in your kitchen and "special ingredients" to get the most tasty points from your meal!

My first time using pico-8! It was for a class project so I wish I could have done more with it (music and such haha) but alas there were time restrictions! Maybe I'll make updates in the future!

Here are some extra instructions for the game, as they aren't too clear in the game itself:

On the judge screen, be sure to read and remember the judge’s likes and dislikes! They will apply when you select your ingredients on the next screen.

To select ingredients in the kitchen area, use the mouse to hover over an ingredient and use the X key to select them. If a special ingredient is in your kitchen, you must use it in the round. The rows of ingredients are organized based on their taste qualities (from top to bottom: salty, spicy, sweet, sour, and special ingredients).

When playing the game, use the arrow keys to approach the ingredients, an X icon will appear over the ingredients (press the X key to pick them up) and the color of the X corresponds to the cooking process (red for pan, blue for pot). To interact with the pot/pan, use the Z key. When the ingredient is cooked, approach the red box labelled “WHEN DONE”, a Z icon will appear and place it down using the Z key. Once all 3 ingredients are in the finished area, an orange X icon will appear. Use the X key to complete the round.

An end screen will appear and display your score, and prompt you to continue playing. After each round, your score will update. Reach your best high score!

2
0 comments


The \t control code advances the cursor horizontal position to the next tab stop. However, it only does this when the cursor is not already at a tab stop. If the cursor is at a tab stop, the cursor position does not change. The expected behavior is for the cursor position to move to the next tab stop.

-- works as expected: prints x, advances to next tab stop, prints y
print("x\ty")

-- expected: indents by one tab stop, prints x
-- actual: cursor position does not change, prints x
print("\tx")

-- expected: prints x, advances two tab stops, prints y
-- actual: prints x, advances one tab stop, prints y
print("x\t\ty")

PICO-8 0.2.4b.

1 comment


Cart #chasingpavements-0 | 2022-04-04 | Code ▽ | Embed ▽ | No License
34

Survive being chased by a rolling snowball with a crafty penguin.

Pickup, combine, and throw objects to delay the snowball’s inevitable descent! Throwing objects at the snowball chips away at its continually growing volume, while throwing them at other objects can craft tools to better suit your survival.

To clarify how to combine objects, you can aim your throws. An easy way to do it without precise aim is to carry an object and then throw it downward while sliding through another object. 😀

My LD50 entry. No background music because of the deadline and also I don’t know how to make background music. :(

Spoiler: [hidden]The game is possible to beat (i.e., has an ending) if you put more emphasis on crafting fancier tools over throwing every bit of debris at the snowball. 🙂

[ Continue Reading.. ]

34
12 comments


Cart #xor-13 | 2022-04-18 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
6

XOR Must Be Revealed

His many faces are scattered through 15 levels. Acquiring all the faces on any level will enhance your knowledge of Xor.

Beware Xor controls his world and doesn't give up his personality easily

Rediscover this classic from 1987, originally released by Astral Software under Logotron. This is still a very early WIP (first playable alpha actually), a few levels can be played but still missing levels, sound and probably some graphical polishing. The game will provide the original 15 levels and several extra ones once complete and ideally (if sticking to plan...) a level editor so you can create your own levels and puzzles.

Take control of Magus and Questor and beat all the levels in Xor's world by picking all his many faces and exiting through the door. Switch between Magus and Questor with X and see a level map with Z. You can quit a level if you get stuck from the map screen.

[ Continue Reading.. ]

6
0 comments




Top    Load More Posts ->