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 (416)
games submitted by our members
Games in WIP (306)
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 / WIP games, tools & toy projects / Re: Pink Point on: 2012-08-20 22:15:21
And also a new gameplay video
<a href="http://www.youtube.com/v/3k9b7pAlnkE?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/3k9b7pAlnkE?version=3&amp;hl=en_US&amp;start=</a>
2  Games Center / WIP games, tools & toy projects / Re: Pink Point on: 2012-08-17 21:36:35

I'm working on the background...
I'm not sure about this stuff. The shapes are parallax layers and rotate similarly.
3  Game Development / Newbie & Debugging Questions / Re: ArrayList vs LinkedList on: 2012-08-13 01:58:03
Another tangent! Code quality doesn't mean diddly squat. Shipping games is what's important. The qualities I admire most in code is that it works and I can move on to the next thing to get the game out the door.
I agree with you. I try to write the simplest code possible without sacrificing speed.
But writing a new List implementation for an Updatable List require time, and I'm probably not going to get it perfectly at the first try. You may be able to do it on the fly, but that's not my case. That's extra work I could put on something with a higher priority.

I write simple code. Simple code is easy. Why should I want to make it more complex ? Dumb code = good code.
As long as dumb doesn't mean slow.
4  Game Development / Newbie & Debugging Questions / Re: ArrayList vs LinkedList on: 2012-08-12 01:40:50
Hm. First you say that the point is code quality, not speed, and you should only optimize bottlenecks, and then you start giving advice on using data structures that you haven't even worked with or benchmarked yet...
Because the point IS code quality, and because I haven't run on speed problems by now ?
If you really have to optimize speed, you should do your own test and check where the bottlenecks are. Because the data structure for your updatable list is probably not the cause: nobody gain 20 FPS by switching his LinkedList with two ArrayList.
But sure, it probably help if you want to run your game on a lower end PC.

As a matter of fact I did my own benchmark on this matter. Most of the time, the gain between using an ArrayList and a LinkedList is negligible. Even with a simple iteration (296 ArrayList / 315 LinkedList), which I just tested right now.
And by negligible I mean negligible on a modern PC, don't get me wrong.

What I haven't benchmarked yet is the potential speed gain of using a LinkedList to remove objects during the iteration.
I think the gain is so negligible I should'nt bother with it at all. Athough that's just a theory, as I said I should write a benchmark to be REALLY sure about it.
5  Game Development / Newbie & Debugging Questions / Re: ArrayList vs LinkedList on: 2012-08-12 00:48:47
Clean code should be the main priority. The first rule of optimisation is "don't optimise if you don't have to".
But if you can optimise on the fly (using a LinkedList for an "Updatable" List for instance) without writing more code, what's the point of not doing it ?

I used a LinkedList for my Updatable List because that's probably faster than a single ArrayList (I remove a lot of Updatable entities and the list can get pretty heavy at times).
Two ArrayList are probably faster than a single LinkedList. But my code run fairly fast for the moment, why would I should optimise it now ? Premature optimisation may cause bugs, and in this case lead to ugly/verbose code.
I don't think data structures are really that important. In this exemple, how many FPS do you think we could gain by using two ArrayList ? Do we REALLY need to write the code (potentially more bugs and more loc) with two ArrayList ?
Though I'm not sure about this, I should write a benchmark.

You have to figure out where the real speed bottlenecks are. If you are writing a particle engine, chance are you could double the FPS by sorting the Renderable List using Textures to avoid unnecessary bindings.


You could write your own ArrayList implementation with a faster O(1) remove method (switch with the last element and decrement the size). In my case I don't care about the order.
Also I heard somewhere that using a for loop with an int and the get method is A LOT faster than using the iterator of an ArrayList. I didn't tested it but it could help some people here.
6  Games Center / WIP games, tools & toy projects / Re: Pink Point on: 2012-08-11 05:16:05
Don't bother with animated PNGs... Just use a sprite sheet. Load time will be faster, it will require less GL texture binds (i.e. more performance), and it will allow you to batch your sprites in a single buffer (again more performance).
Yeah... That's definitely one of the thing I would have done differently if I knew about it sooner. Sad

