Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (499)
Games in Android Showcase (118)
games submitted by our members
Games in WIP (567)
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 ... 37
1  Game Development / Newbie & Debugging Questions / Re: LibGDX - Coordinate Issue with Gdx.input.istouched on: 2014-09-29 04:42:07
So whats the problem?
2  Game Development / Newbie & Debugging Questions / Re: Image flickering when moved (slick2d) on: 2014-09-28 15:13:38
Does the flickering happen only when moving at float positions? Or do you already move the image at int positions. If your image is being rendered at float positions (0.23, 123,1233 etc), render the image with integers (0, 123)
3  Game Development / Newbie & Debugging Questions / Re: [LibGDX]Looking for methods equivalent to the following on: 2014-09-28 06:54:12
gdx.Vector2.mul(Matrix3) ?
4  Games Center / Showcase / Re: CustomRPG - A fully customizable role playing game! on: 2014-09-26 20:37:31
Can you show something you have made in the past? (Game, engine or something)

It doesn't seem you realize the scope of the project you are trying to achieve.
5  Games Center / Featured Games / Re: [Slick2d] Retro-Pixel Castles > KICKSTARTER, GREENLIGHT AND NEW BUILD LAUNCHED < on: 2014-09-25 10:35:01
You can always use google translate to satisfy the trolls.
6  Game Development / Newbie & Debugging Questions / Re: [LibGDX] Updated LibGDX, crashes when creating SpriteBatch. on: 2014-09-24 18:27:53
Shader version 110 is not compatible with GL3 as the error states.
7  Game Development / Newbie & Debugging Questions / Re: Collada format interleaved index buffer? on: 2014-09-23 17:18:58
I think a lot easier way is to rotate modelview matrix. It gives me just the result I want.

1  
2  
3  
4  
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();

glRotatef(90, 1, 0, 0);


EDIT---------------------------

If someone is thinking that I want to write a fully functional collada parser, think again.
http://www.khronos.org/files/collada_spec_1_4.pdf
8  Game Development / Newbie & Debugging Questions / Re: Collada format interleaved index buffer? on: 2014-09-23 15:20:08
It seems that blender doesn't support up axis change when exporting. Blender exports Z-up, and gluPerspective is Y-up.

I guess I will just try to change the perspective matrix so that everything is like in blender.
9  Game Development / Newbie & Debugging Questions / Re: Collada format interleaved index buffer? on: 2014-09-23 09:45:07
Thanks for info, I will look into it when I get home.
10  Game Development / Newbie & Debugging Questions / Re: Using a FrameBuffer object on: 2014-09-23 05:09:52
You need to attach a texture to frame buffer. That way whatever you render when that frame buffer is bound, everything appears on the attached texture as well.
11  Game Development / Newbie & Debugging Questions / Re: Collada format interleaved index buffer? on: 2014-09-21 19:09:03
Just started working again on the parser, and I came up with a huge problem. I exported a single quad (triangulated) from Blender, however the position values are just plain wrong.

1  
2  
3  
4  
5  
6  
7  
8  
         <float_array id="Cube-mesh-positions-array" count="12">1 1 -1 -0.9999997 1 -1 1 0.9999995 1 -1 1 1</float_array>
          <technique_common>
            <accessor source="#Cube-mesh-positions-array" count="4" stride="3">
              <param name="X" type="float"/>
              <param name="Y" type="float"/>
              <param name="Z" type="float"/>
            </accessor>
          </technique_common>


This  is supposed to be a face looking directly at the camera, but as you can see, there are positions that are not on the Z -1. In blender, whole plane is displayed at z = -1.

Am I doing something wrong?

Edit----------
Coordinates are supposed to look something like this
1  
1 1 -1 -1 1 -1 1 -1 -1 -1 -1 -1

Basically all on the same Z plane making up a nice square.
I get a stupid looking quad with the exported coordinates.
12  Game Development / Newbie & Debugging Questions / Re: Collada format interleaved index buffer? on: 2014-09-21 12:05:44
Thanks for the post, but I just wanted to know if I can plug the data from collada to opengl directly, without having to convert data in any way.
13  Game Development / Newbie & Debugging Questions / Collada format interleaved index buffer? on: 2014-09-21 05:48:10
I'm trying to parse and render collada format.

I'm kinda stuck here. I have these indexes that I need to parse.
1  
2  
3  
2 0 0 0 1 0 3 1 2 1 1 1
[triangle 1 [position normal] [position normal] [position normal] ]
[triangle 2 [position normal] [position normal] [position normal] ]


