Build & Defend -- A Tale of Survival

Hi all :slight_smile:

I am currently working on the water physics. It’s not done yet, but it is already pretty cool.

Here is a picture of the world after a fall of meteorites.

http://shlum.wtfcontent.com/screen/alpha3/screen_19.png

Ps: Water will probably part of the next release.

Also, I created a web site for the game : http://buildanddefend.com/

Enjoy

As I said, some time the server get over loaded and do times out.
Try again or download the stand-alone version of the game :slight_smile:

I downloaded the jar today and ran. I got to the title/login screen, but clicking any of the buttons did nothing. Exited and tried again, and got this exception:


Exception in thread "main" java.lang.NullPointerException
	at Texture.TextureLoader.getTexture(TextureLoader.java:315)
	at Terrain.Water.init(Water.java:43)
	at Terrain.Cell.init(Cell.java:319)
	at Achoum.Main.init(Main.java:323)
	at Achoum.Main.start(Main.java:593)
	at Achoum.LocalLuncher.startContext(LocalLuncher.java:44)
	at Achoum.LocalLuncher.main(LocalLuncher.java:27)

Looks really good, though.

I downloaded and ran the jar, got the lwjgl frame come up, but then it just shut back down again, do I need to be using a specific version of Java? What could the problem be?

same problem over here, i click file, than a frame comes up than it closes after a second.

You guys should look for a stack trace by running the jar from the command line.

I’m interested to know how large scale liquid simulation is handled over the network? how are all the clients and server sync’d? I mean, you don’t want to send the position of each cube of water from the server if there are too many, it would be better just to make sure that the clients and server are running at the same frame rate and at a similar frame number in the simulation?
can anyone give me some links to check out?

thanks

When running the game from the website, it doesn’t load and I get the following:

An error occurred while loading the applet. Please contact support to resolve the issue. This occurred while ‘Downloading packages’

The console also shows this:

invalid entry size (expected 237633544 but got 0 bytes)
java.util.zip.ZipException: invalid entry size (expected 237633544 but got 0 bytes)
	at java.util.zip.ZipInputStream.readEnd(Unknown Source)
	at java.util.zip.ZipInputStream.read(Unknown Source)
	at com.sun.deploy.net.HttpDownloadHelper.decompressWrite(Unknown Source)
	at com.sun.deploy.net.HttpDownloadHelper.download(Unknown Source)
	at com.sun.deploy.cache.Cache$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.sun.deploy.cache.Cache.downloadResourceToCache(Unknown Source)
	at com.sun.deploy.cache.DeployFileOutputStream.close(Unknown Source)
	at java.io.FilterOutputStream.close(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.close(Unknown Source)
	at org.lwjgl.util.applet.AppletLoader.downloadJars(AppletLoader.java:1501)
	at org.lwjgl.util.applet.AppletLoader.run(AppletLoader.java:874)
	at java.lang.Thread.run(Unknown Source)

Hope this isn’t hard to fix, I really want to play this game. Though I guess I can just download it. :stuck_out_tongue:

I’ve had this exception numerous times before. Are you using Java 7?

This seems like a glitch with the way Java caches and after showing kappaOne, he patched AppletLoader to force Java not to cache.

@OP Use LWJGL 2.8.4 for these patches.

tried that and got an IllegalStateException in the thread “main”. -> function not supported.

Must mean that your system doesn’t have the right OpenGL version, get a good graphics card!

Yeah, I’m using Java 7.

Hah, I was thinking it was probably that. And well, my vaio laptop broke a couple of months ago. So i had to dig out these desktop pieces out of my closet and build myself a crappy computer with components from like 2000-2005.

I am getting a new laptop in two weeks with Nvidia Geforce GTX or GT, most likely in the 600 or 500 series GPU and a 3rd gen intel i7 CPU or 2nd gen i5 CPU.
This laptop is going to be a beast in comparison with my old sony vaio that was running on integrated GPU and a I believe Intel duo core CPU or something like that. the clockspeed wasn’t so great. Can’t wait, I will massively spam these forums trying out all these demos and WIPs. ;D

Worked perfectly fine for me ;D Very fun game but I found out that I am NOT a builder :stuck_out_tongue: Running java 7 with the download and runs fine.

Hi Java Gamers,
I am pleased to announce you the new version of Build and defend. I had a lot of new features (and remove a lot of bugs).
There are also a lot of news features to come very soon.
The url is: http://buildanddefend.com

The news features include :

  • Bosses
  • New monsters
  • New items
  • New turrets
  • Wood harvesting
  • Pet companions
  • Custom characters
  • Dungeon instance

I hope you will enjoy it.

http://buildanddefend.com/screen/alpha%205/4.png

I made a small video to present the Building mode.
The next video will be about the Survival mode, I promise!

Link http://www.youtube.com/watch?v=IoJ_LHEiPhY&hd=1

Sorry I don’t really have much of substance to say, but just had to comment that your game just looks & feels (visually) so great (and I love the overall concept). I’m sure you’re going to get a lot of that, and I have no doubt this will be a hit. Best wishes.

Tried to run on Mac OS X:


java.lang.Exception: Can't create the frag shader TransparentTerrain2
	at i.g.a(Unknown Source)
	at Achoum.e.e(Unknown Source)
	at Achoum.e.l(Unknown Source)
	at Achoum.e.x(Unknown Source)
	at Achoum.LocalLuncher.a(Unknown Source)
	at Achoum.LocalLuncher.main(Unknown Source)
Loading: net.java.games.input.OSXEnvironmentPlugin
Init static object
Exception in thread "main" java.lang.NullPointerException
	at i.b.e(Unknown Source)
	at c.i.f(Unknown Source)
	at Achoum.e.q(Unknown Source)
	at Achoum.e.x(Unknown Source)
	at Achoum.LocalLuncher.a(Unknown Source)
	at Achoum.LocalLuncher.main(Unknown Source)

Hi :),

It’s been a while.

I added at lot of features since the last post. This includes (but not only):

  • randomly generated bosses
  • fully operational on-line playing
  • new bosses
  • new monsters
  • an agriculture system
  • some littles workers you can give orders to (such as farming, woodcutting, of fighting)
  • you can submit your “stories” online
  • etc.

I hope you will enjoy this new version :slight_smile:

In bonus, some screen-shots:

http://buildanddefend.com/screen/alpha%207/03.png

http://buildanddefend.com/screen/alpha%208/01.png

http://buildanddefend.com/screen/alpha%205/3.png