I forked a copy of my simple air hockey game and turned it in to a pong clone. The changes needed were pretty simple, but basically it was to the paddles from circle to rectangle and lock them to a specific X position. Then I needed to tune the bounciness of the walls and adjust the physics on the paddle to help prevent the ball from loosing momentum since you can’t hit it hard.
I’ve been playing around some more with the Love2d game framework and made a little 2 player vs air hockey game using the touchscreen. It was neat to experiment with the physics engine using some simple shapes.
It was pretty easy to jump in to using, but creating more complex shapes seems difficult. I haven’t found any better ways than to build them from primitives, like circles and rectangles.
You can download the .love or an Android apk on github.
Simon likes to grab at my cellphone. I saw there a few baby touch games on the playstore, like Frankie’s Baby Fireworks! which he enjoys, so I thought it would be fun to make one of my own using Love2d.
This game makes sounds as long as you touch the screen and shows a random shape in random colors with a unique pattern, which follow your fingers around. The shapes are animated using the particle effects api that comes with the Love2d framework.
You can run the .love file if you have love framework installed on Linux/Windows/Mac/Android or use the Android apk I created. I don’t know if I will put it up on the Play store, but you can download it and view the source on Github. It’s more fun on my touchscreen laptop since there is more space to touch.
Love2d is fun and easy to learn for making 2d games. The particle system is neat, but it also includes a physics engine I want to play with some more.