Army Men - a 3do fangame!

I’ve been working on a first person shooter called First Recon for a few months now. Yesterday, however I had a sudden urge to make an Army Men styled game :slight_smile:

So… This is what I’ve been working on… for a day ;D

Controls:

  • Left Mouse - shoot
  • Right Mouse - aim
  • WSAD - movement
  • Space - jump
  • C - crouch
  • ALT - unlink camera rotation from player
  • E - spawn bot player
  • O - spawn decal
  • T - talk (remnant from first recon engine)
  • Y - spawn shadowed light

Download:
Mediafire

Known Bugs:

  • Some sounds start off staticky
  • Camera sometimes glitches when aimed
  • Player animations aren’t smoothed

Team:

  • Andrew Hamilton - Lead Developer
  • TheAgentD - Shader Programmer
  • Adam Pasek - Lead Graphics Artist
  • Roland La Goy - Lead Sound Developer

Don’t be too harsh :x This is only the second game I’ve written in lwjgl. <3

Older Pics:

Whatever this thing is, looks neat. :wink:

I like the style and the idea of being a little “plastic soldier” in a big room :slight_smile:
The first picture reminds me of the Kids Room in Lego Movie Videogame :stuck_out_tongue:

Looks great :slight_smile: Reminds me a bit of a tower defense game I loved: http://www.signalstudios.net/games/toy-soldiers-complete

It’s supposed to be more like Mission 10 of Army Men Sarge’s Heroes 2 :stuck_out_tongue:

https://yuq.me/games/screencaps/14/160/14160_2.png

I don’t know that game…
I just played Lego Movie Videogame a few month ago and there you are also only a little toy (a lego-man^^) in a “normal” human room.
So your game reminded me about that, even if the art-style is different.
Anyways, it looks cool so far :slight_smile:

A thought just occurred.

While I most likely would never develop this game to the point of sale, if I did, would I be able to sell it? 3DO went bankrupt almost 10 years ago, and there hasn’t been an Army Men game since Army Men: Major Malfunction (2006); which was produced by Global Star Software (they bought the rights to Army Men). A mobile game called Army Men: Mobile Ops was released in 2010 by some random company, and they don’t seem to be in any legal debacle.

Well with rights… someone always has them.
Unless it’s sherlock holmes and a 100 years old, someone has the rights, in doubt this would be Trip Hawkins I guess

I can only assume the mobile game devs either licensed it very cheaply or asked them. probably just a super cheap deal.

if you can get in touch with anyone there you might be able to strike a deal like that.

Not sure how many people would be attracted by the name army men though. Granted we remember it, but thats probably all… is that enough ? well if the deal is cheap…

Doing it without being allowed is a big gamble…

If Global Star Software actually bought it entirely, then it’s 2K’s property…

I had two issues with this game. One is a minor visual one and can be seen here: http://jpct.de/pix/army.jpg

The other is that every now and then, the screen flickers. It looks like as if the camera renders the scene from another position for a single frame. It’s hard to explain, so i captured it in a video: http://jpct.de/pix/army.m2v

System is a Core i7 @ 4Ghz, Windows 7 64bit, Geforce GTX 680 (latest official drivers)

Hope this helps!

I believe that first bug has to do with the directional light shader – I’ll pass that on to TheAgentD :slight_smile:

That second bug is something I’m aware of, I’ll try to that fixed as soon as possible!

I’m getting this when I run on my mac.


Sris-iMac:ARMY MEN harsha$ java -Xmx1G -Xms1G -jar "Game.jar" nogui
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00000001054261af, pid=704, tid=3335
#
# JRE version: Java(TM) SE Runtime Environment (8.0_20-b26) (build 1.8.0_20-b26)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.20-b23 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# V  [libjvm.dylib+0x4261af]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/harsha/Downloads/ARMY MEN/hs_err_pid704.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#
Abort trap: 6
Sris-iMac:ARMY MEN harsha$ 

But works on windows, looks awesome.

Oh, you’re right… It doesn’t work on my mac either. I’ll check that out! :slight_smile:

[EDIT 1]
I can get it to work though eclipse on my mac, and /sometimes/ by double clicking the JAR directly. However, I can’t seem to get it to run through terminal. I’ll keep working on it!

[EDIT 2]
There’s a new update available.

Changes:
-Fixed the camera shaking
-Fixed most (if not all) cases where the climbing animation doesn’t work properly.
-Changed the color of the green soldier slightly
-Rockets now collide with soldiers (they don’t do damage yet)

My artist made some new book models :slight_smile:

Not quite. There’s still some shaking for me when pressing the right mouse button (i.e. zooming) in some situations (for example when standing left of the keyboard aiming at the computer).

Very impressive demo, nice job! Some of the edges of your sky box cube map are visible as black lines by the way! :slight_smile:

Alright, I believe it is now all fixed! :slight_smile:

Changes:

  • I believe I have fixed most/all occurrences of camera shaking
  • I added a new test level
  • holding ALT key unlocks the camera rotation from the player

Thanks for the compliment! :slight_smile:
Yah, the cube map texture is just something I pulled off of google for the time being :stuck_out_tongue:

Turn off your forced Antialiasing through the NVidia Control Panel. We have the same GPU; I only get those rings around the shadows when I have it forced on 16x AA.

New Update :wink:
Link

Changes:

  • Created new test level (bathroom setting)
  • Added some temp enemies
  • You can kill soldiers by shooting them (unfinished)
  • Enemy soldiers can kill you
  • Changed green soldier color
  • Changed tan soldier color
  • Added a small animation when you first start to shoot (whilst standing)
  • You can no longer run while aiming your gun
  • Worked on climbing animation
  • Increased max size of shadow map resolution

o/

just a tiny bit of feedback :

  • option screen, labels, white text on cyan background is ok but green-on-cyan-onmouseover is hard to read.
  • option for master volume would be really nice, sound comes in very loud on my “regular” setup.
  • starting a game, going into settings does not allow going back to game (?), would be nice tho’ :slight_smile:
  • got a few [icode]java.lang.NullPointerException[/icode], around [icode]net.mantagames.anarchyengine.model.VBOModel.getVertex[/icode]
  • ARB Debug spams alot, after asking for ultra-shadows + SSAO, or shadows+textures on ultra. i guess a [icode]GL_OUT_OF_MEMORY[/icode] caused a [icode]GL_INVALID_FRAMEBUFFER_OPERATION[/icode]
  • running-animation, could use interpolation. looks like it plays at 15 hz while the screen renders at 60 hz.

anyway, thats just minor stuff.

other then that, good job! keep it up ;D

I’ve been meaning to change those menu buttons all together; they’re from First Recon which has a more cyan-colored menu theme.

Can do! :slight_smile:

I’ll make it so “esc” doesn’t send you back to the titlescreen, and instead opens up a pause menu.

I haven’t seen this error in quite awhile. Would you happen to have a full stacktrace?

Hmm… I don’t seem to be getting this debug error. I suppressed a few of the ones my machine was having (due to the newest version of my graphics drivers). I’ll look into it! :slight_smile:

Yah, I’ll be sure to add in player animation smoothing soon!

Thanks for the feedback!

sweet!

the nullpointers come up after the out of memory on the gpu, so it’s probably just a side-effect-error. wouldn’t worry too much about it. if i get a out of memory and a incomplete framebuffer, the game should just exit :slight_smile:

tho’, now i just started the game a couple times (play, esc, play, esc, play, esc, play, NPE) :

java.lang.NullPointerException at net.mantagames.anarchyengine.model.VBOModel.getVertex(VBOModel.java:465) at net.mantagames.anarchyengine.model.collisions.CollisionHelper.collision_ray(CollisionHelper.java:217) at net.mantagames.armymen.world.entity.player.EntityPlayer.getDistanceToGround(EntityPlayer.java:352) at net.mantagames.armymen.world.entity.player.EntityPlayer.doCollisionFloor(EntityPlayer.java:213) at net.mantagames.armymen.world.entity.player.EntityPlayerController.playerLogic(EntityPlayerController.java:268) at net.mantagames.armymen.world.entity.player.EntityPlayerController.tick(EntityPlayerController.java:117) at net.mantagames.armymen.world.World.update(World.java:207) at net.mantagames.armymen.Game.update(Game.java:72) at net.mantagames.armymen.Client.update(Client.java:236) at net.mantagames.anarchyengine.Core$GameTickRate.run(Core.java:300) at java.lang.Thread.run(Thread.java:745)
VM exited after that one.

doing the same i ran into another out of memory, again play, esc, play, esc, play, esc :

[LWJGL] ARB_debug_output message ID: 1285 Source: API Type: ERROR Severity: HIGH Message: GL_OUT_OF_MEMORY error generated. Failed to allocate memory for texture. Post processing pipeline: [net.mantagames.anarchyengine.post.MergeProcessor@1d79791, net.mantagames.anarchyengine.post.BloomRenderer@11fe8ed, net.mantagames.anarchyengine.post.ToneMapper@1f55379, net.mantagames.anarchyengine.post.FXAAProcessor@13b3625] Error occured: An OpenGL error occured while creating the new LightingEngine object.: Out of memory java.lang.Exception: Stack trace at java.lang.Thread.dumpStack(Thread.java:1365) at net.mantagames.anarchyengine.etc.GLUtil.checkError(GLUtil.java:14) at net.mantagames.anarchyengine.RenderEngine.<init>(RenderEngine.java:129) at net.mantagames.armymen.world.World.loadWorld(World.java:119) at net.mantagames.armymen.Client$2.execute(Client.java:115) at net.mantagames.anarchyengine.World.doTasks(World.java:23) at net.mantagames.armymen.world.World.draw(World.java:233) at net.mantagames.armymen.Client.draw(Client.java:242) at net.mantagames.anarchyengine.Core.startGameLoop(Core.java:178) at net.mantagames.armymen.Client.<init>(Client.java:77) at net.mantagames.armymen.Client.main(Client.java:313)

and lots of [icode]GL_INVALID_FRAMEBUFFER_OPERATION[/icode] afterwards …

my guess is, you allocate textures (or maybe vbo’s) but do not free them when restarting the game. tho’ my nvidia driver is at verion 335.23, could use an update :slight_smile: