Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (495)
Games in Android Showcase (114)
games submitted by our members
Games in WIP (563)
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 4
1  Game Development / Newbie & Debugging Questions / Re: IntelliJ import constants on: 2014-01-26 22:11:50
That is not the solution, I would like to have the option appear on the intent menu
2  Game Development / Newbie & Debugging Questions / IntelliJ import constants on: 2014-01-26 22:00:38


Is there a way to include importing of constants as an intention in IntelliJ?
3  Game Development / Newbie & Debugging Questions / Re: paulscode 3D sound issues on: 2013-08-20 13:23:29
All my sounds are mono
4  Game Development / Newbie & Debugging Questions / Re: paulscode 3D sound issues on: 2013-08-20 12:52:15
So, I recalled that Minecraft also uses the same library. So I went on to my decompiled copy and found out that it uses ATTENUATION_LINEAR

It works now

Fix your code paul
5  Game Development / Newbie & Debugging Questions / Re: paulscode 3D sound issues on: 2013-08-20 12:44:54
I checked the source code and couldn't find anything out of place, this is really bothering me!

Here's my Sounder class, I'm not sure if anything is out of place...

http://pastebin.com/LN7fEnnq
6  Game Development / Newbie & Debugging Questions / Re: paulscode 3D sound issues on: 2013-08-20 11:38:56
I'm using LWLJGL OpenAL

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
Checking if LWJGL OpenAL is compatible...
    ...yes

Checking if Java Sound is compatible...
    ...no

Starting up SoundSystem...
Initializing LWJGL OpenAL
    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
OpenAL initialized.
7  Game Development / Newbie & Debugging Questions / Re: paulscode 3D sound issues on: 2013-08-20 10:45:19
Bump, I need help on this urgently
8  Games Center / WIP games, tools & toy projects / Re: MyTreasure on: 2013-08-20 08:18:00
Neat, but not 8-bit
9  Game Development / Newbie & Debugging Questions / paulscode 3D sound issues on: 2013-08-20 06:59:52
1  
2  
3  
4  
5  
6  
   public static void playAt(String sound, float x, float y, float z) {
      ss.setListenerPosition(Game.player.pos.x, Game.player.pos.y, Game.player.pos.z);
      ss.setListenerVelocity(Game.player.dVel.x, 0, Game.player.dVel.y);
      ss.setListenerAngle(Game.player.yaw);
      ss.quickPlay(false, sound, false, x, y, z, SoundSystemConfig.ATTENUATION_ROLLOFF, 0.03f);
   }


My issue is that above code even though I tried every possible value for the rolloff between 0 and 1 (suggested by the PDF paul provided) won't have any change on the sound's volume
10  Game Development / Newbie & Debugging Questions / Re: Unknown publisher with applets on: 2013-08-19 23:08:51
http://www.java.com/en/download/help/appsecuritydialogs.xml

This page says contrary and that there are two levels of security warnings
11  Game Development / Newbie & Debugging Questions / Unknown publisher with applets on: 2013-08-19 22:34:04


Today I tried to get my applet on a website and noticed that I had to sign it. After signing it now I'm troubled with this. Can I do anything to prevent this for FREE (as I'm underage and I can't really pay anyone anything)
12  Game Development / Newbie & Debugging Questions / New to applets, repaint() doesn't work on: 2013-08-17 22:18:05
Issue addressed
13  Games Center / WIP games, tools & toy projects / Re: Vorago | 7DFPS on: 2013-08-16 23:40:13
http://7dfps.com/?action=games&id=250

Enjoy!
14  Games Center / WIP games, tools & toy projects / Re: Sub-Pixel animation for Retro Sprites on: 2013-08-16 08:34:43
Haters gonna' hate
15  Games Center / WIP games, tools & toy projects / Re: Vorago | 7DFPS on: 2013-08-16 08:34:25
I'll post the download link in many places after the compo is over
16  Games Center / WIP games, tools & toy projects / Vorago | 7DFPS on: 2013-08-16 08:25:08
Hello, JGO! Here's my 7DFPS entry I'm currently working on. It's simply put the mixture of Minecraft and Spelunk!

Everything (yes, EVERYTHING) is done from scratch just for this project so I learned a lot of new things during the making of it

I'm nearing the final hours and there are still a few more stuff to take care of. Also, I think I'll finish it but not "complete" it
The actual mockup, I wanted to make a Spelunky demake then I found that 7DFPS was near so I just went on and made it into an FPS

One of the latest screenshots of the game
17  Games Center / WIP games, tools & toy projects / Re: Sub-Pixel animation for Retro Sprites on: 2013-08-16 08:11:21
Great job, but in my opinion this doesn't really work for sprites. I hate when people get lazy and have sub pixel rotation and not actual scaling, then still call their games "retro"

The reason it works for Cube World is that it uses voxels as a style and doesn't market as retro (which it isn't)
18  Game Development / Newbie & Debugging Questions / glBufferSubData taking too long! on: 2013-08-16 08:06:46


