Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (753)
Games in Android Showcase (228)
games submitted by our members
Games in WIP (842)
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]
1  Game Development / Performance Tuning / Re: Native hi-rez timer for Mac on: 2003-04-28 13:10:46
Actually as of yet I see no need for a high res timer for mac... if you do some simple tests currentTimeMillis IS accurate to the millisecond.  If you want higher resolution, check out the UNIX command gettimeofday (also available in MACOSX).  It will give you accuracy up to the microsecond.  Just some simple JNI code required.

- Tristan

2  Game Development / Performance Tuning / Re: Partial inlining on: 2003-04-28 13:02:40
If this is just a normal object, is there any reason why you wouldn't want to initialize it in the constructor?  
3  Java Game APIs & Engines / OpenGL Development / Re: Lockups (with glBitmap)? on: 2003-03-25 14:26:38
Well the one button mouse only really sucks if you are used to a scroll button.  But don't fear all of the other mouse clicks are emulated... cmd+mouseclick for the right button... ahh the days on end of Warcraft and Starcraft... The other buttons are modified with the option and control keys... which Java does on the mac implementation... it is just a question how it is set up on the hardware.. but I'm sure gregory can add it to the mac implementation of the lwjgl mouse code.  
4  Discussions / Community & Volunteer Projects / Re: mac os-x java 1.4.1 beta 10 help on: 2003-02-07 01:38:03
woops posted in wrong forum... sorry about that
5  Discussions / Community & Volunteer Projects / mac os-x java 1.4.1 beta 10 help on: 2003-02-07 01:20:55
So after downloading around 500 megs of files from apple, I have finally been able to 1.4.1 install on my home machine, yeah.   The problem I have been having is that it appears they have stopped developing javac (is this true?) and have been using ibm's jikes.  Now that should be fine, but jikes, when at the command line wants to know were the java/lang classes exist.  Anyone know off hand where they are in a 10.2.3 distribution?.. I'm sure I'll find them soon, but I'd be greatful for any suggestions.  

6  Java Game APIs & Engines / Java 3D / Re: Textures in LWJGL on: 2003-01-04 18:41:28
true.. but there are cases such as this where it is just more efficient to do it JNI

GLuint texture;
glGenTextures(1, &texture);
return (jint) texture;

as opposed to the 4 byte, bytebuffer that would have to be generated then disposed of for the same effect within java.

- Tristan
7  Java Game APIs & Engines / Java 3D / Re: Textures in LWJGL on: 2003-01-02 19:03:47
Any thoughts on creating a single texture generating func ?  such as gen1Texture()... so you don't have to deal with the byte buffers if you don't want to.  But then again... why would you want only 1 texture?
8  Java Game APIs & Engines / Java 3D / Re: Help on view culling algo on: 2002-12-08 03:08:04
I think most likely you just have your normal for the near plane reversed.   It is probably in the same direction as your far plane, thus needing the ! for your inside/outside test.  Am I correct in assuming each plane is defined in the form Ax + By + Cz + D = 0?
plane = A
plane[i+1] = B.... etc

- Tristan
9  Discussions / Community & Volunteer Projects / Re: Lightweight Java Game Library Alpha 0.3 Releas on: 2002-11-12 17:36:04
Yeah it works on NT.  Anyways regarding the code demo on someone should get around to checking that the wgl extension gl.wglSwapIntervalEXT(1); exists before calling it, and add a GLU object, which is somehow used but never actually created.

Now for some fun.
- Tristan
10  Discussions / Community & Volunteer Projects / Re: Lightweight Java Game Library Alpha 0.3 Releas on: 2002-11-11 00:46:09
Very cool, I'll give it a run through at school this week.
Now hopefully it will run on their NT systems.   Smiley
11  Java Game APIs & Engines / Tools Discussion / Java 1.4.1 Preview for MacOSX released on: 2002-10-27 03:18:21
It's about time, go to Cool
12  Game Development / Performance Tuning / Re: Memory and arrays on: 2002-10-20 19:24:33
Ah got to love the Java implementation of arrays.    Either go the way Cas recomends, or if you want to keep the verticies logically separate (slightly slower), just create a new Vertex class, with three floats within, even doing this you will be saving space over the 2D array implementation.  Every array has a length field.  Wink
Pages: [1]
nelsongames (14 views)
2018-04-24 18:15:36

nelsongames (11 views)
2018-04-24 18:14:32

ivj94 (587 views)
2018-03-24 14:47:39

ivj94 (49 views)
2018-03-24 14:46:31

ivj94 (383 views)
2018-03-24 14:43:53

Solater (64 views)
2018-03-17 05:04:08

nelsongames (110 views)
2018-03-05 17:56:34

Gornova (159 views)
2018-03-02 22:15:33

buddyBro (707 views)
2018-02-28 16:59:18

buddyBro (93 views)
2018-02-28 16:45:17
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 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‑
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!