Follow

Some progress on Inle, a little arcade game @rek and I are working on.

· · Web · 4 · 6 · 10

Screen recorder is skipping frames.. runs smoothly on pinebook.

@neauoire free trick for getting extra memory for the terrain... store the height for each column as a 4-bit difference from the column to the left. you can't do perfectly sharp cliffs with it, but it lets you store a lot more terrain.

@neauoire might not work for what you have, though. but i've used delta encoding for stuff like this in the past :)

@cancel Oh! Like an offset from the previous tile! It's a good idea, it would make getting the tiles a bit slower tho, right now space is not really an issue, the entire game is 2.1kb ..

@cancel @neauoire i love delta encodings!

for extra credit you could use a variable length encoding where 3 bits is data and 1 bit says whether to continue or not (so 0-7 fits in 4 bits, 8-63 fits in 8 bits, 64-511 fits in 12 bits, and 512-4096 fits in 16 bits)

@neauoire @rek For extra juiciness, add some screen shakes!

And for easy Vlambeer-style explosions, you just flash a white circle followed by a black circle. Easy! Just adjust the timing (duration) of each circle. Boom!💥

Of course I don't know if those things are possible in your engine 😅

@narF @rek mhmm, I think it could be done :> I'll make it as juicy as I can, but I must warn you, this sort of timer-based effects is really new to me ^^;

@neauoire That's why I'm not a real programmer! 😜

But it should be simple: draw a circle for ~2 frames, then draw a black circle in its place for ~3 frames, then erase.

Screen shakes are probably easier to start though...

@neauoire @rek
Reminds me of the old Scorched Earth game on DOS. I spent hours on that thing.

Sign in to participate in the conversation
Merveilles

Revel in the marvels of the universe. We are a collective of forward-thinking individuals who strive to better ourselves and our surroundings through constant creation. We express ourselves through music, art, games, and writing. We also put great value in play. A warm welcome to any like-minded people who feel these ideals resonate with them.