I played around some more and made a little program to generate circles which do not overlap. This is a little different than the one that just generates totally random circles. I should combine several of these in to one app instead.

I played around some more and made a little program to generate circles which do not overlap. This is a little different than the one that just generates totally random circles. I should combine several of these in to one app instead.
I was playing with love2d some more and made a simple random walk implementation. It starts with a random spot in a grid, and moves a single square in a random direction for many iterations. This type of algorithm can be used to generate caves and other things for games where continuity is needed.
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.