However, I cannot find much info about opengl interleaved index buffer. All I found was a thread saying that opengl doesn't support interleaved indexing and that I would need to process the data first. Is this correct step to take? Or could I somehow use this data in a different way?
14  Game Development / Newbie & Debugging Questions / Re: Mouse.setNativeCursor is messed up on: 2014-09-21 05:43:20
Wrong texture format. (Assuming you are the one who created Texture type)
15  Game Development / Newbie & Debugging Questions / Re: Generate 2D terrain like hill climb racing / tiny wings ? on: 2014-09-20 08:05:56
You can use 1D perlin / simplex noise.

Or just generate a few random numbers, and smooth them out, and interpolate them afterwards to create your terrain.
16  Game Development / Newbie & Debugging Questions / Re: Libgdx android xml saving on: 2014-09-18 19:47:51
Gibbo on fire.
17  Game Development / Newbie & Debugging Questions / Re: Is it possible to add variable values to texture name when calling for a draw? on: 2014-09-18 10:55:59
What rendering method are you using?
18  Game Development / Newbie & Debugging Questions / Re: Game Doesn't Start on Android Emulator on: 2014-09-18 07:06:11
You might be running libraries / code that is not supported on android, but works on desktop.
19  Game Development / Newbie & Debugging Questions / Re: libgdx saving map on: 2014-09-17 15:33:56
I don't know how you can actually reach this limit, but you could try writing the string in portions: write 10 tiles, write the string to file, reset the string and do the same step again.
20  Game Development / Newbie & Debugging Questions / Re: libgdx saving map on: 2014-09-17 14:59:22
Can you dump whole .java file into pastebin?
21  Game Development / Newbie & Debugging Questions / Re: libgdx saving map on: 2014-09-17 14:52:41
You sure it wasn't out of bounds exception?
22  Discussions / General Discussions / Re: great article on good coding practice on: 2014-09-12 18:10:58
arTiCl3w0nDeRFultH1s1S.
23  Games Center / WIP games, tools & toy projects / Re: Nano-platformer, a really basic platformer for teaching purposes on: 2014-09-09 19:52:09
For who is this class? I seriously hope it is not for first time programmers o-o
24  Game Development / Newbie & Debugging Questions / Re: How to port a java game to android on: 2014-09-08 13:26:27
How big is your game? Is it written some kind of wrapper? If you really are programming for less than a month, I doubt you made a big game.. All the code should work except the code related to Java2D stuff. (Rendering)
25  Game Development / Newbie & Debugging Questions / Re: How to port a java game to android on: 2014-09-08 10:45:16
Do you already have a game made?
26  Game Development / Newbie & Debugging Questions / Re: Newb implementing pathfinding into my game on: 2014-09-07 14:03:58
@Icass

What are you talking about, he already implemented A*, he just doens't know how to move the character along the path.
27  Game Development / Newbie & Debugging Questions / Re: Game Ideas for someone who understands, but wants to improve, collision? on: 2014-09-07 08:35:34
That would be a good start I guess.
28  Game Development / Newbie & Debugging Questions / Re: Noob Questions From Nickropheliac: First game String drawing issues on: 2014-09-06 08:45:59
The best way would be to get the width of the rendered string and center it around the point you want to render it.
29  Game Development / Newbie & Debugging Questions / Re: Newb implementing pathfinding into my game on: 2014-09-06 06:13:58
http://www.policyalmanac.org/games/aStarTutorial.htm
30  Game Development / Newbie & Debugging Questions / Re: KeyEventDispatcher stops working on: 2014-09-05 13:57:51
Java can only listen to window events, when they are dispatched to window itself. If the window you have your key listener is not focused, keyboard input will not be received.

If you want to get input events from the keyboard itself, here is a very simple and awesome library I have used in one of my past projects.
https://code.google.com/p/jnativehook/
Pages: [1] 2 3 ... 37
 

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

The first screenshot will be displayed as a thumbnail.

Pippogeek (39 views)
2014-09-24 16:13:29

Pippogeek (30 views)
2014-09-24 16:12:22

Pippogeek (19 views)
2014-09-24 16:12:06

Grunnt (45 views)
2014-09-23 14:38:19

radar3301 (27 views)
2014-09-21 23:33:17

BurntPizza (63 views)
2014-09-21 02:42:18

BurntPizza (33 views)
2014-09-21 01:30:30

moogie (41 views)
2014-09-21 00:26:15

UprightPath (50 views)
2014-09-20 20:14:06

BurntPizza (54 views)
2014-09-19 03:14:18
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!