Above is the current issue with my code, I have to update certain VBOs realtime such as the UI so I use glBufferSubData. However after profiling the CPU, I found out that it takes a very long time

After some research I found that glBufferSubData also stalls the rendering until it's completed the rendering

Below is my VertexBuffer class, I'm trying to resolve it. I heard that there's something like glMapBufferRange (?) which helps but I have no idea how to use it

VertexBuffer.java
http://pastebin.com/ZMpJ6kjV

Example use of above is something like;

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
VertexBuffer vb = new VertexBuffer(3); // Init

// In a loop
vb.clear();
vb.addVertex(0, 1, 0, 0xFFFFFF, 0, 0);
vb.addVertex(0, 1, 1, 0xFFFFFF, 0, 1);
vb.addVertex(1, 1, 0, 0xFFFFFF, 1, 0);
vb.refresh();

drawVBO(vb);
19  Game Development / Newbie & Debugging Questions / Re: How to reflect an angle on: 2013-08-03 21:16:19
normal + (normal - angle)
20  Game Development / Newbie & Debugging Questions / Re: GC causing massive delay on: 2013-08-03 19:03:33
Thanks for the info, one problem I noticed is that I now have an increased amount of int[] which weren't there before

EDIT: I accidentally ran sampling instead of profiling, it's okay now
21  Game Development / Newbie & Debugging Questions / Re: GC causing massive delay on: 2013-08-03 18:41:04
Daaaaaamn... that is so amazing! Thanks a lot!
22  Game Development / Newbie & Debugging Questions / Re: GC causing massive delay on: 2013-08-03 14:41:30
In your renderer, in asFlippedFloatBuffer, cache a ByteBuffer and only use ONE (make it static and what not).

You call that ALOT and each time it creates a DirectByteBuffer... which allocates a chunk of memory outside the JVM... and when the JVM sees that it's not in use it cleans it and removes it. This could take time and they could add up.

Could you give me an example on that as my buffers are varying in sizes? I was thinking of using a HashMap to store buffers in (if a key doesn't have a value, generate it - if a key has a value, clear and re-insert values)
23  Game Development / Newbie & Debugging Questions / Re: GC causing massive delay on: 2013-08-02 23:32:46
Here's my VertexBuffer object, I never change the contents of them (and I only have one atm) so I really doubt they are the stupid amount of float[] and FloatBuffers

http://pastebin.com/6faTZ21N

My guess is that the float[] and FloatBuffers are from my matrix/vector classes

Here's Main.java

http://pastebin.com/CjnMAQFF

and Renderer.java

http://pastebin.com/8Lwg9ftw
24  Game Development / Newbie & Debugging Questions / Re: GC causing massive delay on: 2013-08-02 23:08:23
I have no idea about the ByteBuffers, the only case I'm using them is for loading textures (LWJGL)
25  Game Development / Newbie & Debugging Questions / Re: GC causing massive delay on: 2013-08-02 22:33:43


Does this basically mean that I have too much buffer objects and float arrays? Also what's up with cleaner?
26  Game Development / Newbie & Debugging Questions / GC causing massive delay on: 2013-08-02 21:31:12
http://pastebin.com/eXWS0qrc

The output above is;

1  
System.out.println(((Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory()) / 1024));


and as you can see GC occurs at 1526 and right at that moment my frames drop from solid 60 to 35

I'm using -XX:+UseConcMarkSweepGC as my GC, I tried other types as well but none of them really helped me

Can anyone help me with this?
27  Game Development / Newbie & Debugging Questions / Re: Failing to render? on: 2013-08-02 01:03:50
Ahhhh... I figured out that it was wrong strides and bad matrices. That explains some stuff Tongue
28  Game Development / Newbie & Debugging Questions / Re: Failing to render? on: 2013-08-01 18:02:44
No-one can help me with this?
29  Game Development / Newbie & Debugging Questions / Re: Failing to render? on: 2013-07-29 15:48:10
halp
30  Games Center / Cube World Projects / Re: A different Cube World on: 2013-07-29 15:47:27
I'm not exactly sure which version this is but here you go

https://bitbucket.org/Quarynn/2dvoxel
Pages: [1] 2 3 4
 

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

The first screenshot will be displayed as a thumbnail.

Dwinin (23 views)
2014-09-12 09:08:26

Norakomi (56 views)
2014-09-10 13:57:51

TehJavaDev (69 views)
2014-09-10 06:39:09

Tekkerue (34 views)
2014-09-09 02:24:56

mitcheeb (56 views)
2014-09-08 06:06:29

BurntPizza (40 views)
2014-09-07 01:13:42

Longarmx (25 views)
2014-09-07 01:12:14

Longarmx (31 views)
2014-09-07 01:11:22

Longarmx (31 views)
2014-09-07 01:10:19

mitcheeb (39 views)
2014-09-04 23:08:59
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!