Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (107)
games submitted by our members
Games in WIP (535)
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  Games Center / Archived Projects / Re: Pendulum Game 0.8 on: 2005-10-21 15:22:43
Very nice one !! Good idea ! Grin
2  Games Center / 4K Game Competition - 2005 / Re: T4XI on: 2005-01-22 09:06:48
Just amazing you did this under 4k !!!  

Shocked
3  Java Game APIs & Engines / OpenGL Development / Re: OpenGL text on: 2005-01-18 12:09:10
Another way of doing it could be the use of bitplanes (the code for it is somewhere in the redbook)

Advantages:
- You can color the bitplane u are drawing in any way you like.
- No blending needed, and the background is fully transparent.
- Very clear fonts / no scaling could screw up your quality

Disadvantages:
- you can't use them as textures in 3d, just for 2d text rendering in the foreground
- you just have one font size available for each  bitplane-font you are  creating.

But for GUI use it should do the job.
4  Games Center / 4K Game Competition - 2005 / Re: Joust4k on: 2005-01-17 18:28:09
Ok, next Version will be up Wednesday....
no time to code right now....  Sad
5  Games Center / 4K Game Competition - 2005 / Re: Joust4k on: 2005-01-14 18:32:56
Hey thanks for the tips ! Grin

Currently its fullscreen, has no package and has no methods
(except one for the keyboard input - thanks onyx for his help)

I'm going to use jarg and kzip in the final version.

Platforms are in progress, also different levels (each level will have less plattforms then the one before)

Good idea with using enter for starting...

Next version will be online on monday (i hope so), because i'll not be able to code this weekend (visiting parents...)

Greets !

Dose
6  Games Center / 4K Game Competition - 2005 / Joust4k on: 2005-01-14 13:49:48
Hi there !

Here is my first game and it's for the 4k contest.
Its a remake of the old game Joust (ATARI).
Grab it here

Any suggestions welcome !

Greets !  Wink

Dose

PS: there was no space for a manifest file, so i included a batchfile.
7  Java Game APIs & Engines / OpenGL Development / Re: Weird color problem after enabling Texture_2D on: 2005-01-11 19:29:24
DOH !!!!

Ok,....   Embarrassed

Thanks all for the answers !


*sneaking out of this topic....*
8  Java Game APIs & Engines / OpenGL Development / Re: Weird color problem after enabling Texture_2D on: 2005-01-11 15:00:09
glBegin and glEnd are called in the rendering method.
9  Java Game APIs & Engines / OpenGL Development / Re: Weird color problem after enabling Texture_2D on: 2005-01-11 14:03:27
Hmm... tried...and didn't change anything Sad(
10  Java Game APIs & Engines / OpenGL Development / Re: Weird color problem after enabling Texture_2D on: 2005-01-11 13:43:17
Yes, i tried it before i loaded the image,.. made no difference....
here is the picture thats used
11  Java Game APIs & Engines / OpenGL Development / Re: Weird color problem after enabling Texture_2D on: 2005-01-11 13:06:58
1) Ok done ! Smiley

2) The TextureLoader should take care of it

3) Tried both. The getHeight and getWidth just return the Height/WidhtRatio so the image is displayed correctly, without the possible 2Fold-borders.

So the Rect displays correctly, the ImageRect is still just dark grey Sad
12  Java Game APIs & Engines / OpenGL Development / Re: Weird color problem after enabling Texture_2D on: 2005-01-11 11:45:50
Im using 0.94-2alpha ,and the code i use is basically:


1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
Display.setFullscreen(false);
Display.setDisplayMode(MY_DISPLAYMODE)
// this should create a ortographic projection window
Display.create();


// then im calling the initGL method
GL11.glMatrixMode(GL11.GL_MODELVIEW);
GL11.glEnable(GL11.GL_TEXTURE_2D);
GL11.glDisable(GL11.GL_DEPTH_TEST);

// the rendercode is according to the spaceinvaders example:

img.bind();
GL11.glTexCoord2f(0.0f,0.0f);
GL11.glVertex2i(x, y);
GL11.glTexCoord2f(0.0f,img.getHeight());
GL11.glVertex2i(x, y + img.getImageHeight());
GL11.glTexCoord2f(img.getWidth(),img.getHeight());
GL11.glVertex2i(x + img.getImageWidth(), y + img.getImageHeight());
GL11.glTexCoord2f(img.getWidth(),0.0f);
GL11.glVertex2i(x + img.getImageWidth(), y);

// in the constructor of the Image-class
// calls the constructor of the rectangle class
super(x, y, width, height);
color = new float[] {1.0f, 1.0f, 1.0f, 1.0f };
try
{
      img = Window.TEX_LOADER.getTexture(imgURL);
} catch (IOException e)
{
      e.printStackTrace();
}
13  Java Game APIs & Engines / OpenGL Development / Weird color problem after enabling Texture_2D on: 2005-01-10 20:11:52
Hi there !

Im just playing araound with learning Textures in lwjgl, and happened to get some relatively strange effects.
Im drawing two rectangles/quads, where one should have a texture, the other just stay greywith a white border.

Without textures enabled, the rectangle works (wonder, wonder), but the one with the texture (which is also a grey rect) is totally white.

With textures enabled, the rectangle border is somehow about 50% grey, and the textured quad is 50% grey also.... but doesn't show the texture.

Im using the Texture code from the space invaders example, and before drawing the second quad im calling img.bind().


Any ideas whats wrong ?

(image is a gif)

Thanks in advance !

Dose

PS: EVERYTHING is getting darker after enabling.
14  Java Game APIs & Engines / OpenGL Development / Re: 3d model texture/colour laoding problems-plz h on: 2004-12-01 07:22:03
In some topic here you'll find a link to a 3ds loader, that just loads all data you need.
Just look in the shared code section....

15  Java Game APIs & Engines / OpenGL Development / Re: 2d background (Parallax Scrolling) help? on: 2004-10-09 23:45:22
i think a two dimansional array with the map data
(what kind of tile/background-texture it is), and one which holds the texture ids to use would be fine.
the position of these tiles on the screen depends on the players position in this 2d world and the position in the array.
this way you can also pretty easy calculate which part of the level is on the screen, and only draw that bit.
also the mapdata-array avoids having duplicate tiles over and over.

this should work for almost all 2d tiule-based scroller - games and do it fast.

Sry for my bad english... im a little bit drunk   Grin

Greets

Dosenbier
16  Games Center / Archived Projects / Re: JAVAsteroids on: 2004-09-26 18:08:52
Runs smooth and fast !

1.1 Ghz Athlon, Asus 8200 - Geforce 3 , 512 RAM

Nice work dude !

Dosenbier Grin
17  Games Center / Featured Games / Re: Wurm Online on: 2004-06-14 20:03:02
Windowed Mode solved the strange problems.

Now everything looks fine  !

Greets !
18  Games Center / Featured Games / Re: Wurm Online on: 2004-06-14 13:13:13
I got very strange lightning effects... the lower the looking angle the darker everything gets, and everything is covered by the water lightning texture and/or some text.... ?!

Athlon 1.1 Ghz , Geforce3 64MB,  Detonator Driver 56.72.,
512 MB RAM

Is there any key to make a screenshot so i can post it...
looks really strange

Greets
Pages: [1]
 

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

The first screenshot will be displayed as a thumbnail.

Riven (10 views)
2014-07-29 18:09:19

Riven (8 views)
2014-07-29 18:08:52

Dwinin (8 views)
2014-07-29 10:59:34

E.R. Fleming (25 views)
2014-07-29 03:07:13

E.R. Fleming (10 views)
2014-07-29 03:06:25

pw (39 views)
2014-07-24 01:59:36

Riven (39 views)
2014-07-23 21:16:32

Riven (26 views)
2014-07-23 21:07:15

Riven (28 views)
2014-07-23 20:56:16

ctomni231 (59 views)
2014-07-18 06:55:21
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
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!