Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (120)
games submitted by our members
Games in WIP (577)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 [2]
  ignore  |  Print  
  Warcraft Remake  (Read 9300 times)
0 Members and 1 Guest are viewing this topic.
Offline DjThunder

Senior Duke


Medals: 4
Projects: 3


Byron 3D Games Studio


« Reply #30 - Posted 2012-01-17 19:06:14 »

 Lips Sealed You downloaded the wrong file  Grin

This is the last link I gave: http://www.b3dgs.com/v5/projects/warcraft_remake/game/index.html

The project page is not yet updated.
So I hope it will work for you with that one (it is Warcraft_Remake.jar, not WarcraftRemake.jar, so I'm sure you get the wrong file, as it is a ZIP, not a RAR)

Offline Damocles
« Reply #31 - Posted 2012-01-17 19:16:51 »

Ah, ok.
Runs now, thanks.

I used the link on the top of the topic.
Maybe you make a link there to the most recent version.

Offline kappa
« League of Dukes »

JGO Kernel


Medals: 78
Projects: 15


★★★★★


« Reply #32 - Posted 2012-01-17 20:11:48 »

Really nice and addictive.

One thing that is a bit annoying is the mouse grab, it should only be grabbed when in game (to allow scrolling) other than that there is no real reason it should be grabbed. It should therefore be released when on the menu's or when pausing the game. It should most importantly be released if the applet doesn't have focus (alt+tab) or on another tab in the browser.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline DjThunder

Senior Duke


Medals: 4
Projects: 3


Byron 3D Games Studio


« Reply #33 - Posted 2012-01-17 20:28:52 »

You can unlock mouse using CTRL.
To handle again, just click inside the frame.

I'm searching how to avoid Robot class... because it not perfect on Unix system (including Mac).
I don't know how to enable a free mouse move without having the one from the operatign system (basically, locking the mouse at the center and hidding it while I have the game cursor)

Is is possible to make a FPS game on java working fine on Mac & Lunix ? (without any mouse issues)

Offline gouessej
« Reply #34 - Posted 2012-01-17 20:33:16 »

What is the problem with Oracle Java ? You want to check the source code of java before execute it ?  Grin
Do you really plan to ask GNU Linux users to switch to Oracle Java just to play with your game? I remind you that only OpenJDK is available in official repositories. Moreover, encouraging GNU Linux users to switch to Oracle Java harms the reputation of OpenJDK and Java under this operating system because they will believe that OpenJDK is crappy whereas maybe a small effort could allow your game to work fine with it (like mine).

I have no problem with java.awt.Robot on Mac and GNU Linux, I don't see what you mean.

Edit.: It works fine with this:
java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.4) (fedora-24.b22.6.1.mga1-i386)
OpenJDK Client VM (build 20.0-b11, mixed mode)

Offline Damocles
« Reply #35 - Posted 2012-01-17 20:40:38 »

its a luckgame to run Applets and other stuff in OpenJDK.
Therefore its crappy.

Whats the advantage to the Enduser to have a free, but non working virtual machine.

Unity is also the official choice in the Ubuntu Repository, wich does not mean its any good.

Offline Nyhm

Senior Duke


Medals: 3
Projects: 1


Island Forge


« Reply #36 - Posted 2012-01-17 20:49:42 »

Oracle has chosen OpenJDK as the official reference implementation of the Java platform starting with Java 7.

I've also seen some differences when running my game between Sun/Oracle JDK and OpenJDK, but I'd really like OpenJDK to become the prominent Java environment, because it means that the community can contribute much more directly to improving the Java user experience (where Sun had, IMO, always dropped the ball). Then again, too many chefs...

Nonetheless, at the present time, I agree with Damocles.

Island Forge: Create Islands with Stories for Others to Explore!
Free-to-Play with Membership and Upgrade options!
Offline DjThunder

Senior Duke


Medals: 4
Projects: 3


Byron 3D Games Studio


« Reply #37 - Posted 2012-01-17 21:01:57 »

I have no problem with java.awt.Robot on Mac and GNU Linux, I don't see what you mean.

Ah, really ?
Perhaps it is because of vmware uses (I use vmware to try quickly my deploy on Linux, and the mouse is very strange when using Robot class to fix the mouse at the center)
So, I won't waste my time with that if its ok on your side !

About IcedTea, I would really appreciate if you told me how to make it work perfectly Smiley
I'm not restricted with open source or non open source. I just use what is working perfectly and what is available.

Anyway, thanks for the try !

Offline kappa
« League of Dukes »

JGO Kernel


Medals: 78
Projects: 15


★★★★★


