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 DownloadWindows Build
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.
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 :)
new version :D
-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
I get this when I try to run it:
read_map': uninitialized constant Tileset::Zlib (NameError)load_map'
from Main.rb:29:in `show'
you are using the win build?
you need the zlib1.dll in the folder. i didnt include it? damn <.<
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
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 :/
Wanted to take new screenshots but is missing Zlib. Where did this come from previously? Hmm …
no problem, i already attached the screenshots.
whats the problem with zlib? :O
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 :)
in the windows version ruby doesnt need the "require zlib", you can use Zlib:: directly, could be that.
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill