Slick Forums

Discuss the Slick 2D Library
It is currently Mon May 20, 2013 10:04 pm

All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Z-Z-Zombies!
PostPosted: Sat Oct 22, 2011 9:01 pm 
Offline
User avatar

Joined: Sat Oct 22, 2011 1:25 pm
Posts: 4
Location: Sweden
Hello everyone!

During this fall I've been developing a top-down zombie shooter for a university course in game design and programming, using Slick and MarteEngine.
I feel that it is kind of finished now (well, the deadline was two days ago... :roll:), so I thought I might as well show it to you guys!

Here's a screencast/demo: http://vimeo.com/30909891
And here's the game (Windows only atm): http://www.mediafire.com/?abi8cs5atu43xai

Please note that I have not made any of the in-game graphics or sounds, so please check the README.txt for credits!

I'm a bit curious on the performance on different computers, it runs smooth on mine (high-end) and on the computers at campus (mid-end).
(press F1 in game to enter debug mode and see current FPS...)

Anyway, I lurked on this forum quite a lot during the development and you guys really helped me out a lot! Thank you all! :)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 24, 2011 12:33 pm 
Offline
Slick Zombie

Joined: Wed Apr 02, 2008 1:32 pm
Posts: 1313
Location: Italy
cool!

a bit slow on my computer (20fps), but I'm at work, I'll try at home :D

_________________
Blog | Last game Gravity Duck tribute | In progress Gravity Duck tribute


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 24, 2011 8:05 pm 
Offline
User avatar

Joined: Sat Oct 22, 2011 1:25 pm
Posts: 4
Location: Sweden
Gornova81 wrote:
cool!

a bit slow on my computer (20fps), but I'm at work, I'll try at home :D

Yowza! That bad huh? :shock:

I know that there definitely is room for optimization and improvement, the problem is that I'm kind of tired with the whole project right now... been working on it a bit too long I guess :wink:


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 25, 2011 9:18 am 
Offline
Slick Zombie

Joined: Wed Apr 02, 2008 1:32 pm
Posts: 1313
Location: Italy
consider to opensource it, maybe on github, so anyone can fix or learn from your project :D (mee too for example)

_________________
Blog | Last game Gravity Duck tribute | In progress Gravity Duck tribute


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 25, 2011 4:40 pm 
Offline
Slick Zombie

Joined: Wed Apr 02, 2008 1:32 pm
Posts: 1313
Location: Italy
Finished at home :D

now 62 fps so no fps problems :D

Game is cool, for an university project, well done!

some ideas (IMHO);
- highscore entries are really fun, mine is 3641 :D
- bats move outside of walls (in church for example),
- consider add mouse support: left click to use equipped weapon, wheel for weapon selection and right click to move. Can really improve the game!
- more zombie types :D
- some traps!!
- some other weapons, why not a good old molotov?
- more variety for zombie sounds,
- more levels!!
- resources loading bar when game starts, seems blocked for a bit
- about the end: I'd like to see some sort of investigation part about the end.. why not?

good game !

edit: added a link on my blog: http://randomtower.blogspot.com/2011/10 ... mbies.html

_________________
Blog | Last game Gravity Duck tribute | In progress Gravity Duck tribute


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 25, 2011 5:11 pm 
Offline
User avatar

Joined: Sat Oct 22, 2011 1:25 pm
Posts: 4
Location: Sweden
Gornova81 wrote:
Finished at home :D

now 62 fps so no fps problems :D

Game is cool, for an university project, well done!

some ideas (IMHO);
- highscore entries are really fun, mine is 3641 :D
- bats move outside of walls (in church for example),
- consider add mouse support: left click to use equipped weapon, wheel for weapon selection and right click to move. Can really improve the game!
- more zombie types :D
- some traps!!
- some other weapons, why not a good old molotov?
- more variety for zombie sounds,
- more levels!!
- resources loading bar when game starts, seems blocked for a bit
- about the end: I'd like to see some sort of investigation part about the end.. why not?

good game !

edit: added a link on my blog: http://randomtower.blogspot.com/2011/10 ... mbies.html


Yay, I'm so glad it worked and that you liked it! :D

I wanted to add more enemy types, weapons (I actually started on grenades) and levels...
But with the deadline approaching fast I had to focus on more on gameplay and difficulty progression on the mechanics already implemented towards the end!

Anyway, thanks for the feedback! I'll add them to the TODO-list :)

Any thoughts on the difficulty btw? How many times have you died? :twisted:


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 25, 2011 8:47 pm 
Offline
Slick Zombie

Joined: Wed Apr 02, 2008 1:32 pm
Posts: 1313
Location: Italy
:D

