Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (539)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (603)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1] 2 3
1  Games Center / Archived Projects / Re: Finally A Release JRPG 0.1 on: 2006-01-21 06:24:23
Check out JSmooth for an installer.
2  Games Center / Archived Projects / Re: 3D Demo: Flowing Water + 3D Bird + 3D Shark on: 2004-03-03 00:42:06
Webstart!!!  Grin

No, seriously, I wont download exe or execute jar files from this forum.  Things I like about webstart:

1.  Webstart helps me tidy up after looking at peoples stuff without digging around looking for a bunch of files spread out all over the place willy nilly.  On Windows theres too much freedom where programs can place junk all over the place.

2.  No need to find some batch or shell file to execute.  These are never configured correctly for my Linux install.

3.  Updates!  If you make an update, just make a note and everyone will instantly check it out and not have to download the whole thing all over again.
3  Games Center / Archived Projects / Re: Please Test my new java game SpaceDisks on: 2004-02-25 22:34:35
Very well done.  I couldnt find a fault.
4  Games Center / Archived Projects / Re: Untold Evils v.1, a bit of "gameplay" on: 2004-02-15 15:52:32
Deploying zips is okay.  But could you use WebStart?  Ive become a big fan recently of not having to download, unpack, open command prompt, navigate to install path, and run the app.  Getting lazy I guess but it sure makes it easier to demo since all I have to do is click on a link.
5  Games Center / Archived Projects / Re: Playtest My Space Shooter Applet Game on: 2004-02-15 02:37:32
The lack of sound is deafening.  The prior comment about enemy fire coloring is true too.  I often died because I failed to notice a round flying at me, especially in later levels.

The horizontal scrolling appears to be a bit of a waste.  I guess Im too used to the old formula (Space Invaders, Galaxia, etc).
6  Game Development / Performance Tuning / Re: GCJ, a quest for speed. on: 2003-10-21 18:11:51
Quote

Heh, HelloWorld is now 4.6MB.  


Thats pretty good figuring a simple HelloWorld in regular java is over 30MB is size.

Now some of you are thinking that I must be crazy BUT you may be forgetting that a GCJ compiled program includes a Java runtime.  So, add the size of your JRE with any java app you write to figure the size in comparison.

There is a DLL you can link your GCJ programs to for Windows that takes out the java runtime fat (Google for libgcj.dll).  Thats nice if you are planning on having multiple GCJ apps on the same system.

Also, check out UPX (upx.sf.net).  Use it to deflate GCJ apps.

upx --best HelloWorld.exe

Quote

Some test programs required some hacks to get it to compile.
For example for doing a quick and dirty new Date().toString(), I finally had to add 2 static references to gnu.java.locale.Calendar.class


Yes, this is a known issue.  But its the only oddity I have ever seen.  What other problems are you having?

Quote

If I can't even get these miserable 50 lines of code running, I won't even bother with compiling a LWJGL program.


Post your code.  I curious to whats going wrong.
7  Game Development / Performance Tuning / Re: to JET or not to JET... on: 2003-09-10 00:19:15
Quote

Everyone in the forum who's doing games seriously they're using LWJGL?


No.

Quote

Why go through all the trouble and use all these JNI calls and other shortcuts if you think the AWT isn't good enough. Just to use garbage collection and avoid pointers?


JNI allows API writers to create java methods that expose native functionality.  With a little work API writers can even make these APIs crossplatform.  We'll use LWJGL for example:  a bunch of people wrote the API and dealt with the evil pointers and other native nastiness.  Now, if you use the API you write pure Java.  Surprise!
8  Game Development / Performance Tuning / Re: to JET or not to JET... on: 2003-09-09 02:03:49
Quote

I'd like to return to the topic and ask,
what is your favorite AWT replacement for 2D games?  


SDL.

Quote

As far as I know there's only one, LWJGL.


Theres also Gage.  LWJGL is a 3d api from what I have seen.  Not saying you couldnt throw some quads around with textures to make some 2d.

Quote

What can you do with SWT and gaming?


Pretty much of what you can do with the basic AWT graphics.  Theres also a plugin for OpenGL.  Haven't tried it though so I have no idea on quality or completeness.

Final note: dont leave Linux in the dark.  Sure, having a Windows port is pretty much required if your looking at selling and making money.  But Linux will continue to grow.  Check out happypenguin.

www.happypenguin.org
9  Game Development / Performance Tuning / Re: to JET or not to JET... on: 2003-09-05 22:37:22
Quote

