Java-Gaming.org
Java4K winners:
[
by our judges
|
by the community
]
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members
News
: Read the
Java Gaming Resources
, or peek at
the official Java tutorials
Home
Help
Search
Login
Register
Java-Gaming.org
>
Games Center
>
Showcase
>
Warcraft Remake
Pages:
1
[
2
]
Print
Warcraft Remake
(Read 3509 times)
0 Members and 2 Guests are viewing this topic.
DjThunder
JGO n00b
Posts: 45
Medals: 4
Byron 3D Games Studio
Re: Warcraft Remake
«
Reply #30 on:
2012-01-17 14:06:14
»
You downloaded the wrong file
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)
Tyrian Remake
Warcraft Remake
Damocles
Sr. Member
Posts: 264
Medals: 14
Re: Warcraft Remake
«
Reply #31 on:
2012-01-17 14: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.
Griefer 4k
http://damocles11.byethost9.com/griefer4k.html
Cave 4k
http://damocles11.byethost9.com/cave4k.html
Kobold 4k
http://damocles11.byethost9.com/kobold.html
kappa
« League of Dukes »
JGO Kernel
Posts: 2360
Medals: 59
★★★★★
Re: Warcraft Remake
«
Reply #32 on:
2012-01-17 15: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! Go get 'em!
DjThunder
JGO n00b
Posts: 45
Medals: 4
Byron 3D Games Studio
Re: Warcraft Remake
«
Reply #33 on:
2012-01-17 15: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)
Tyrian Remake
Warcraft Remake
gouessej
JGO Kernel
Posts: 3560
Medals: 30
TUER
Re: Warcraft Remake
«
Reply #34 on:
2012-01-17 15:33:16
»
Quote from: DjThunder on
2012-01-17 11:15:57
What is the problem with Oracle Java ? You want to check the source code of java before execute it ?
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)
Julien Gouesse
Damocles
Sr. Member
Posts: 264
Medals: 14
Re: Warcraft Remake
«
Reply #35 on:
2012-01-17 15: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.
Griefer 4k
http://damocles11.byethost9.com/griefer4k.html
Cave 4k
http://damocles11.byethost9.com/cave4k.html
Kobold 4k
http://damocles11.byethost9.com/kobold.html
Nyhm
Full Member
Posts: 143
Island Forge
Re: Warcraft Remake
«
Reply #36 on:
2012-01-17 15: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!
DjThunder
JGO n00b
Posts: 45
Medals: 4
Byron 3D Games Studio
Re: Warcraft Remake
«
Reply #37 on:
2012-01-17 16:01:57
»
Quote from: gouessej on
2012-01-17 15:33:16
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
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 !
Tyrian Remake
Warcraft Remake
kappa
« League of Dukes »
JGO Kernel
Posts: 2360
Medals: 59
★★★★★
Re: Warcraft Remake
«
Reply #38 on:
2012-01-17 16:09:31
»
Quote from: DjThunder on
2012-01-17 15:28:52
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).
gouessej
JGO Kernel
Posts: 3560
Medals: 30
TUER
Re: Warcraft Remake
«
Reply #39 on:
2012-01-17 16:45:26
»
Quote from: Damocles on
2012-01-17 15: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.
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
Quote from: DjThunder on
2012-01-17 16:01:57
Quote from: gouessej on
2012-01-17 15:33:16
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.
Quote from: DjThunder on
2012-01-17 16:01:57
About IcedTea, I would really appreciate if you told me how to make it work perfectly
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.
Julien Gouesse
Games published by our own members! Go get 'em!
DjThunder
JGO n00b
Posts: 45
Medals: 4
Byron 3D Games Studio
Re: Warcraft Remake
«
Reply #40 on:
2012-01-17 17: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).
Tyrian Remake
Warcraft Remake
gouessej
JGO Kernel
Posts: 3560
Medals: 30
TUER
Re: Warcraft Remake
«
Reply #41 on:
2012-01-18 04:12:33
»
Quote from: DjThunder on
2012-01-17 17: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).
Sweet Home 3D is heavily tested under Mac, look at its source code, it might be interesting for you.
Quote from: DjThunder on
2012-01-17 17:12:41
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?
Quote from: DjThunder on
2012-01-17 17:12:41
@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.
Julien Gouesse
DjThunder
JGO n00b
Posts: 45
Medals: 4
Byron 3D Games Studio
Re: Warcraft Remake
«
Reply #42 on:
2012-01-18 09:11:59
»
Ok, I made another effort
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.
Tyrian Remake
Warcraft Remake
asphaltgalaxy
JGO n00b
Posts: 29
Medals: 1
Re: Warcraft Remake
«
Reply #43 on:
2012-01-18 12: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
Sultan_GS
JGO n00b
Posts: 13
Re: Warcraft Remake
«
Reply #44 on:
2012-01-18 16: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!
Hopefully Blizzard doesn't shut this down I could see this going a long way!
ra4king
JGO Kernel
Posts: 3160
Medals: 196
I'm the King!
Re: Warcraft Remake
«
Reply #45 on:
2012-01-19 00: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
>
-Roi
Doodle Jump online!
Follow me on Twitter!
DjThunder
JGO n00b
Posts: 45
Medals: 4
Byron 3D Games Studio
Re: Warcraft Remake
«
Reply #46 on:
2012-01-19 17:20:17
»
Ah cool; thank you
I updated to 0.0.7 now.
Nothing special, just a much lighter version (around 2MB instead of 4MB).
Tyrian Remake
Warcraft Remake
Pages:
1
[
2
]
Print
Jump to:
Please select a destination:
-----------------------------
Games Center
-----------------------------
=> Featured Games
=> Showcase
=> Contests
===> LWJGL16k - 2011
===> 4K Game Competition - 2012
===> JGO Comp Petite
===> Finished Contests
=====> 4K Game Competition - 2011
=====> 4K Game Competition - 2010
=====> 4K Game Competition - 2009
=====> 4K Game Competition - 2008
=====> 4K Game Competition - 2007
=====> 4K Game Competition - 2006
=====> 4K Game Competition - 2005
=====> Tiny Game 2010
=====> JGO Comp 2009
=====> 16K LWJGL Competition - 2005
=====> Java Technology Game Development Contest - 2004
-----------------------------
Discussions
-----------------------------
=> General Discussions
===> Suggestions
=> Business and Project Discussions
===> Jobs and Resumes
===> Community & Volunteer Projects
=> Miscellaneous Topics
-----------------------------
Game Development
-----------------------------
=> Newbie & Debugging Questions
=> Articles & tutorials
=> Game Play & Game Design
=> Game Mechanics
===> Artificial Intelligence
=> Networking & Multiplayer
=> Performance Tuning
=> Shared Code
-----------------------------
Java Game APIs & Engines
-----------------------------
=> Engines, Libraries and Tools
===> Java 3D
===> JInput
===> jMonkeyEngine
===> Xith3D Forums
===> Tools Discussion
=> Java 2D
===> JavaFX
=> OpenGL Development
===> JOGL Development
===> LWJGL Development
=> Java Sound & OpenAL
===> JOAL Development
=> Java on Mobile Devices
===> Android
===> J2ME
Featured Game
Latest in Showcase
Add yours!
Add your game by posting it in the showcase section.
The first screenshot will be displayed as a thumbnail.
Latest pastebins
obsidian_golem
2012-05-23 10:14:50
Danny02
2012-05-21 17:10:34
Danny02
2012-05-21 17:07:10
Danny02
2012-05-21 16:56:12
davedes
2012-05-21 13:59:23
obsidian_golem
2012-05-20 20:28:41
darkjava55
2012-05-12 16:14:40
Ultroman
2012-05-12 09:36:05
Ultroman
2012-05-11 22:49:53
Ultroman
2012-05-11 22:20:01
Loading...