Ruin Raider: open source 2D maze game made with kivy

518 views
Skip to first unread message

Raihan Kibria

unread,
Nov 24, 2013, 3:58:12 PM11/24/13
to kivy-...@googlegroups.com
Hello everyone,
I've been working on a simple arcade-style game with topdown tile-based graphics for a while now and finally finished it. For those interested the source code and all assets are available under MIT-license from https://github.com/rkibria/ruinraider

Screenshot on my phone:



I have posted the Android package to the Play Store just a moment ago.

Doug Linder

unread,
Nov 25, 2013, 12:23:09 AM11/25/13
to kivy-...@googlegroups.com
That's really cool~ :)

play link for those interested:
https://play.google.com/store/apps/details?id=org.rkibria.ruinraider

(personally I think it'd be more fun if either you had farrrr less health or it was pacman like in that you died the moment a ghost touched you; just because it's pretty easy at the moment, just personal oppinion~ :).

Still, nice to see people making things with kivy~

~
Doug.

ZenCODE

unread,
Nov 25, 2013, 3:00:36 AM11/25/13
to kivy-...@googlegroups.com
Nice one! Thanks ;-)

Gabriel Pettier

unread,
Dec 26, 2013, 10:45:02 AM12/26/13
to kivy-...@googlegroups.com
Hi

This is a nice little game, tested it some time ago, performances
however, are not great, and seems to deteriorate as time goes, it would
be nice to fix this, i played on a nexus7 2013, which is google flagship
product, and the game experience was sub-par, the game deserves better
;).

Kudos for the effort, and i hope this can be fixed :)

On Mon, Nov 25, 2013 at 12:00:36AM -0800, ZenCODE wrote:
> Nice one! Thanks ;-)
>
> --
> You received this message because you are subscribed to the Google Groups "Kivy users support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

Raihan Kibria

unread,
Jan 10, 2014, 4:41:42 PM1/10/14
to kivy-...@googlegroups.com
Hey, thanks for trying the game and your nice comments! Was it the current version you tried? (1.1.1) In the first versions i had not added some optimized libraries apparently and it ran terribly slowly. The current version includes some natively compiled code and should run much faster. For some reason the kivy launcher still somehow runs even smoother than my own compiled package, no idea why.

Raihan Kibria

unread,
Feb 16, 2014, 5:30:18 PM2/16/14
to kivy-...@googlegroups.com

I finally understand a bit more about how the graphics in kivy actually work and reworked the rendering code in this game a good bit, it should now work far better than it did earlier. It's still not ideal but leagues better than the first version. If someone tried this earlier and found it unplayably slow please try again!



Am Donnerstag, 26. Dezember 2013 16:45:02 UTC+1 schrieb tshirtman:

Milos Gradjanin

unread,
Feb 17, 2014, 3:12:28 AM2/17/14
to kivy-...@googlegroups.com
Now it is  playable. What principle changes did you make, what were you doing wrong in the first version?
Also, I think it would have been easier if I could direct the character via a small joystick in a screen corner.

Raihan Kibria

unread,
Feb 17, 2014, 4:58:16 AM2/17/14
to kivy-...@googlegroups.com
Earlier I used to clear the canvas completely on every redraw and recreated all the rectangles for my tiles and sprites again, plus I had a very inefficient procedure for rotating sprites. This was in hindsight of course terribly slow. Now I only build the picture once and reuse my rectangles and rotates, and only set their textures, positions and rotation settings on redraw.

I'm not sure if a joystick in the corner would do much for the game though, why is it inconvenient to just touch the screen? Do you think it would feel more like handheld videogames if you had a simulated "thumbstick" on-screen?

Milos Gradjanin

unread,
Feb 17, 2014, 10:34:57 AM2/17/14
to kivy-...@googlegroups.com
Raihan,
I think I would be more efficient in the game if there was a "joystick". I can imagine it being even more difficult on a bigger screen like the way it currently is.
Anyway, congrats for the game. One day I plan making my own, of this type.

Raihan Kibria

unread,
Feb 17, 2014, 4:45:56 PM2/17/14
to kivy-...@googlegroups.com


I thought about your suggestion a bit and sat down and made a little joystick widget in kivy, and it was quite easy really. A gif of it in action:

I think it works quite well, and it is probably more convenient to use on a tablet or other large screen device. Thanks for the suggestion!

Raihan Kibria

unread,
Feb 21, 2014, 4:09:20 AM2/21/14
to kivy-...@googlegroups.com
Posted the version with the virtual joystick on the Play Store! Please give it a try!

Milos Gradjanin

unread,
Feb 22, 2014, 10:41:12 AM2/22/14
to kivy-...@googlegroups.com
That's great now, the joystick makes it easier.
Reply all
Reply to author
Forward
0 new messages