Not logged inGosu Forums
Forum www.libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Showcase / Wizardz: the PvP energy management game!
- - By Dahrkael Date 2016-10-29 15:48
Hello everyone! long time no see.
Below this fancy name you will find a game I made the other day in around 6 hours, based on a dream I had the previous weekend.

Is somewhat similar to the classic <spend points in things that will get you more points, then destroy the other players> mechanic.
I think is a nice strategic game, even if its a 5-minutes-play-then-delete!

The game uses no images at all, everything is drawn using ::draw_triangle and ::draw_quad methods, if you let the sounds out, its just a .rb file with around 800 lines.

Here you can find the files, README included with a better description and a windows exe made with Ocra:
https://github.com/Dahrkael/toys/tree/master/wizardz
https://github.com/Dahrkael/toys/raw/master/wizardz/wizardz.exe

Feedback appreciated! I made this quick, but not too dirty, so theres room to improvements (I could easily put more players, bigger&complex scenarios, etc)
Parent - - By jlnr (dev) Date 2016-10-30 10:16
Oooohhh...took me a while to get it, it's like Galcon except that you build your own planets and can add wizards, if that makes sense. :) Will try to find a second player to PvP.

I ran it from source and scrolled around a little, so I have two quick suggestions for saving valuable bytes: There'a draw_rect method now, which is a lot shorter than using draw_quad for rectangles, and array[rand(array.length)] is just array.sample in current Ruby versions (since 1.9.3 maybe? - not sure).
Parent - By Dahrkael Date 2016-10-30 11:33
heya jlnr,
didnt knew about Galcon, I'll give it a go, looks fun!

Im using draw_quad because attacks can be diagonal, and I think you can't rotate draw_rect. the array.sample thing is good to know, my ruby knowledge is so 1.8.7/1.9.2

Find someone to play with! I promise it can actually be fun. Maybe I'll add it network support for the sake of it
Up Topic Gosu / Gosu Showcase / Wizardz: the PvP energy management game!

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill