MagicWoods - new version of MagicWoods

If anyone is interested in next version of RPG MagicWoods, it’s all here: Some screenshoots:
new menu:
http://magicwoods.50megs.com/pictures/10.jpg
deep forest, dawn effect and new HUD:
http://magicwoods.50megs.com/pictures/11.jpg
http://magicwoods.50megs.com/pictures/12.jpg

EDIT: Pages have been moved here:
http://hvor.madpage.com/magicwoodslwjgl.htm

No time for webstart, you have to have Java3d and jar or zip:
http://hvor.madpage.com/versions/mwoods.jar
http://hvor.madpage.com/versions/mwoods.lzh

All other info is on http://magicwoods.50megs.com

Hi everyone!

;D BIG improvements in latest version of MagicWoods:
(sounds,new grass,stones,flowers, enemy werewolf,breakable trees…)
some new screens:
http://hvor.madpage.com/screenshots.htm

Try webstart at JGF (but I occasionally have some problems):
http://javagamesfactory.org/jnlp/MagicWoods/alpha.jnlp
Or download JAR:
http://hvor.madpage.com/versions/mwoods.jar

I would appreciate any feedback, FPS on different platforms, suggestions… tnx!

All other info is on http://hvor.madpage.com

running linux here, can’t seem to get the game working, it says physics created and the splash screen just stays there, and theres a small blue window in the top corner of the screen, and thats it, escape quiets!

Hmmmm… That’s my problem sometimes when I test jnlp… Don’t know who is guilty - my code or something else…
f you want, grab .jar file and

java -jar mwoods.jar

should run the game…

Sorry for bad first version. Now the problem with Loader class is removed. :’(

Hi!
I have made some performance changes (mainly with spell system), so the game should now run smoother on slower comps.

Try webstart at JGF :
http://javagamesfactory.org/jnlp/MagicWoods/alpha.jnlp
Or download JAR at:
http://hvor.madpage.com/versions/mwoods.jar

Hvor, you really need to use a 3rd party webstart extension for java3d. If you can tell me precisely which version of j3d you need (note: this is critically important :)) I’ll try and find the right one and add it as an option on JGF.

Of course, it would be better if the j3d authors would just login and setup j3d themselves, but I don’t mind doing this myself.

As it stands, I believe it will “only work on computer with a particular version of java3d already installed”, although I could be wrong.

You also need to explicitly state your “main-class” - when you’re in the edit-version page where you can upload JAR’s, there’s a box for this just underneath the main list of JAR’s.

Sorry about this - it’s a silly “feature” (yeah, right) in Sun’s webstart client :(.

Until you do, people will keep getting:


Could not find main-class mwoods.MagicWoods in http://javagamesfactory.org/attachments/game/MagicWoods/alpha%2F42%2Fvecmath.jar

because of the way the Sun webstart client works.

/me notes that some basic instructions on creating games on JGF would be a good idea. There’s only one or two gotchase like this one, but one or two != 0 :(.

blablablah, I stated my main class explicitly ,but web start tried to find my mwoods.MagicWoods class in j3dutils jar… It seems to me that it’s important the order of uploading additional jars. I’m working on it just now.
As for java3d, I am using 1.3.1 version…

[quote]blablablah, I stated my main class explicitly ,but web start tried to find my mwoods.MagicWoods class in j3dutils jar… It seems to me that it’s important the order of uploading additional jars. I’m working on it just now.
As for java3d, I am using 1.3.1 version…
[/quote]
I’ll double-check tonight/tomorrow that I haven’t broken it (it could all be my fault!), but the order-of-jars thing is webstart’s fallback mode, where it only looks in the very first jar file for a main-class attribute. IIRC one “solution” is for you to put your manifest inside every file, and that “just works” - but let me check the explicit main-class stuff because that would be less hassle for you (you wouldn’t need to re-upload anything)

Seems to be working fine AFAICS.

I have also added the following Java3D options:

  • 1.3.1
  • 1.3.2 (recommended?)
  • 1.3.x (gives you the highest “x” available, currently “2” - not recommended)
  • 1.4 experimental (the alpha release of 1.4)

They should all just work, but let me know if you ahve any problems :slight_smile:

Loading TEXTURES......
Exception in thread "Thread-10" java.lang.UnsatisfiedLinkError: no j3dcore-ogl in java.library.path
      at java.lang.ClassLoader.loadLibrary(Unknown Source)
      at java.lang.Runtime.loadLibrary0(Unknown Source)
      at java.lang.System.loadLibrary(Unknown Source)
      at javax.media.j3d.MasterControl$6.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.media.j3d.MasterControl.loadLibraries(Unknown Source)
      at javax.media.j3d.VirtualUniverse.<clinit>(Unknown Source)
      at javax.media.j3d.TransformGroupRetained.setTransform(Unknown Source)
      at javax.media.j3d.TransformGroup.setTransform(Unknown Source)
      at mwoods.HUD.setupBars(HUD.java:215)
      at mwoods.HUD.<init>(HUD.java:68)
      at mwoods.Renderer.<init>(Renderer.java:46)
      at mwoods.MagicWoods.loadGame(MagicWoods.java:209)
      at mwoods.Menu$SingleLauncher.run(Menu.java:354)

Same here … didn’t see the J3D extension …

[quote]Same here … didn’t see the J3D extension …
[/quote]
(yeah, hvor needs to log in and add it ;))

Sorry guys, I was on vacation and until now I didn’t have comp around… I just updated latest version at JGF, and it’s working with Java3D. Blahblahblah, good job! :smiley:
More is coming soon…

Hey, I could play it this time.

You should really use texture-mipmapping. It doesn’t only look better, it’s also a lot faster.

Every time I ‘fired’ (mouse click) I saw those particles moving away, but the ground got darker too. After fireing a few times the whole world was black.

You are right about mipmapping. I’m working on it for next version. But this “dark world” thing confuse me… I didn’t notice it ever, especially not after firing a spell. I will check it out, though. (you are not talking about usual day-night cycle wich I implemented)
Which platform are you running?

Tried MW today for the first time…

Exception occurred during Behavior execution:
java.lang.IllegalArgumentException: Requested value 7.5771856 exceeds allowable maximum value 6.0206.
at javax.sound.sampled.FloatControl.setValue(Unknown Source)
at com.sun.media.sound.DirectAudioDevice$DirectDL$Gain.setValue(Unknown Source)
at mwoods.Sound.playSound(Sound.java:84)
at mwoods.Renderer$CameraBehavior.processStimulus(Renderer.java:633)
at javax.media.j3d.BehaviorScheduler.doWork(Unknown Source)
at javax.media.j3d.J3dThread.run(Unknown Source)

after which all control was frozen, though Esc still exited.

Exception in thread "Thread-10" java.lang.NoClassDefFoundError: com/mnstarfire/loaders3d/Loader3DS
	at mwoods.WoodsSpiritMonster.<init>(WoodsSpiritMonster.java:45)
	at mwoods.MagicWoods.startGame(MagicWoods.java:269)
	at mwoods.MagicWoods.loadGame(MagicWoods.java:226)
	at mwoods.Menu$SingleLauncher.run(Menu.java:354)

swpalmer and Riven,
I would like to know did you start MagicWoods via webstart (from JGF) or you just downloaded my .jar file and tried to run it? If that is the case,
Riven: This smells like path problem, I’ll check how it could happen to you (and not to me)
swpalmer: Strange error, connected with playing sounds… hm… will look at it…