Warcraft Remake

I updated (it still 0.0.3) the applet, it should work fine with the mouse now.
I still have a nice black square over the cursor on MAC… but the game is as playable as on Ubuntu (at least on vmware).

Be sure to clean the Java cache, because (on Ubuntu) Java kept the cache, even I changed the JAR (I will search how to avoid that)

@gouessej : So, what are the main differences with OpenJDK in applet mode (in order to make it work nicely) (we can talk by PM)
I really would like to make it work everywhere, even if I have to changes something in my code (I’m seeking for the maximum portability with as much features as possible).

Sweet Home 3D is heavily tested under Mac, look at its source code, it might be interesting for you.

You can modify your HTML code so that the JAR is never stored in the cache, can’t you?

I will answer in PM.

Ok, I made another effort ;D
People can now play from:

  1. an off-line archive (in zip)
  2. a java web start (working fine with Open JDK on linux, also working on Mac)
  3. an embedded version inside brower (which may not work everywhere, so, prefer step 2 instead)

http://www.b3dgs.com/v5/projects/warcraft_remake/game/index.html

I hope this time nobody will experience any troubles.
Engine verbose is now visible directly from the console (debug only).
In case of error, game may continue to be executed if its not critical (no music, no sound…), else, it should advert properly the reason (in the console) and exit.

What a great job! I liked it very much!

Tried applet, everything wen ok. But after I just closed browser (Mozilla 8, Win XP) with applet, game is still running in background. I still hear music and sounds, java.exe process is consuming cpu…

But anyway, keep working! Looking forward :slight_smile:

This is awesome! Now my ignorance probably blinded me but there should me a control’s menu. I never really played Warcraft before so I got started then when I built the town hall my guy just disappeared, but as I said it is my own ignorance! :stuck_out_tongue: Hopefully Blizzard doesn’t shut this down I could see this going a long way!

To force the JVM to clean the cache, update to a newer version instantly, and use a separate JVM instance for each applet, use:


<applet ...... >
    <param name="separate_jvm" value="true" />
</applet>

Ah cool; thank you :slight_smile:

I updated to 0.0.7 now.
Nothing special, just a much lighter version (around 2MB instead of 4MB).