RobotCity by ahm99

[raw]
made by ahm99 for LD24 (COMPO)
I didn't have time to add controls to the page the game is on. So I will put them on this page till tomorrow maybe. I might also upload a timelapse.

=======================
===GAME IS FIXED NOW===

==Java 7 required==

If you download the source it should include a compile.bat file so you mess with the code more easily. The code is somewhat messy because I started panicking when time was running out.

Why I made this:
I was thinking about a game where it would be a top down robot shooter where you character would evolve into something bigger and has more guns. Then I decided you should maybe be in space flying from planet to planet getting things to prepare for a big planet where you get a device that basically lets you evolve into a dog and then it shows you 3 years before saying "I wanna be a dog" - the end

But I realized it was stupid and I would've run out of time anyway. So I tried making a city building game where your city evolves as you defend it. There was supposed to be bosses and different enemy types and they would attack in waves but I ran out of time. You will find the extra images in the source. I also tried making workers go from place to place doing the jobs as enemies killed them with you defending. But I didn't have time to fix the bugs. There supposed to be a larger map too. Try imagining what it should've been like and then go play it and realize how bad it is. I may make a post compo version.

CONTROLS:
Control - switch between fire and build mode
Click - Place building/Shoot
W/S forward and backward
A/D turn robot when in build mode (in fire mode it follows your cursor)

Other instructions:
Shoot the other robots.
There are three building types:
Miner - gets stone to make more mines houses and farms
Farm - makes food
House - (you only need one of these, but you must have at least one) makes workers for every 5 food
The only purpose of buildings is to increase score.

Ratings

Coolness 36% 791
Overall 1.94 743
Audio 1.57 562
Fun 1.56 744
Graphics 1.88 710
Humor 1.42 586
Innovation 1.88 723
Mood 1.46 684
Theme 1.81 698

Feedback

Thurig
27. Aug 2012 · 05:28 UTC
Here is the error I get when I try to start your game:
com.apple.JarLauncher: java.lang.UnsupportedClassVersionError: ld24/ahm99/evolution/EvolutionApplet : Unsupported major.minor version 51.0
geekygenius
27. Aug 2012 · 06:03 UTC
D: It says I'm too lazy..
DustyStylus
27. Aug 2012 · 09:18 UTC
Same here, I'm too lazy. D:

I think about 1 second before that happened.
firehand94
27. Aug 2012 · 09:36 UTC
I'm going to guess you didn't cap the fps, or make the speed at which everything moves based off fps so simply put the game runs waaaaay to fast on my main computer. then On the slowest computer I own it just doesn't run.
adventureloop
27. Aug 2012 · 09:51 UTC
I get the same error as above
🎤 ahm99
27. Aug 2012 · 20:56 UTC
To reply to everyone:
The too lazy thing was referring to myself. It was actually not laziness. I ran out of time and couldn't add a click to replay feature. And no the fps wasn't caped. I didn't mean to do that. I just ran out of time. If anyone knows if I'm allowed to fix that please say so.

One last thing: I gave the wrong link accidentally because I posted this in a hurry as I had to leave.
Tempest
28. Aug 2012 · 19:39 UTC
Will try to play/rate later. Right now I'm getting the same error as Thurig.
🎤 ahm99
28. Aug 2012 · 20:01 UTC
Are you on a mac?
turnip
28. Aug 2012 · 22:40 UTC
On a Mac got the same error as above :(
pjchardt
28. Aug 2012 · 22:43 UTC
As others have mentioned, I see nothing and then (I guess?) die. I am running chrome, windows 7.
Sergey Mohov
28. Aug 2012 · 23:54 UTC
Error...
🎤 ahm99
29. Aug 2012 · 01:52 UTC
Guys I'll make a post compo version that fixes these basic things. As for the error I think it has something to do with being on a mac
Fsmv
29. Aug 2012 · 17:21 UTC
I also can't play, it just makes a bunch of noise then says I have to reload to play.
juaxix
30. Aug 2012 · 00:46 UTC
I have tried with Java jre 1.6 and 1.7, both drop the same...and another -different- error,

---------------------------
Could not find the main class: ld24.ahm99.evolution.EvolutionApplet. Program will exit.
lurkingshadow
31. Aug 2012 · 10:56 UTC
after loading the game dos not do anything???
Viridi04
01. Sep 2012 · 21:10 UTC
I cannot get this game to work on the web or on my Windows.
goffmog
01. Sep 2012 · 21:17 UTC
Well I hear a crazy rapid repeating beeping noise and in about a second I'm told it's game over, without seeing anything obviously happen. I'm pretty sure it's within the rules for you to fix the bug and re-upload but it's pushing it a little to ask players to fix your bug for you :) Please at least upload a bugfixed version and I'll play and rate it.
kratorspore
01. Sep 2012 · 21:26 UTC
Java Plug-in 1.6.0_33
Using JRE version 1.6.0_33-b03-424-11M3720 Java HotSpot(TM) 64-Bit Server VM
User home directory = /Users/sam
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------


java.lang.UnsupportedClassVersionError: ld24/ahm99/evolution/EvolutionApplet : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:217)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.plugin2.applet.Plugin2ClassLoader.defineClassHelper(Plugin2ClassLoader.java:1017)
at sun.plugin2.applet.Plugin2ClassLoader.access$100(Plugin2ClassLoader.java:68)
at sun.plugin2.applet.Plugin2ClassLoader$2.run(Plugin2ClassLoader.java:994)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Plugin2ClassLoader.java:958)
at sun.plugin2.applet.Applet2ClassLoader.findClass(Applet2ClassLoader.java:134)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Plugin2ClassLoader.java:249)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:179)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:160)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Plugin2ClassLoader.java:678)
at sun.plugin2.applet.Plugin2Manager.createApplet(Plugin2Manager.java:3045)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.java:1497)
at java.lang.Thread.run(Thread.java:680)
Exception: java.lang.UnsupportedClassVersionError: ld24/ahm99/evolution/EvolutionApplet : Unsupported major.minor version 51.0
Cyboot
01. Sep 2012 · 21:28 UTC
it needs java7 (tried it with java6 first, but got the same error)
i ran it on a smaller linux machine, so I am not sure if thats the problem: the Game/player is sooooooo slow. It stands almost still.
panda
04. Sep 2012 · 03:54 UTC
I like the idea, but could not start the game - it froze the browser on my mac.
Raptor85
08. Sep 2012 · 03:45 UTC
same error, applet never init's so cant test
🎤 ahm99
10. Sep 2012 · 22:27 UTC
Ok it's been fixed. You need java 7 to play.
michax
11. Sep 2012 · 00:55 UTC
Progress is a little slow.
🎤 ahm99
11. Sep 2012 · 22:03 UTC
I know. But I might do a redo of this. With everything that I wanted to accomplish.
Cthulhu
17. Sep 2012 · 20:48 UTC
The most common trap is to start a project far too ambitious!

I see what you wanted to make. Good job.