Rainbbow Man by Eric
You only have one objective: get the cake. You only have one chance to do it(at least i think there is only one xp). Find the window of opportunity.
Yay finished my first ever major game!
used:
art: gimp, pixlr
language: C++
additional libraries: SFML 2.1 <- I recomend this
oh and if the link does not work tell me
edit: the game is not supposed to slow down but I could not get it not to do that xp. Also I do not know if its to hard. I can see the way through but apparently others cant. So tell me if you cant find the way.
edit2: apparently my computer thinks the game is going way faster than it is on everyone else's. I don't know if this is because I'm using a super computer or because of other reasons. Any way sorry for that I have no idea how to change it
Yay finished my first ever major game!
used:
art: gimp, pixlr
language: C++
additional libraries: SFML 2.1 <- I recomend this
oh and if the link does not work tell me
edit: the game is not supposed to slow down but I could not get it not to do that xp. Also I do not know if its to hard. I can see the way through but apparently others cant. So tell me if you cant find the way.
edit2: apparently my computer thinks the game is going way faster than it is on everyone else's. I don't know if this is because I'm using a super computer or because of other reasons. Any way sorry for that I have no idea how to change it
| Windows | https://www.dropbox.com/s/d79tolul6iaowid/rainbowman%20v0.02.zip |
| Original URL | https://ludumdare.com/compo/ludum-dare-28/?action=preview&uid=30755 |
Ratings
| Coolness | 56% | 3 |
| Overall(Jam) | 2.14 | 529 |
| Audio(Jam) | 2.27 | 398 |
| Fun(Jam) | 1.85 | 523 |
| Graphics(Jam) | 1.96 | 515 |
| Humor(Jam) | 2.14 | 321 |
| Innovation(Jam) | 1.70 | 542 |
| Mood(Jam) | 2.23 | 463 |
| Theme(Jam) | 2.56 | 337 |
I've got the same problem with rainbow man, it gets slow...
I like the humor though. The music really let that feeling sink in. It's a fun,simple game.
I think you have a problem with your game loop. My CPU usage is really high for a game like this. Did you forget to limit the number of game updates per second?
I also used C++ and there's just so little time to make stuff work. :P
I imagine the slowdown was unintentional but it was still amusing to have everything get slow and tense whenever you started to move.
A neat little idea and well done on finishing the game.
Thanks, Mozart. Thozart.
google "Delta based movement" or "Time based movement".
Nice first entry!
Speed issue: it's always a good practice to not move your character by constant distance, but also multiply it a by a time elapsed since the last update. There's usually some method to read system time, then you just subtract the currect value from previous frame value. This way your movement won't be frame-based (which may differ for various devices) but time-based (time is measured accurately on all devices). But other comments might explain in a more sensible way.
I noticed that there seems to be VC++ debug info (RainbowMan.pdb). If you're building the application in Debug mode, that could be the cause of the slowness, but I doubt it.
Using "delta time", like others suggested, fixes a lot of issues. However, it will probably not fix the speed issue. Limiting the framerate would be a good start. Perhaps you could upload your source code and allow a kind passerby to diagnose it.
Also, that Mozart music file is 90 MB! That is unacceptable, please never use WAV for music. I recommend FLAC (40 MB, lossless quality) or Ogg Vorbis (7.6 MB, use this one please). If you hate freedom, MP3 is similar to Vorbis (7.5 MB).
Anyway, congratulations on your first game! It's nice to see that others are using C++.