il y a 6 ans
A 2D platformer where you travel deeper and deeper underground.
This is an early work in progress. I will update as progress is made.
Technical Details
I wanted to what I could do with the 160×128 resolution. Rather than using the gb.display
to draw, this game uses gb.tft
to render directly to the screen. It also uses some DMA tricks. The screen is rendered in 8 pixel tall strips, top to bottom. While DMA is sending pixels for one of these strips, a second buffer is being calculated with the next strip. Right now I am able to have a foreground layer, a background layer (for parallax effect) and a character sprite using the full 5-6-5 color space at 40 fps!
NEW il y a 6 ans
It looks good and it works ;) !
You plan a game like Spelunky or La Mulana ?
NEW il y a 6 ans
I don't know if you need help for sprites. In the case it's could help i send you a walking sprite and a stand. I you need some others, just ask, i'll not spam you with if you don't need ;) Sprite 1 and 4 are not required if you want a 4 pictures animation, just take 2,3 and 5,6 (it's will make steps shorter)
Another one because it's the one who missed me the most: proposition for the jump
aoneill
il y a 6 ans
Nice! Right now I'm only planning on a run and not a walk, but I will take that jump idea. I like how the head turns on the walk though. I struggled with that on the running animation.
There is one more frame I know I want but haven't attempted - a wall jump / wall slide. I picture the character with their back against the wall preparing to push off. You interested in taking a stab at that?
NEW il y a 6 ans
Are you using a custom library? because i can see gb.tft.andy();
in the code for your custom DMA stuff. You can see how i did custom DMA stuff for arduboy crosscompiling over here.
That being said, the game does look pretty cool so far!
EDIT: Also it didn't seem like you are on the latest library version?
aoneill
il y a 6 ans
Yeah, the code is a mess right now. I made some minor modifications to an older version of the Gamebuino library just to prove I could get the drawing speed I was looking for. I totally need to pull that out into my own code rather than modify the library. Thanks for pointing me at the arduboy crosscompiling dma. That should help me out if I hit any roadblocks.
NEW il y a 6 ans
Else i make another proposition just for icon and titlescreen you can take or just keep an idea or trash them as you want of course.
NEW il y a 6 ans
I hadn't heard of those games before. They do have a similar look. I'll check them out for ideas. I was thinking that navigating the environment would be the main obstacle, kind of like Celeste. We'll see how that goes.
NEW il y a 6 ans
Nice! Right now I'm only planning on a run and not a walk, but I will take that jump idea. I like how the head turns on the walk though. I struggled with that on the running animation.
There is one more frame I know I want but haven't attempted - a wall jump / wall slide. I picture the character with their back against the wall preparing to push off. You interested in taking a stab at that?
NEW il y a 6 ans
Bien sûr (je crois que tu parles français si je ne m'abuse). Un qui ressemblerais à ça ? Là je retourne bosser mais j'essayerais de te faire le saut complet entre 2 murs. (Dans un sens car bien sûr on fait un miroir pour l'autre).
Je n'avais pas tous tes sprites mais tu ne voudrais pas construire une planche avec tous ceux que tu as pour que l'on s'en serve comme modèle (si une position partielle convient, le copier / coller va plus vite et on est sûr de ne pas déformer le perso ;) )
A moins que celle-ci + le saut te convienne (il faudrait peut être modifier le sprite pour la réception sur un mur du coup (genre le perso arrive avec les 2 mains devant pour se réceptionner). En tous cas, vas y demande si tu as des besoins et je te ferais des propositions. S'il y a un problème n'hésite pas à le dire pour que je corrige.
NEW il y a 6 ans
Yeah, the code is a mess right now. I made some minor modifications to an older version of the Gamebuino library just to prove I could get the drawing speed I was looking for. I totally need to pull that out into my own code rather than modify the library. Thanks for pointing me at the arduboy crosscompiling dma. That should help me out if I hit any roadblocks.
Sorunome
il y a 6 ans
Oooooh right another thing, if you set in your config-gamebuino.h the setting #define DISPLAY_CONSTRUCTOR Image(0, 0);
it won't even generate the internal buffer for that image and you won't have to manually re-init. What i didn't check is, if you just re-use that buffer for other stuff, and if you do that, that is OFC a pretty good use.
NEW il y a 6 ans
You are fast! No, I don't speak French, but I got the gist by using Google Translate. Looks good! I'll let you know if I think of anything else as I start trying these out in game. Might be a while as I usually only find time to code on the weekend. Thanks!
NEW il y a 6 ans
Oooooh right another thing, if you set in your config-gamebuino.h the setting #define DISPLAY_CONSTRUCTOR Image(0, 0);
it won't even generate the internal buffer for that image and you won't have to manually re-init. What i didn't check is, if you just re-use that buffer for other stuff, and if you do that, that is OFC a pretty good use.
NEW il y a 6 ans
Oups i have do it too quick last time, i forgot you have 2 L in your name... so it's a titlescreen corrected ...
and a little animation if you character wait something animation 1,2,3,4,3,2 and restart 1,2,... (she is playing yoyo ;) )
mike_j503
il y a 6 ans
Nice work on the Icon and the titlescreen. (Hoping that the game will also catch up with content some time)
Yet, these only worked for me after I changed the colors to 24bits. When I copied it from here, it was only saved in 8 bits.... What does this even mean? I don't know, but that's what worked for me.
NEW il y a 6 ans
Nice work on the Icon and the titlescreen. (Hoping that the game will also catch up with content some time)
Yet, these only worked for me after I changed the colors to 24bits. When I copied it from here, it was only saved in 8 bits.... What does this even mean? I don't know, but that's what worked for me.
NEW il y a 6 ans
Just tried it out, nice work! I like the graphics and the parallax scrolling, it runs very smooth. Also impressive map size, I didn't expect to fall down as far as a I did the first time it happened.
Just a heads-up, you can jump and land at the bottom of a platform instead of on top, ie. P jumps towards * and lands on the bottom edge of the first 8, instead of on top of it:
*888 P 88888888