it's easy because I found easily ammo for guns, must check for them. And zombies act all the sames, so are precitable.

If you haven't already tried, check Left 4 Dead 1 or 2 (great game!), many zombies types, but basic types sometimes don't attack players, just stay near a wall or crush their heads to the walls :D And of course, some times start zombie rush, trying to overwhelming player

_________________
Blog | Last game Gravity Duck tribute | In progress Gravity Duck tribute


Top
 Profile  
 
 Post subject: Re: Z-Z-Zombies!
PostPosted: Thu Feb 16, 2012 8:31 pm 
Offline

Joined: Fri Jan 13, 2012 4:24 pm
Posts: 10
Crashed on my PC :? :cry:

Just FYI here is the log :

Code:
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0cbbc5b5, pid=6072, tid=6792
#
# JRE version: 6.0_30-b12
# Java VM: Java HotSpot(TM) Client VM (20.5-b03 mixed mode, sharing windows-x86 )
# Problematic frame:
# C  [OpenAL32.dll+0x1c5b5]
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

---------------  T H R E A D  ---------------

Current thread (0x02b1a800):  VMThread [stack: 0x02c00000,0x02c50000] [id=6792]

siginfo: ExceptionCode=0xc0000005, reading address 0x0cd1e840

Registers:
EAX=0x0cd1e840, EBX=0x00000000, ECX=0x0cc03fd0, EDX=0x00000000
ESP=0x02c4fbcc, EBP=0x02c4fc50, ESI=0x0cc03f90, EDI=0x00000000
EIP=0x0cbbc5b5, EFLAGS=0x00010202

Top of Stack: (sp=0x02c4fbcc)
0x02c4fbcc:   0cc10048 0cc38ab0 0cba946e 0cc10048
0x02c4fbdc:   0cc38a98 00000000 0cc10048 0cba990f
0x02c4fbec:   0cc38ab0 00000001 00000000 00000000
0x02c4fbfc:   0cba9a59 0cc10048 0cba0000 0cba9a6b
0x02c4fc0c:   00000000 0cba9ae7 0cbc1ac4 0cba0000
0x02c4fc1c:   00000000 00000001 5701e358 00000000
0x02c4fc2c:   02c4fc70 001b38a8 00000001 02c4fc24
0x02c4fc3c:   02c4f7e0 02c4fcf0 0cbc28f0 597b1130

Instructions: (pc=0x0cbbc5b5)
0x0cbbc595:   33 ff 39 7e 10 74 32 ff 76 10 c7 46 0c 01 00 00
0x0cbbc5a5:   00 e8 33 26 ff ff 8b 46 08 59 89 7e 10 89 7e 0c
0x0cbbc5b5:   8b 08 50 ff 51 08 8b 46 04 89 7e 08 3b c7 74 06
0x0cbbc5c5:   8b 08 50 ff 51 08 89 7e 04 5f 5e c3 56 57 8b 7c


Register to memory mapping:

EAX=
[error occurred during error reporting (printing register info), id 0xc0000005]

Stack: [0x02c00000,0x02c50000],  sp=0x02c4fbcc,  free space=318k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [OpenAL32.dll+0x1c5b5]
C  [OpenAL32.dll+0x21b6c]
C  [ntdll.dll+0x118a]  LdrInitializeThunk+0x24
C  [ntdll.dll+0x224ca]  RtlDestroyEnvironment+0x178
C  [kernel32.dll+0x1caae]  IsValidLocale+0x8eb
C  [kernel32.dll+0x1cb26]  ExitProcess+0x14
C  [msvcr71.dll+0x8d04]  exit+0x0
C  [msvcr71.dll+0x8d11]  exit+0xd
V  [jvm.dll+0x11d88d]
V  [jvm.dll+0x11cb9e]
V  [jvm.dll+0x11cec2]
V  [jvm.dll+0x11d2d2]
V  [jvm.dll+0x140ffc]
C  [msvcr71.dll+0x9565]  endthreadex+0xa0
C  [kernel32.dll+0xb729]  GetModuleFileNameA+0x1ba

VM_Operation (0x0090fa40): Exit, mode: safepoint, requested by thread 0x002b6c00


---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x0301b800 JavaThread "AWT-Shutdown" [_thread_blocked, id=7408, stack(0x0f340000,0x0f390000)]
  0x02ed6400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=6004, stack(0x0d2b0000,0x0d300000)]
  0x02b6f400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=7644, stack(0x02de0000,0x02e30000)]
  0x02b63c00 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=3972, stack(0x02d90000,0x02de0000)]
  0x02b62400 JavaThread "Attach Listener" daemon [_thread_blocked, id=7248, stack(0x02d40000,0x02d90000)]
  0x02b61000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1116, stack(0x02cf0000,0x02d40000)]
  0x02b5c000 JavaThread "Finalizer" daemon [_thread_blocked, id=7356, stack(0x02ca0000,0x02cf0000)]
  0x02b57400 JavaThread "Reference Handler" daemon [_thread_blocked, id=7092, stack(0x02c50000,0x02ca0000)]
  0x002b6c00 JavaThread "main" [_thread_blocked, id=4296, stack(0x008c0000,0x00910000)]