Bob, have you managed to create a Windows executable (a game preferably) with GCJ/SWT? Because I've heard that it doesn't really do the trick (but I've never tried it myself)...


Ive created windows apps with GCJ and SWT.  Here's an article covering doing this:

http://www-106.ibm.com/developerworks/java/library/j-nativegui/?Open&t=grl,l=805,p=cgui

I have to agree with PrinceC that AWT and SWING are not ideal for game development.  SWT is not much better.  But it often depends on exactly what type of game your designing I guess.  Most commercial games do not use native gui controls.  Game designers often create thier own controls from scratch to blend more with the games look and feel.

If you are gonna use SWT and GCJ on MS Windows I suggest using the GCC/GCJ toolchain at www.thisiscool.com.  It includes some SWT examples in the distro.  Use 3.3.  I found a few issues still remain in the development 3.4.

Also, executable sizes with GCJ for small programs can seem rather large.  This is because GCJ created executables include the java runtime.  You can cut this down by using UPX (upx.sf.net).  Kills like 60% of the bloat or more.

Webstart is not a bad option also.  I have mixed thoughts on using it for games though.  Theres a few games people have put out in this forum that use webstart like Wurms.  Check them out and see what you think.
10  Game Development / Performance Tuning / Re: to JET or not to JET... on: 2003-09-05 19:49:41
You could also not use JET and just use GCJ to compile your code.  GCJ is fast and free.  GCJ does not include AWT or SWING.  Use SWT instead.
11  Game Development / Performance Tuning / Re: Java speed & native executables on: 2003-05-22 01:56:11
<i>
My program (which is a Swing app) runs very good when run "normally" and my main panel (with overriden paintComponent(g) ) update takes about 10-20ms. But when i complie it into a native executable the performance drops to 200-300ms per draw!!  
</i>

Problem is probably due to different JVMs being used for your comparison.  You need to check and see which JVM your program is using when run with the bootstrap.  The JBuilder bootstrap uses the registry to figure out which JVM to use so dont count on the JAVA_HOME or PATH for this solution.
12  Java Game APIs & Engines / Java 2D / Re: java race game on: 2003-05-13 17:51:32
YaBB search works wonders.  Anyhow, the link below has example code for a simple server and client.  It was written to test the speed of Java socket implementation.  As you can see from my results (on a local loopback) it was not very impressive.  But it may work for what you need:

http://
YaBB.cgi?board=newbies;action=display;num=1045778456;start=6
13  Java Game APIs & Engines / Java 2D / Re: java race game on: 2003-05-13 17:37:34
Quote

well, I guess your right about the XML stuff, but the problem is that I have to implement it because its a project for school and they specifically asked to use it somewhere, perhaps any suggestions where I should use XML in this context  or should'nt I use it at all. To be


You could use XML for all your variables at startup instead of using text files or hard coded values.  And since your only parsing XML check out XPP (XML Pull Parser) at http://www.extreme.indiana.edu/xgws/xsoap/xpp/

Quote

hmm NIO ? does it bites  
I would really appreciate it if you could sent me that source. I'll send you a PM and thx in advance !!


To keep your project simple stick with ServerSocket and Socket.  That should suffice.  I gave some example code some time back.....let me go look.....
14  Java Game APIs & Engines / Java 2D / Re: setup program that makes *.exe ? on: 2003-05-09 11:34:12
Quote

but i like to have an exe wich does basically the same. just because it could happen that the user accidentially delete the shortcut and doesnt know that he/she just have to doubleclick on the jar to start the program.


Yep.  Using the NSIS method I posted is not a better way of doing things, just another way of doing it.   It takes alot for granted: (1) Sun JRE is installed and (2) the most current is the one to use.

Quote

And on systems where the file association for jar files is messed up(like mine used 2 be...),
an exe is infinitly better.


That is not an issue with the NSIS script I posted.  Association of file extensions is in a different part of the windows registry.
15  Java Game APIs & Engines / Java 2D / Re: setup program that makes *.exe ? on: 2003-05-08 12:57:40
Using NSIS you could also launch a java app by getting the java runtime from the registry.  Heres a bit to get the current runtime location:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
; Check for Java
Function .onInit
  ; Get the Java home directory if installed
  ReadRegStr $0 HKLM "SOFTWARE\JavaSoft\Java Runtime Environment" "CurrentVersion"
  ReadRegStr $1 HKLM "SOFTWARE\JavaSoft\Java Runtime Environment\$0" "JavaHome"

  ; Check that Java exists, otherwise inform user and exit
  Strcmp $1 "" 0 continue
    MessageBox MB_OK "Java is not installed on your machine.  Please install the Java Runtime and run this install again."
    Quit
  continue:
FunctionEnd


Now you could create a shortcut to start your app.  We will say you have created an executable jar called "mygame.jar" and want a shortcut under Programs called "My Game" with the shortcut called "Start":

1  
2  
3  
; Create shortcuts
  CreateDirectory "$SMPROGRAMS\My Game"
  CreateShortCut "$SMPROGRAMS\My Game\Start.lnk" "$1\bin\javaw.exe" "-jar mygame.jar" "" ""
16  Games Center / Archived Projects / Re: Alien Flux Alpha Test 9 on: 2003-05-06 16:05:57
Linux has a nice feature : symbolic links.  Libs can often be found with version numbers attached to thier names and then an alias is created that points at the most current version.  In doing this, a developer could still reference an older lib by just including the version number with the lib on System.load.

1  
2  
ln -sf /libc/libc.so.5.4.47 /lib/libc.so.5
ln -sf /lib/libc.so.5 /libc.so
17  Games Center / Archived Projects / Re: Space Pirates 3D action/strategy shooter on: 2003-04-23 19:32:08
Grin
Nice game.  I like it!
18  Games Center / Archived Projects / Re: The Chloe Game on: 2003-04-10 11:39:33
Simple game thats very well done. Smiley
19  Games Center / Archived Projects / Re: Alien Flux Alpha Test 7 on: 2003-04-04 14:23:25
Quote

It would appear that you have some trouble with either display lists or textures > 256*256 in size.


Theres a bunch of older 3D graphic cards with this issue.  Some older Matrox cards come to mind where I seen this.
20  Games Center / Archived Projects / Re: An Educational Java Client/Server Game on: 2003-04-01 18:48:17
Quote

If you think kids are going to read through all of that documentation on their own then, and this is just an opinion, I think your wrong.


I read an article one time that stated that children are more likely than adults to read documentation.  But, as the author of that article pointed out, children are more likely to give up on a confusing or complex interface.  There was more in that article but I gave up reading the article by that point.  Smiley
21  Games Center / Archived Projects / Re: Alien Flux Alpha Test 3 on: 2003-03-28 11:30:54
Why is the OpenAL lib not included in the jar files for Webstart?

Liked the game.  I could almost swear that the sound for the ship regen sounds like the start of the Cure's song "The Walk" off thier Mixed Up album.
22  Games Center / Archived Projects / Re: Iago Games on: 2003-03-17 21:07:53
That L.A. Swat was pretty cool.  Im always a sucker for those stupid popup shooters. Grin
23  Games Center / Archived Projects / Re: DogFight (first attempt) on: 2003-03-16 01:35:52
Smiley
24  Games Center / Archived Projects / Re: Need help on: 2003-03-11 11:19:09
Heres some ideas:

1.  Hang out the trunk of a friends car with a tape recording and try to capture the engine noise on a tape recorder

2.  Wax paper and fine toothed comb.  Makes music too!

Cheesy

I take no responsibility for anyone injured taking my advice!

25  Discussions / General Discussions / Re: Java 1.4 Game Development - 30% off and free s on: 2003-03-06 10:56:20
I hate spammers so much I refuse to even consider this book or pass note of it on to any other individual.  It must really suck anyways if spamming is the only means of advertisement it.
26  Games Center / Archived Projects / Re: Javoids on: 2003-03-05 22:42:53
Looks pretty really good.  A few control bugs but nothing that can't be worked out.

Only bad comment: page needs updated to force use of the Java plugin.  Small issue.
27  Game Development / Shared Code / Re: Code for a tamagotchi in javascript on: 2003-03-05 11:32:14
Its not Java but its interesting nonetheless.  Only problem I had is scratching the monster caused some garbage to appear in the monster view.

Anyone have links to a Tamagochi applet?
28  Games Center / Archived Projects / Re: Would like feedback on newest  Strueli's Komba on: 2003-03-05 10:58:24
I hate Tripod.

Quote

This file is hosted by Tripod, a Lycos®Network Site, and is not available for download. Please check out Tripod's Help system for more information about Remote Loading and our Remote Loading policy.
29  Discussions / Miscellaneous Topics / Re: A Difficult One! on: 2003-03-04 12:52:55
Half-Life  Grin.  Nods to all the great mods of that game also.
30  Games Center / Archived Projects / Re: first games on: 2003-03-02 01:46:51
Wow.  My algebra sucks!  Smiley
Pages: [1] 2 3
 

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

The first screenshot will be displayed as a thumbnail.

rwatson462 (33 views)
2014-12-15 09:26:44

Mr.CodeIt (23 views)
2014-12-14 19:50:38

BurntPizza (51 views)
2014-12-09 22:41:13

BurntPizza (84 views)
2014-12-08 04:46:31

JscottyBieshaar (45 views)
2014-12-05 12:39:02

SHC (59 views)
2014-12-03 16:27:13

CopyableCougar4 (58 views)
2014-11-29 21:32:03

toopeicgaming1999 (123 views)
2014-11-26 15:22:04

toopeicgaming1999 (114 views)
2014-11-26 15:20:36

toopeicgaming1999 (32 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

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
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!