Slick Forums

Discuss the Slick 2D Library
It is currently Tue Sep 17, 2019 10:42 pm

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Fri May 06, 2011 5:52 pm 
Offline

Joined: Thu Jun 03, 2010 10:29 pm
Posts: 18
Name: Android War: Human last defense [old name]defend us from androids[/old name]
Theme: android are not always friends of our world

The game is a strategy game, more specifically a tower defense game. In the near future technology is not controlled by humanity anymore, they can take their own choices, and the consequences were terrible. Now, what could help us? maybe just the same technology that is destroying us...

Technology: Slick, everything is done from scratch

Log:
enemies AI (pathfinding),
towers AI (find the first enemy),
collision (bullets fired by towers collidin to enemies),
and some other stuff...
the game is almost finished

for some crazy reason I used a old version of slick to build my game :(
but it works, have fun... it's not finished and if you found any bug tell me please.

link download: http://www.4shared.com/file/0ZNX8Pqw/android_war_human_last_defense.html

I live in brazil so it's still day 15 ;)


I have a doubt: can I host/post the game at gamejolt for this contest?
and if anyone has a better name to my game and I thank you if give me a hint haha :)


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 19, 2011 1:52 pm 
Offline
User avatar

Joined: Fri Sep 25, 2009 1:50 pm
Posts: 80
Hi,
i can't play it on win7(64bit) or linux(64bit). Can you update your lgwl and slick libraries - or release the source code?


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 19, 2011 6:47 pm 
Offline
Game Developer

Joined: Sun Nov 12, 2006 11:18 pm
Posts: 890
Location: Germany
Same for me on Windows 7 32bit.
The game starts, I click on Start and as soon as I click on Easy, Medium or Hard I'll get a NPE.

Code:
Thu May 19 20:45:49 CEST 2011 ERROR:null
java.lang.NullPointerException
        at towerdefense.engine.EventManager.update(EventManager.java:127)
        at towerdefense.engine.TD.World.update(World.java:295)
        at towerdefense.engine.TD.Game.update(Game.java:88)
        at towerdefense.gamestates.Play.update(Play.java:49)
        at org.newdawn.slick.state.StateBasedGame.update(StateBasedGame.java:268
)
        at org.newdawn.slick.GameContainer.updateAndRender(GameContainer.java:65
7)
        at org.newdawn.slick.AppGameContainer.gameLoop(AppGameContainer.java:408
)
        at org.newdawn.slick.AppGameContainer.start(AppGameContainer.java:318)
        at towerdefense.Main.main(Main.java:57)
Thu May 19 20:45:49 CEST 2011 ERROR:Game.update() failure - check the game code.

org.newdawn.slick.SlickException: Game.update() failure - check the game code.
        at org.newdawn.slick.GameContainer.updateAndRender(GameContainer.java:66
3)
        at org.newdawn.slick.AppGameContainer.gameLoop(AppGameContainer.java:408
)
        at org.newdawn.slick.AppGameContainer.start(AppGameContainer.java:318)
        at towerdefense.Main.main(Main.java:57)


Hope that helps to fix the issue :wink:

_________________
Right Angle Games | Marte Engine
Back to the past | Star Cleaner | SpiderTrap


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 19, 2011 8:18 pm 
Offline
Slick Zombie

Joined: Wed Apr 02, 2008 1:32 pm
Posts: 1340
Location: Italy
same problem here with win xp sp3 32 bit and java 6 :(

_________________
Blog | Last game Drone Swarm


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 20, 2011 5:19 am 
Offline

Joined: Tue Jul 06, 2010 5:44 pm
Posts: 54
- Presentation: 0/5
- Innovation: 0/5
- Fun: 0/5
- Theme: 0/5
- Overall: 0/5

Feedback: Not running, I think you're missing some libraries for 64 bits system. (will update scores as you fix it)

java -Djava.library.path=natives -jar towerde
fense.jar

Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\<changed>\
Tower Defense\natives\lwjgl.dll: Can't load IA 32-bit .dll on a AMD 64-bit platf
orm
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1728)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at org.lwjgl.Sys$1.run(Sys.java:72)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:65)
at org.lwjgl.Sys.loadLibrary(Sys.java:81)
at org.lwjgl.Sys.<clinit>(Sys.java:98)
at org.lwjgl.opengl.Display.<clinit>(Display.java:129)
at org.newdawn.slick.AppGameContainer$1.run(AppGameContainer.java:39)
at java.security.AccessController.doPrivileged(Native Method)
at org.newdawn.slick.AppGameContainer.<clinit>(AppGameContainer.java:36)

at towerdefense.Main.main(Main.java:53)

Btw, I'm from Brazil too, if you need any help send me an e-mail (found on entry info) and I can see if I can help you.


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 21, 2011 11:36 am 
Offline

Joined: Sun Mar 27, 2011 6:44 pm
Posts: 87
Location: Finland
0
Did not work.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 25, 2011 1:26 am 
Offline

Joined: Thu Jun 03, 2010 10:29 pm
Posts: 18
so sorry for the errors people, my job got all my time, and i couldn't solve some problems at this project, and I used a old slick version and everuthing went bad.

I will post the source-code it's simplest way to solve this, beacause I have no more time for this project. if someone tries to learn something with the source-code maybe will forgot how to program, the code is a real mess. But I hope you will enjoy the game :)

http://www.4shared.com/file/3lrTZ82d/human_last_defense.html


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 6 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:  
cron
Powered by phpBB® Forum Software © phpBB Group