Log In  

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

Hello everyone.

As I strive to become better at programming, theres one thing that is annoyingly very recurrent in my code which are counters.

I have counters for playing a sound effect only when changing scene, or when a collision first happens.

I have counters to manage the speed of swapping animation frames

I also have counters just to tell the passage of time or trigger elements or behaviours after a while.

My general approach is: Create a global time variable with the name for the thing it's timing

animationcounter = 0

Then on update or draw I have some sort of

if animationcounter <= 20 then
   sp +=1
   animationcounter = 0
else
   animationcounter +=1
end

Is there a better way to do this that can be used for all counters necessary? With a function? or maybe an object where we instantiate counters or something?

1
7 comments


Cart #ghostvania1-8 | 2024-11-20 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
9

Controls :

O : Jump
O + UP : Throw subweapons (Requires hearts and you can throw multiple if upgraded)
X : Whip attack (Longer if you pickup the green upgrade)

Hello everyone ! Here is my latest game called Ghostvania, which is obviously an hommage to the Castlevania series but most specifically the first entry on the NES. I wanted to make it feel as close as possible as the first castlevania in the way it plays (difficulty, continues, lives, jumping, attacking, game loops, bosses).

So the story is you are a ghost and you are traversing the world of death. For that you need to go through portals but the problem is those portals are protected by creatures known as "Passage Demons". So embark on this adventure to help the ghost find it's way!

Have fun! Let me know if it's too hard or unfair, I would like to tune the difficulty. I tried my best to balance it.

And thanks for playing,

Au plaisir!

9
6 comments


Cart #one_hundred_pico_8_pixie_dots-3 | 2024-10-29 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

As many around here I've found the four, current, issues of the PICO-8 fanzine beyond inspiring, so I designed my first semi-serious project to celebrate inventiveness of everyone involved in the platform.

P.S. If you've just discovered the series maybe don't look at #2 too intently :)

When you do, give all props to johanvinet, a true pixel art wiz.


The premise of a jigsaw puzzle is deceptively simple:

  1. take a fully formed picture

  2. scramble the pieces to make an undistinguishable mess

[ Continue Reading.. ]

4
4 comments




Hey again!

I've recently assembled the raspberry pi powered pico8 game console that I have been showing off, and I'm proud to show that it is fully capable of running splore now! We still have quite a lot of tweaks to make before launch, but it's great to see it coming together. Now if you would excuse me as I go spend a couple of hours playing games...

I can't embed videos here, so checkout the reddit post for an actual gameplay video :))

2
5 comments


Cart #platformixel_maker_p8-1 | 2024-10-21 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
5


A quick phased platform editor, play challenges from other players and create your own maps to share.

Made for Pico8 as a prototype to develop my future games.

Shortcuts:
Left mouse button: Draw tile

Right mouse button: Clear tile

G: God mode.

I: Editor palette.

C: Character selector.

I: Activate manual(mouse) menu.

B: Save map.

M: Open/Close Minimap.

M+B (In that order): Clear map.

A, W, D, S: Movement keys.

Spacebar: Jump.

1,2,3,4,5,6,7,8,9,j,k,l: Tile editor selector.

Navigate through menu: Click on the gear, and select your menu or click on the gear again to close the menu.
Within menu, if you Left mouse button the cartridge option, it will save, if you Right mouse button, it will clear them map (reversible through Ctrl + R)

[ Continue Reading.. ]

5
1 comment


Cart #pool-0 | 2024-10-20 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

0 comments


Cart #swap_mouse-9 | 2024-11-25 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
19

Controls

Run: left, right
Jump: Z
Swap: X
Menu (restart options): P

About

Based on the pick up mechanic from Mini and Max in UFO 50, I made a sketch where a character swapped with walls. Then I kept working on it and here we are.

This thread started in the WIP forum, so the carts below are old builds you can inspect for historical purposes. The cart at the top is the latest version.

I consider this game finished, but it has about 2k tokens free, some map space, and some sprite space free for further experiments.

ORIGINAL 1ST POST BELOW...

Cart #swap_mouse-0 | 2024-10-20 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
19

[ Continue Reading.. ]

19
11 comments


