Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (406)
games submitted by our members
Games in WIP (293)
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 ... 6
1  Game Development / Newbie & Debugging Questions / Re: Debugging Help on workerthreads on: 2013-02-14 05:56:50
Okay so thanks to that nice function (Thank you) I've found out that 4 bytes aren't being added to the stream, so maybe there's a problem with the byteconversion class :/
2  Game Development / Newbie & Debugging Questions / Debugging Help on workerthreads on: 2013-02-13 10:41:32
Hello, I'm going to be as descriptive in my question as possible to well, help you help me.
I know that on line

ParticleSystem.java 59: input.read(tempByte0);
the program stalls as it waits for the thread to return with additional data, I don't know why it deadlocks

What's happening is there's 4 sets of 4 bytes to read, and the first byte is used to check if it has work to perform.
SO the first byte has been taken out the stream so the next read is of 3 bytes which will be reconnected with the first byte for it's original value.
Problem is, the deadlock occures on tempByte3 which i believe might be because the stream is empty :/

the github is here: https://github.com/Joshhua5/Particle-System/tree/master/ParticleSystem
Hope someone can help  me
3  Games Center / WIP games, tools & toy projects / Re: [WIP] Ünembra on: 2013-01-20 15:42:45
Reminds me of the animation on Battleon.com  (Adventure Quest) Smiley
4  Discussions / General Discussions / C++ for Modern OpenGL on: 2013-01-20 15:40:52
I have to ask, but I've noticed the majority of tools with the intent of debugging shaders and OpenGL are targeted at C++. which makes me question, maybe OpenGL in C++ is better for getting the ropes on modern OpenGL. I was wondering if anyone agrees or what your thoughts on this are.
5  Game Development / Newbie & Debugging Questions / Re: Passing the LWJGL Context on: 2013-01-19 18:04:52
It's actually not running on the same thread.
6  Game Development / Newbie & Debugging Questions / Re: Passing the LWJGL Context on: 2013-01-19 15:57:25
All that's done in the Project1

Project1: main loop
Project2: imported Project

make it easier to understand
7  Game Development / Newbie & Debugging Questions / Passing the LWJGL Context on: 2013-01-19 15:43:52
I've been working on a project and how it's layed out is one system is in a different project and it makes calls to LWJGL, by doing this I get an error of "No OpenGL context found in the current thread."
How would someone go about passing on the context of openGL?

Thank you for any help Cheesy
8  Discussions / Jobs and Resumes / Re: How to write a University Entrance Portfolio? on: 2013-01-01 03:52:33
I'm In Australia.
This is going to be a challenge.
9  Discussions / Jobs and Resumes / How to write a University Entrance Portfolio? on: 2012-12-31 10:53:53
I've got a week to write a Portfolio to attempt for University Entrance, but I have a large Dilemma How do I write a portfolio? I've gone with the assumption of having examples of work and why I would like to be in the course.

But I would like to be sure, I've been improving previous projects to use as work samples.

PS it's for a Computer Science course
10  Discussions / Miscellaneous Topics / Re: What music do you listen to while you code? on: 2012-12-24 16:35:10
<a href="http://www.youtube.com/v/bFEoMO0pc7k?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/bFEoMO0pc7k?version=3&amp;hl=en_US&amp;start=</a>
and Merry Christmas
11  Game Development / Newbie & Debugging Questions / Re: Whats stopping people from changing code in the client application on: 2012-12-17 14:04:40
Couldn't you have the program know exactly how large it is, to the byte and check the size to see if it's smaller or larger (been changed)
12  Game Development / Newbie & Debugging Questions / Re: Whats stopping people from changing code in the client application on: 2012-12-17 06:37:28
You could handle everything on the server, so you send key presses and it sends player positions, other player positions, players killed etc. This means that you can't hack it, because it's all done on the server side (please correct me if I am wrong Grin)
Unless they hack the server and change the program Grin
13  Discussions / Miscellaneous Topics / Re: What's your favorite game. on: 2012-12-15 10:19:17
Am I the only one who found FTL inspirational?

14  Game Development / Newbie & Debugging Questions / Re: How to make a textureLoader on: 2012-12-15 08:40:10
Thank you, it's actually a really good idea to let awt handle the decoding :3
15  Game Development / Newbie & Debugging Questions / Re: How to make a textureLoader on: 2012-12-15 08:15:54
So put it all into a ByteBuffer, how does OpenGL read the texture, top left across then down a row?

Sorry for all the questions :3
16  Game Development / Newbie & Debugging Questions / How to make a textureLoader on: 2012-12-15 07:52:22
I'm trying to cut my use of slick by making my own TextureLoader, I don't need any fancy tricks.
I was wondering if anyone had a tutorial on loading textures from PNG format

I'm currently looking through the slick source code.