« Reply #38 - Posted 2012-01-17 21:09:31 »

I don't know how to enable a free mouse move without having the one from the operatign system (basically, locking the mouse at the center and hidding it while I have the game cursor)
Just don't grab it, instead change mouse cursor image to the in game cursor image. No Robot needed then (except for grabbing).
Offline gouessej
« Reply #39 - Posted 2012-01-17 21:45:26 »

its a luckgame to run Applets and other stuff in OpenJDK.
Therefore its crappy.

Whats the advantage to the Enduser to have a free, but non working virtual machine.

Unity is also the official choice in the Ubuntu Repository, wich does not mean its any good.
I have used OpenJDK for several years even in commercial applications and I have no problem with it (or at least no problem that I don't already have with Oracle Java). The main differences between OpenJDK and Oracle Java are the handling of fonts and the high-level part of the JavaSound API. I don't want to dirty this thread but if something works bad with OpenJDK, write some bug reports as I did when I realized that exclusive full screen mode was (anew) broken in AWT under GNU Linux. Just show me at least one applet not working with OpenJDK as it seems obvious for you, I can give it a try immediately. You're right, packages in the Ubuntu Repository are not all fine but OpenJDK passed the TCK and has become the reference implementation of Java, it would not be the case if it was crappy. As I already said, the use of applets adds another "layer" between the operating system and the JVM, it has some consequences on the reliability, I have the same problems in applets with OpenJDK and Oracle Java. Saying that OpenJDK does not work is completely exagerated.

Edit.: Cave4k works fine here  Grin

I have no problem with java.awt.Robot on Mac and GNU Linux, I don't see what you mean.

Ah, really ?
Perhaps it is because of vmware uses (I use vmware to try quickly my deploy on Linux, and the mouse is very strange when using Robot class to fix the mouse at the center)
So, I won't waste my time with that if its ok on your side !
It's ok for me and I can even test it under several distros if you want. I don't advise you to use VMWare to perform your tests. Rather use dual boot.

About IcedTea, I would really appreciate if you told me how to make it work perfectly Smiley
I'm not restricted with open source or non open source. I just use what is working perfectly and what is available.

Anyway, thanks for the try !
You're welcome. Thank you for your great game. I feared that your sound system would work bad with OpenJDK but there is no problem yet. You should not have to modify your source code to allow OpenJDK to support your game.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline DjThunder

Senior Duke


Medals: 4
Projects: 3


Byron 3D Games Studio


« Reply #40 - Posted 2012-01-17 22:12:41 »

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).

Offline gouessej
« Reply #41 - Posted 2012-01-18 09:12:33 »

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).
Sweet Home 3D is heavily tested under Mac, look at its source code, it might be interesting for you.

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)
You can modify your HTML code so that the JAR is never stored in the cache, can't you?

@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).
I will answer in PM.

Offline DjThunder

Senior Duke


Medals: 4
Projects: 3


Byron 3D Games Studio


« Reply #42 - Posted 2012-01-18 14:11:59 »

Ok, I made another effort  Grin
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.

Offline asphaltgalaxy

Junior Duke


Medals: 1



« Reply #43 - Posted 2012-01-18 17:42:54 »

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 Smiley
Offline Sultan_GS

Senior Newbie





« Reply #44 - Posted 2012-01-18 21:18:39 »

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! Tongue Hopefully Blizzard doesn't shut this down I could see this going a long way!
Offline ra4king

JGO Kernel


Medals: 350
Projects: 3
Exp: 5 years


I'm the King!


« Reply #45 - Posted 2012-01-19 05:02:15 »

To force the JVM to clean the cache, update to a newer version instantly, and use a separate JVM instance for each applet, use:
1  
2  
3  
<applet ...... >
    <param name="separate_jvm" value="true" />
</applet>

Offline DjThunder

Senior Duke


Medals: 4
Projects: 3


Byron 3D Games Studio


« Reply #46 - Posted 2012-01-19 22:20:17 »

Ah cool; thank you Smiley

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

Pages: 1 [2]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Longarmx (52 views)
2014-10-17 03:59:02

Norakomi (42 views)
2014-10-16 15:22:06

Norakomi (33 views)
2014-10-16 15:20:20

lcass (37 views)
2014-10-15 16:18:58

TehJavaDev (68 views)
2014-10-14 00:39:48

TehJavaDev (66 views)
2014-10-14 00:35:47

TehJavaDev (59 views)
2014-10-14 00:32:37

BurntPizza (73 views)
2014-10-11 23:24:42

BurntPizza (45 views)
2014-10-11 23:10:45

BurntPizza (85 views)
2014-10-11 22:30:10
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!