Cart #star_pulse-1 | 2024-12-11 | Code ▽ | Embed ▽ | No License
3

THE STARS ARE COUNTING ON YOU!

Take control of the galaxy and crush your enemies without uttering a single word—show them who truly rules the stars!

HOW TO PLAY

  • Arrow Keys: Steer your ship
  • X Key: Fire your weapons

UNITE AND CONQUER!

Collect up to six stars to join you in battle and dominate the cosmos.

SOUNDTRACKS

  • Like Clockwork
  • Robot Dance

Both tracks are from the free pack Pico 8 Tunes Vol. 2.

WE WANT YOUR FEEDBACK!

Spotted a bug? Got ideas for improvement? Don’t hesitate to share your thoughts—I’d love to hear from you!

[ Continue Reading.. ]

3
1 comment


Cart #floppaspace-0 | 2024-10-20 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
6


Floppa in space in 256 colors

6
2 comments


Any ideas on how to doodle something that sounds at least remotely like one?

2 comments




[sfx]
No Bass drum? yes im frist made
you free use with credits
Also im made demo

Cart #yigabofade-0 | 2024-10-20 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

0 comments


Cart #chars_jam_japan-0 | 2024-10-20 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA


Is a Japan flag in 100 CHARS
im works my new game jam.
Source Code

a=0s=0
function _update()s+=1
a+=1if a > 24 then
s=24 a=24 end cls(7)
circfill(64,64,s,8)flip(♥)
end
0 comments


Cart #shieldrunner-0 | 2024-10-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA


A small 3-bit endless runner, a video game spinoff of my fiction and music project!
This is my first game and practically the only code I've ever written in my life 😅
The main goal here was to get hands-on experience with the Pico 8 tracker, sprites, and Lua basics, so that in the future I can create a little music-based game.
In the meantime, this came out, and I'm pretty satisfied!
Nothing special to report, just a themed silly endless runner.
Oh, I tried to implement a difficulty increase system: every 100 points, the maximum speed at which the shocks appear and their frequency increases by a small percentage.

Any feedback is welcome, and in the meantime, enjoy!

[ Continue Reading.. ]

0 comments


4 Sample Games for Beginners

I used to teach a class in PICO-8 at NYU from 2017 to 2021 or so. I found the existing carts on the BBS tended to be a bit too expert for people who needed to learn both Lua and Pico-8 in a couple weeks, and so I set out to make a few samples that use very small amounts of code, to show off a few different ways that the system can be used to make different types of games.

They are all under 300 lines of code, including extensive (but terse) comments, and they all use way less than 64 sprites. In my class the students had to make a game every week, starting from zero, so I needed to prove to them that a game could be made of very small easy-to-understand parts.

I've been meaning to post these online for ages but kept forgetting. I hope they're of use to someone! Feel free to take and adapt for your own teaching or learning purposes, I don't assert any particular rights over them. I also don't assert that the code is good or represents good Lua practice (it was a design class, and I am not a programmer), so feel free to improve upon them and repost if that seems worthwhile.

[ Continue Reading.. ]

18
1 comment


Cart #darbyscreamland-0 | 2024-10-19 | Code ▽ | Embed ▽ | No License
10


This is my homage to Kirby's Dream Land. Darby is a dollop of cream, and as such he's constantly losing cream by sliding around his environment. To survive, he must constantly defeat enemies to retrieve cream drops. Whoops! Some fell in a hole. Luckily, magnet items can draw lost cream drops to Darby for a few seconds. There is obviously a high iron content in the cream.

The evil eye is trying to steal the donuts of Darby's Cream Land! Race the eye to retrieve the donuts. You might have to fight him for them sometimes!

[ Continue Reading.. ]

10
5 comments


[64x64]

I'm making a platformer game about Micey and his friends in the style of Chip and Dale on Nes.

0 comments


white space

You've lived here as long as you can remember.
Little tribute I suppose to Omori. Omori is something that personally means a lot to me,
And one day I just wanted to try to demake white space as tiny as it is.
Maybe even boot it within your own white space and have a white space-ception like I do.

Cart #mori_white_space-0 | 2024-10-19 | Code ▽ | Embed ▽ | No License
9

9
3 comments




Top    Load More Posts ->