Other Threads:
=>0x02b1a800 VMThread [stack: 0x02c00000,0x02c50000] [id=6792]

VM state:at safepoint (shutting down)

VM Mutex/Monitor currently owned by a thread:  ([mutex/lock_event])
[0x002b5bd0] Threads_lock - owner thread: 0x02b1a800

Heap
def new generation   total 4992K, used 3213K [0x22990000, 0x22ef0000, 0x27ee0000)
  eden space 4480K,  70% used [0x22990000, 0x22ca71e8, 0x22df0000)
  from space 512K,   9% used [0x22df0000, 0x22dfc3c8, 0x22e70000)
  to   space 512K,   0% used [0x22e70000, 0x22e70000, 0x22ef0000)
tenured generation   total 10944K, used 7745K [0x27ee0000, 0x28990000, 0x32990000)
   the space 10944K,  70% used [0x27ee0000, 0x286705b0, 0x28670600, 0x28990000)
compacting perm gen  total 12288K, used 2741K [0x32990000, 0x33590000, 0x36990000)
   the space 12288K,  22% used [0x32990000, 0x32c3d6d0, 0x32c3d800, 0x33590000)
    ro space 10240K,  51% used [0x36990000, 0x36ebda30, 0x36ebdc00, 0x37390000)
    rw space 12288K,  55% used [0x37390000, 0x37a29b50, 0x37a29c00, 0x37f90000)

Code Cache  [0x00920000, 0x00a50000, 0x02920000)
total_blobs=690 nmethods=436 adapters=190 free_code_cache=32323520 largest_free_block=0

