Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Showcase / ZOMFG!!! ZOMBIEEEEES!!!!!11!oneone!1
- By Dahrkael Date 2009-09-12 20:13 Edited 2012-04-30 16:08
This game is for a contest and is in develpoment but i want you to try it, so i can find solution to some bugs i have.

Source Download
Windows Build

Controls:
Return - Select option, back to title from Game Over.
R - Reload.
Spacebar - Shoot.
Arrows - Move.
F - Show/Unshow FPS.

You can collect extra ammo from the floor.

For now you only can move around killing zombies and getting extra magazines, you can die but can't win :)

If someone can find why it works at 30-25fps with ruby 1.8.x will be cool, with 1.9.x works perfect.
- By jlnr (dev) Date 2009-09-13 07:44
Not sure, but one thing you can move down a bit in the tight map loop is the array lookup in @capas. You don't have to do that if the coordinates are off-screen. If the map is really the problem then you might want to calculate the correct start indices for x and y so you don't have to loop all over the invisible tiles :)

That's assuming the map is really the problem, I haven't used a profiler on it. It was fun shooting the zombies anyway, good luck in the contest :)
- By Dahrkael Date 2009-09-15 09:15 Edited 2009-09-15 09:20
new version :D

-Title
-Game Over
-Music (temporal maybe O.o)
-Some bugs fixed.
--------------------------------------------------------
new version :D
-Fixed the lag of the maps
Was fault of the map drawing, bigger maps = bigger loop = more lag so i restringed the loop to the tiles in the screen.

Lag can appear with a lot of zombies in screen or a lot of bullets.
Suggestions for the game are welcome ;D
- By geo Date 2009-09-15 16:48
I get this when I try to run it:

./Tilemap.rb:111:in read_map': uninitialized constant Tileset::Zlib (NameError)

        from ./Tilemap.rb:67:in
load_map'
        from ./Tilemap.rb:13:in initialize'
        from ./Map.rb:25:in
new'
        from ./Map.rb:25:in initialize'
        from ./Title.rb:38:in
new'
        from ./Title.rb:38:in update'
        from ./Window.rb:32:in
update'
        from Main.rb:29:in `show'
        from Main.rb:29
- By Dahrkael Date 2009-09-15 18:34
you are using the win build?
you need the zlib1.dll in the folder. i didnt include it? damn <.<
- By geo Date 2009-09-15 19:08
I ran the main source file directly. Sorry!

I downloaded the win build and I have a small bug I could show you. Here's how you reproduce it:
- press enter when the screen appears
- let the zombies kill you
- press enter again like you would start a new game

You can see it here: http://img248.imageshack.us/img248/3191/zombiebug.png
- By Dahrkael Date 2009-09-15 19:23
yes, i noticed it.
its because i delete an array from @window when the map loads and I forgot to create it again.

Fixed, thanks. For now close and reopen the game :/
- By jlnr (dev) Date 2010-02-06 23:47
Wanted to take new screenshots but is missing Zlib. Where did this come from previously? Hmm …
- By Dahrkael Date 2010-02-07 17:44
no problem, i already attached the screenshots.
whats the problem with zlib? :O
- By jlnr (dev) Date 2010-02-07 20:18
I get an error that it cannot resolve the Zlib module when you try to call methods from it. I am not sure if it's just some require that's missing? I can do "require 'zlib'" to get access to the Zlib module. I will retry it with that manually fixed :)
- By Dahrkael Date 2010-02-07 20:27
in the windows version ruby doesnt need the "require zlib", you can use Zlib:: directly, could be that.
Up Topic Gosu / Gosu Showcase / ZOMFG!!! ZOMBIEEEEES!!!!!11!oneone!1

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill