Platform Game - UPDATED 2 [ C++ & Allegro ]
Uploader Comments (aldex123)
All Comments (16)
-
Nice game, imo you should countinue it ! :] I'm trying to do 2D platform game in Allegro too ^^
-
Why do you store the map in ASCII text if you just convert it to integers anyway?
Also instead of using a switch on the char, just do
if(foo >= '0' && foo <= '9')
bar = foo - '0';
-
@gamerboy2396 This is probably late, but installing Allegro with Dev-C++ is super easy- Open up Dev C++ and go to Tools>Check for Updates/Packages. Then in the dropdown menu, select devpacks (can't add the ending due to Youtube). Click check for updates at the bottom. You'll get a huge list. Scroll through, find Allegro there, tick it, install. Done!
-
Hello, I know how to make fairly simple text-based games with C++ and would maybe like to start with sprites, but I need help with installing Allegro :O
I know I sound like a noob but I downloaded Allegro and the folder brought up a bunch of crap such as a lot of folders, "M4" files etc. Maybe you could help me in a PM. By the way I use Dev-C++ and I am wondering where I put Allegro. Thank you :)
-
did you used array to store tiles or did you defined one by one?
-
thanks
-
awesome, I sub'd.
how did you added gravity =( I am workin platformer too but have big problem with gravity,BTW nice game you should continue with work on it
123ponco 2 years ago
have the gravity affect the player all the times but without affecting him when he's on the floor...
For example
if(!onFloor) playerVelocity.y += 0.2;
or something like that
aldex123 2 years ago
Wow that's a kick ass platformer so far. Can't wait to see what you do with it. Sub'd.
dandymcgee 2 years ago
hehe =) thanks! the thing is right now I'm learning XNA... so I'm not going to work on it for some time... =) check my first XNA vid =D
aldex123 2 years ago
how can i get the game?
cyther39 2 years ago
It's not finished yet. Srry man heh
aldex123 2 years ago