Dynamic libraries:
0x00400000 - 0x00425000    C:\Program Files\Java\jre6\bin\java.exe
0x7c900000 - 0x7c9b2000    C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f6000    C:\WINDOWS\system32\kernel32.dll
0x77dd0000 - 0x77e6b000    C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f03000    C:\WINDOWS\system32\RPCRT4.dll
0x77fe0000 - 0x77ff1000    C:\WINDOWS\system32\Secur32.dll
0x7c340000 - 0x7c396000    C:\Program Files\Java\jre6\bin\msvcr71.dll
0x6d7f0000 - 0x6da9f000    C:\Program Files\Java\jre6\bin\client\jvm.dll
0x7e410000 - 0x7e4a1000    C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f59000    C:\WINDOWS\system32\GDI32.dll
0x76b40000 - 0x76b6d000    C:\WINDOWS\system32\WINMM.dll
0x76390000 - 0x763ad000    C:\WINDOWS\system32\IMM32.DLL
0x629c0000 - 0x629c9000    C:\WINDOWS\system32\LPK.DLL
0x74d90000 - 0x74dfb000    C:\WINDOWS\system32\USP10.dll
0x6d7a0000 - 0x6d7ac000    C:\Program Files\Java\jre6\bin\verify.dll
0x6d320000 - 0x6d33f000    C:\Program Files\Java\jre6\bin\java.dll
0x6d7e0000 - 0x6d7ef000    C:\Program Files\Java\jre6\bin\zip.dll
0x10000000 - 0x10072000    C:\Documents and Settings\aperea\Local Settings\Temp\natives630724960\lwjgl.dll
0x773d0000 - 0x774d3000    C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\COMCTL32.dll
0x77c10000 - 0x77c68000    C:\WINDOWS\system32\msvcrt.dll
0x77f60000 - 0x77fd6000    C:\WINDOWS\system32\SHLWAPI.dll
0x5ed00000 - 0x5edcc000    C:\WINDOWS\system32\OPENGL32.dll
0x68b20000 - 0x68b40000    C:\WINDOWS\system32\GLU32.dll
0x73760000 - 0x737ab000    C:\WINDOWS\system32\DDRAW.dll
0x73bc0000 - 0x73bc6000    C:\WINDOWS\system32\DCIMAN32.dll
0x77c00000 - 0x77c08000    C:\WINDOWS\system32\VERSION.dll
0x5ad70000 - 0x5ada8000    C:\WINDOWS\system32\uxtheme.dll
0x74720000 - 0x7476c000    C:\WINDOWS\system32\MSCTF.dll
0x755c0000 - 0x755ee000    C:\WINDOWS\system32\msctfime.ime
0x774e0000 - 0x7761e000    C:\WINDOWS\system32\ole32.dll
0x03150000 - 0x03545000    C:\WINDOWS\system32\ig4icd32.dll
0x035f0000 - 0x03875000    C:\WINDOWS\system32\ig4dev32.dll
0x73b30000 - 0x73b45000    C:\WINDOWS\system32\mscms.dll
0x73000000 - 0x73026000    C:\WINDOWS\system32\WINSPOOL.DRV
0x66e90000 - 0x66ed1000    C:\WINDOWS\system32\icm32.dll
0x605d0000 - 0x605d9000    C:\WINDOWS\system32\mslbui.dll
0x6d000000 - 0x6d14c000    C:\Program Files\Java\jre6\bin\awt.dll
0x0cba0000 - 0x0cbf0000    C:\DOCUME~1\aperea\LOCALS~1\Temp\natives630724960\OpenAL32.dll
0x7c9c0000 - 0x7d1d7000    C:\WINDOWS\system32\SHELL32.dll
0x73f10000 - 0x73f6c000    C:\WINDOWS\system32\dsound.dll
0x76c30000 - 0x76c5e000    C:\WINDOWS\system32\WINTRUST.dll
0x77a80000 - 0x77b15000    C:\WINDOWS\system32\CRYPT32.dll
0x77b20000 - 0x77b32000    C:\WINDOWS\system32\MSASN1.dll
0x76c90000 - 0x76cb8000    C:\WINDOWS\system32\IMAGEHLP.dll
0x72d20000 - 0x72d29000    C:\WINDOWS\system32\wdmaud.drv
0x72d10000 - 0x72d18000    C:\WINDOWS\system32\msacm32.drv
0x77be0000 - 0x77bf5000    C:\WINDOWS\system32\MSACM32.dll
0x77bd0000 - 0x77bd7000    C:\WINDOWS\system32\midimap.dll
0x73ee0000 - 0x73ee4000    C:\WINDOWS\system32\KsUser.dll
0x6d230000 - 0x6d27f000    C:\Program Files\Java\jre6\bin\fontmanager.dll
0x6d600000 - 0x6d613000    C:\Program Files\Java\jre6\bin\net.dll
0x71ab0000 - 0x71ac7000    C:\WINDOWS\system32\WS2_32.dll
0x71aa0000 - 0x71aa8000    C:\WINDOWS\system32\WS2HELP.dll
0x71a50000 - 0x71a8f000    C:\WINDOWS\system32\mswsock.dll
0x662b0000 - 0x66308000    C:\WINDOWS\system32\hnetcfg.dll
0x58d40000 - 0x58d47000    C:\WINDOWS\System32\wship6.dll
0x6d620000 - 0x6d629000    C:\Program Files\Java\jre6\bin\nio.dll
0x77120000 - 0x771ab000    C:\WINDOWS\system32\OLEAUT32.DLL
0x76bf0000 - 0x76bfb000    C:\WINDOWS\system32\PSAPI.DLL
0x59a60000 - 0x59b01000    C:\WINDOWS\system32\dbghelp.dll

VM Arguments:
jvm_args: -Djava.library.path=C:\DOCUME~1\aperea\LOCALS~1\Temp\\natives630724960
java_command: game.Game
Launcher Type: SUN_STANDARD

Environment Variables:
CLASSPATH=.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\oracle\ora81\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\Program Files\Compaq\Compaq Management Agents\Dmi\Win32\Bin;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\Common Files\Adobe\AGL;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\Windows Imaging\;C:\Program Files\QuickTime\QTSystem\
USERNAME=aperea
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 10, GenuineIntel



---------------  S Y S T E M  ---------------

OS: Windows XP Build 2600 Service Pack 3

CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3

Memory: 4k page, physical 3136704k(1737340k free), swap 6102920k(4740980k free)

vm_info: Java HotSpot(TM) Client VM (20.5-b03) for windows-x86 JRE (1.6.0_30-b12), built on Nov 10 2011 01:51:00 by "java_re" with MS VC++ 7.1 (VS2003)

time: Thu Feb 16 15:27:12 2012
elapsed time: 16 seconds



Top
 Profile  
 
 Post subject: Re: Z-Z-Zombies!
PostPosted: Fri Feb 24, 2012 6:40 pm 
Offline
User avatar

Joined: Sat Oct 22, 2011 1:25 pm
Posts: 4
Location: Sweden
armper wrote:
...

Woah! That's one fancy crash log. :shock: Can't really read anything into it though... :|

Did it occur at startup or when?
Also, has it occurred when running other Slick-games?

Sorry for the late reply, and thanks for reporting the error!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group