Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (489)
Games in Android Showcase (112)
games submitted by our members
Games in WIP (553)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Re: Need some feedback  (Read 1664 times)
0 Members and 1 Guest are viewing this topic.
Offline Java Cool Dude

Senior Member




Java forever


« Posted 2003-12-08 03:55:19 »

PS: Cleaned up the code a bit and added transparency to the logo Smiley
Offline kevglass

JGO Kernel


Medals: 159
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #1 - Posted 2003-12-08 04:51:38 »

At the risk of offending you again Wink it all looks pretty cool. Here's some (possibly) useful suggestions, feel free to ignore:

* You call view.stopView() but you never call view.startView().

* The DisplayOptions dialog is sweet, but you might find it easier later pulling it out into a seperate class.

* This one is a matter of taste I guess. The keyboard stuff is great but again it might be nicer in a seperate class. I think this only matters if you're going to use this framework for more than demos.

* If you want to do listeners embedded into the main class you could use inner classes and extend the Adapter classes (e.g. MouseAdapter). This stops you having to have a bunch of empty methods defined. It also stops the public external interface of your frame having the event methods exposed.

* I'm not sure how many key codes are defined, it might be more than 255. Can check or use KeyEvent.KEY_LAST to find out.

But as I said, in general, looks cool. I especially like the Powered By bit in the select screen mode. Is it going to change depending on whether you're using Java3D / Jogl / Xith ?

But arn't you jumping the gun a bit? We've got to vote on that logo yet Smiley

Kev

Offline Java Cool Dude

Senior Member




Java forever


« Reply #2 - Posted 2003-12-08 05:00:32 »

Great feedback Kev: like I said before I'm over what happened few months ago.
As a matter of fact, if it wasn't for the little heated debate that we had, I would still be using C naming convention which I absolutely loath nowadays Grin.
I like most of what you said so far and I'll be implementing it whenever I get free time.
To answer your question on why I call stopView() and yet ignore calling startView():
Since my run() method is still running, you can see that view.renderOnce() is called over and over again, therefore resuming the display Tongue.
startView() will call an unnecessary loop that ain't synchronized with my main class.
Oh and I kinda adore that logo that Im using Tongue
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Yuri Vl. Gushchin

Senior Member




Speak Java!


« Reply #3 - Posted 2003-12-08 05:19:54 »

Here is my minor [minor!] points:

* 1600 x 1200. I run this resolution almost on all of my computers...

* Window close should work on both dialog and rendering window. Now, after closing the Xith3D rendering window, the app does not exit.

* Would like to define default resolution somewhere (say, in system properties using -D to save some clicks when debugging (i.e. when sys props set, then no need in screen mode chooser).

The rest is cool.

Yuri

Yuri Vl. Gushchin
JProof Group
Offline kevglass

JGO Kernel


Medals: 159
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #4 - Posted 2003-12-08 05:26:48 »

Quote

To answer your question on why I call stopView() and yet ignore calling startView():
Since my run() method is still running, you can see that view.renderOnce() is called over and over again, therefore resuming the display .
startView() will call an unnecessary loop that ain't synchronized with my main class.


Yep, I got that. Just if you don't call startView() you don't need to call stopView(), at least I don't think so. Incidently, the sorta immediate mode rendering (calling renderOnce() over and over) is exactly what I do Smiley

Kev

Offline Java Cool Dude

Senior Member




Java forever


« Reply #5 - Posted 2003-12-08 20:17:41 »


The display manager now comes in a separate class
get it here

Here's a quick tutorial on how to use it.
Don't forget to put the jar file in your class path.
The source is provided as well in case you wanna play around a bit with it, enjoy Tongue
Offline Java Cool Dude

Senior Member




Java forever


« Reply #6 - Posted 2003-12-09 07:56:06 »

Testing Java Web Start on my new web space.
Thank you William Smiley
Offline aNt

Senior Member




AFK


« Reply #7 - Posted 2003-12-09 08:03:35 »

java.lang.NoClassDefFoundError: javax/vecmath/Tuple3f
Offline William Denniss

JGO Coder


Projects: 2


Fire at will


« Reply #8 - Posted 2003-12-09 08:45:03 »

Quote
java.lang.NoClassDefFoundError: javax/vecmath/Tuple3f


Looks like only the xith3d and JOGL libraries are included in the JWS (if you have vecmath.jar in your classpath then it should work...)

Will.

Offline swpalmer

JGO Coder




Where's the Kaboom?


« Reply #9 - Posted 2003-12-10 23:25:49 »

Got some layout issues on OS X 10.3.1



followed by:
Error: empty view at "src/native/jogl/MacOSXWindowSystemInterface.m:createContext:24"


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

Senior Member




Java forever


« Reply #10 - Posted 2003-12-11 01:09:55 »

Lemmie fix the layout.
I dunno about the error though Cry
Pages: [1]
  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.

TehJavaDev (18 views)
2014-08-28 18:26:30

CopyableCougar4 (26 views)
2014-08-22 19:31:30

atombrot (39 views)
2014-08-19 09:29:53

Tekkerue (36 views)
2014-08-16 06:45:27

Tekkerue (33 views)
2014-08-16 06:22:17

Tekkerue (22 views)
2014-08-16 06:20:21

Tekkerue (33 views)
2014-08-16 06:12:11

Rayexar (70 views)
2014-08-11 02:49:23

BurntPizza (47 views)
2014-08-09 21:09:32

BurntPizza (37 views)
2014-08-08 02:01:56
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

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!