The game looks so manly but why pink? Grin
My main source of inspiration is the film "From Beyond", released in 1986. You can watch the trailer here: http://www.youtube.com/watch?v=zgZuCXY-vR8
That's where the pink palette come from Tongue I wanted to recreate that weird "feel" from the movie.
7  Games Center / WIP games, tools & toy projects / Re: Pink Point on: 2012-08-11 02:05:24
Maybe make the numbers go transparent as they get bigger?
I don't want to make the numbers transparents (apart from the fade out) because translucent text doesn't seems like a good idea to me. I'll try it though !
Maybe some kind of "4*24" instead of four "+24"... I'll think about it.

Why are you using JavaPNG? Slick-Util already uses MatthiasM's PNGDecoder to decode PNG files Wink
To decode animated PNG ! Wink
Those will be used for animated sprites/decals, placed with the map editor (night moths around light, fireplace lighting, etc).



I'll try to make a short video to show visual effects I made lately. Mainly metaballs and refraction shader.
8  Games Center / WIP games, tools & toy projects / Re: Pink Point on: 2012-08-11 01:31:11
Thanks for the positive remarks !

...although it looked like the blackness might get intrusive. Of course, if it is an action game, planning wouldn't be a problem.
What do you mean "planning" ?
Also I'm probably going to change the black background for a proper background, with geometrical shapes and parallax scrolling.

I did think the floating numbers might obscure the action at critical points.
You make a good point here. It doesn't bother me ingame, but I'll try do do something.

Can you please give some details about the librairies you used ? ( or not used .. )
LWJGL (OpenGL/OpenAL, Util), Slick-Util, JInput, JOgg/JOrbis and JavaPNG
I'll upload a screenshot, thanks Tongue
9  Games Center / WIP games, tools & toy projects / Pink Point on: 2012-08-10 23:48:27
Hi !
I'm French so my english may sound bad, sorry about that Grin

I'm currently making this game called Pink Point, since 1 year and a half.
It's a 2D scoring action game, playable in the browser (LWJGL applet).

The gameplay itself is pretty simple. It's a top down shooter, you have a weapon and you can cast spells. You kill monsters to increase the score multiplier. When monsters die, they drop a certain number of gems, which you have to take to gain score points. The game is playable with 1 player, or 2 players on splitscreen (coop or versus).
I'm trying to make this game as fluid and dynamic as possible.

I don't feel comfortable with releasing the game yet because I still have a lot of work to do. Clueless
Be sure you'll be the first informed about the beta though.
Here is a short gameplay video:

<a href="http://www.youtube.com/v/LQBzc73IFMI?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/LQBzc73IFMI?version=3&amp;hl=en_US&amp;start=</a>

And a screenshot  Grin



A lof of sounds are placeholder and are taken from various games.
Feel free to tell me what you think !
Pages: [1]
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!
mrbenebob (11 views)
2013-06-19 14:55:23

BrassApparatus (19 views)
2013-06-19 08:52:37

NegativeZero (23 views)
2013-06-19 03:31:52

NegativeZero (26 views)
2013-06-19 03:24:09

Jesse_Attard (29 views)
2013-06-18 22:03:02

HeroesGraveDev (65 views)
2013-06-15 23:35:23

Vermeer (65 views)
2013-06-14 20:08:06

davedes (66 views)
2013-06-14 16:03:55

alaslipknot (59 views)
2013-06-13 07:56:31

Roquen (82 views)
2013-06-12 04:12:32
Smoothing Algorithm Question
by UprightPath
2013-05-28 02:58:26

Smoothing Algorithm Question
by UprightPath
2013-05-28 02:57:33

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
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!