I created this game using Java and LibGDX. Thank you for voting, please vote even if its terrible, it was my first attempt. There is a bug where the witches disappear and walk through walls. Also the ending doesn't work aswell.
Hey, I used LibGDX as well! I recommend you provide separate downloads for the jar file and the source code, because most people probably just want to play your game and it reduces the download size and time for them dramatically.
Considering that this is your first attempt, you did a pretty good job! At least you managed to finish and provide a playable game and 48 hours isn't much time at all!
You asked me why the witches teleport, so here you go:
1. In RainbowWitch.java in the update() method in the else block you forgot to multiply the speed with the delta time as you have done in the if block, which makes the witches teleport once the player is out of their field of view.
2. In the RainbowWitch constructor you mirror the y coordinate of the cell for the witch, but this is wrong because libgdx already mirrored the map to fit its own coordinate system.
Fix:
In the constructor calculate the position like this:
haha Rainbow barf. The art for this was awesomely rainbow. It was tricky to dodge the cats, and the hit detection was just a touch off. Got stuck on the walls on occasion. rAIN boW bARF!
Very nice! Some weird tile seams showing through and I glitched out and got stuck on a portal or something and I seemed to move faster going diagonally, but otherwise good!
Not sure why, but this reminds me of when I used to play around with D-Paint back on the Amiga. There's something kind of charming about the witches being filled with rainbow gradients. I like the colors. :)
Comments24
Considering that this is your first attempt, you did a pretty good job! At least you managed to finish and provide a playable game and 48 hours isn't much time at all!
1. In RainbowWitch.java in the update() method in the else block you forgot to multiply the speed with the delta time as you have done in the if block, which makes the witches teleport once the player is out of their field of view.
2. In the RainbowWitch constructor you mirror the y coordinate of the cell for the witch, but this is wrong because libgdx already mirrored the map to fit its own coordinate system.
Fix:
In the constructor calculate the position like this:
position.x = (int) (x * StateGame.player.collisionLayer.getTileWidth());
position.y = (int) (y * StateGame.player.collisionLayer.getTileHeight());
In the update method always use "speed * delta" and never use just speed alone.
I guess these changes count as bugfixes, so you could upload a "fixed" version of your game...
rAIN boW bARF!
Congrats on getting a Ludum Dare project in!