In particular, once reading and decoding the file, how should it be arranged for OpenGL to use it?
17  Game Development / Newbie & Debugging Questions / Re: Wavy lines in java? on: 2012-12-15 05:33:44
Personally I believe it's best to start young, it allows the brain to adapt and grow in a way, specialise at a deeper level.
It's also nice for trying to get a job "programming since 12"  Grin

you can also use graph.tk to see how your equations will look.
18  Game Development / Newbie & Debugging Questions / Re: Wavy lines in java? on: 2012-12-15 05:19:56
Dude it's like 2 lines of code, literally
If you can't solve small problems like this without giant amounts of help from others then you shouldn't be making games.
Not "shouldn't make games" but should learn more before starting to make games.
What's what I was going to say, no-one is incapable of making a game, you just have to learn.
19  Game Development / Newbie & Debugging Questions / Re: [SOLVED] How to delete a object from the screen? on: 2012-12-12 13:49:35
It not a successful tablet Roll Eyes
20  Game Development / Newbie & Debugging Questions / Re: How to delete a object from the screen? on: 2012-12-11 12:10:33
I dont know if it's a troll

But the rectangle won't display in the next frame once you remove the glBegin call to draw it. To remove it you have to stop adding it.
21  Game Development / Newbie & Debugging Questions / Re: Gameserver makes computer sweat on: 2012-12-05 15:13:54
Thread.sleep(/* time in milliseconds */ 500); // sleep for 0.5 Seconds

It is ms right?
22  Discussions / Miscellaneous Topics / Re: Green!!! on: 2012-12-01 02:20:50
$120 per month for 200GB
23  Games Center / WIP games, tools & toy projects / Re: Projectile Motion Calculator on: 2012-11-26 11:56:42
I assume it has gravity or there wouldn't be a curve Tongue

I guess you mean a field to change the gravity N/kg
24  Games Center / WIP games, tools & toy projects / Re: [WIP] Unembra: 2DSSMMORPG on: 2012-11-26 09:56:55
Quote
what's swap?

edit: should of said sway :3
25  Discussions / General Discussions / Re: Windows 8 thoughts and suggestions on: 2012-11-26 09:26:02
I can't stand the whole, designed for your touch start menu... For that reason I need to find something to get my windows 7 theme back onto windows 8 or I stay on windows 7 Smiley

Until then, I'll keep it on my VMware
26  Games Center / WIP games, tools & toy projects / Re: [WIP] Unembra: 2DSSMMORPG on: 2012-11-25 13:41:49
What about a tiny bit of sway, just a few pixels, so it seems less static
27  Discussions / General Discussions / Re: Getting myself to program.. on: 2012-11-22 16:29:44
I have a similar problem, because I have such a large interest in two fields of computing... Programming and Design of the architecture. I'm sure they will both help each other, I'm currently doing a Computer Architecture course at CourseRA and soon will be doing the heterogeneous parallel programming course which starts in two days. PS they're all free Smiley

I've actually learn about the architecture of the Java Virtual Machine, as I said they'll help each other. I don't know if it's a curse or a blessing to want to know all the little details, because I can spend hours on a redstone simulator designing my own ALU with memory.

It's also interesting that the music I listen to also changes with the mood I'm in, Heavy metal when it's computer architecture and Dubstep when it's programming, D: must be government brain control through music.
28  Games Center / WIP games, tools & toy projects / Re: [WIP] Far From Home [Alpha 0.5] on: 2012-11-20 16:20:18
You're making some nice progress Cheesy
29  Discussions / General Discussions / Re: What do you look like? on: 2012-11-20 14:05:53


At a good day of school.
30  Game Development / Game Mechanics / Re: Perfect collision system (in LWJGL) on: 2012-11-19 13:45:23
What id personally do is create a polygon boundary box and have a list of all the points and create a if statement with the conditions being set as equations to determine if the point is inside. (It's called linear programming, wiki should help you understand this) and then check the points of one polygon to the condition of the conditions of collision. Example if you have a line with points 0,0 and 1,0 with a boundary box with points 0,0 0,1 1,1 and 1,0 then you would check each point with if( x < 1 & x > 0 & y > 0 & y < 1) where x and y are the point cordinates. You could use two polygonswith both of their points and conditions. I have a self made doc explaining it with picture but its not with me.
Pages: [1] 2 3 ... 6
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Browse for soundtracks for your game!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (81 views)
2013-05-17 21:29:12

alaslipknot (91 views)
2013-05-16 21:24:48

gouessej (122 views)
2013-05-16 00:53:38

gouessej (114 views)
2013-05-16 00:17:58

theagentd (126 views)
2013-05-15 15:01:13

theagentd (113 views)
2013-05-15 15:00:54

StreetDoggy (158 views)
2013-05-14 15:56:26

kutucuk (180 views)
2013-05-12 17:10:36

kutucuk (180 views)
2013-05-12 15:36:09

UnluckyDevil (187 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.087 seconds with 20 queries.