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 (408)
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 ... 25
1  Game Development / Newbie & Debugging Questions / Re: LibGDX - Gradient looks weird? on: 2013-04-29 05:10:57
OpenGL on Android might use 575 when rendering! It doesn't matter if you set it to use 888. However, you can try to enable dithering (GL_DITHER?) and see if that helps?
2  Game Development / Shared Code / Re: Beware of Enum.values()! on: 2013-03-12 08:55:29
Also, addAll(...) in ArrayList creates a new array each time before adding the elements!

http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b14/java/util/ArrayList.java#ArrayList.addAll%28java.util.Collection%29
3  Games Center / Featured Games / Re: Desert Stormfront - Real-Time Strategy (RTS) on: 2013-02-08 03:05:37
If you have Desura, I could send you a promo code for free!? Please message me if you like  Grin
4  Game Development / Newbie & Debugging Questions / Re: Using libgdx for multiple platforms? on: 2012-12-30 04:38:00
Yes, with libgdx you can port to Windows, Linux, Mac, Android, iOS (yes!) & HTML5.  Grin

Have a look at the demos too. superjumper for example has been ported to all platforms that I listed above:
https://github.com/libgdx/libgdx/tree/master/demos/superjumper
5  Game Development / Game Play & Game Design / Re: Proper positioning of Listeners. on: 2012-12-28 19:36:03
Yes, you can just add listeners to the JPanel (you don't need a JButton) and it should work fine. Anyhow, generally, your code looks it should work, but maybe there is another panel overlapping that's why mouse clicks aren't registering?

Quote
Currently I have it so that each Screen is it's own object and there is one listener to deal with everything. I was thinking though that maybe I should have one listener in each Screen class that is specifically programmed to handle that one screen's reactions.
I would suggest add one listener to each JPanel/JComponent you want to receive mouse events from. Very hard to maintain if you try to squeeze everything into 1 listener.

Quote
I learned in University about Model View Control architecture, and we always had listener classes as separate classes.
If you consider listeners in the "Control" part that's correct. In my opinion listeners are part of the "View" but not the "Control". The listener calls the "Control" element, e.g. your ((BattleScreen)mCurrentScreen).NextTurn().

Academically speaking, considering the listener a control element is probably correct. I generally found the following works a lot easier for me:
  • Model (model of your world): your game elements, e.g. World, Bullet, Entities, Player
  • Control (to update the model): your game update loop, your screens, loading/saving games etc.
  • View (inputs+outputs): GUI, OpenGL, Listeners, Mouse, Joystick, Sound
6  Game Development / Game Play & Game Design / Re: Proper positioning of Listeners. on: 2012-12-18 10:58:26
Any code samples to post that explain it more in detail what you mean?
7  Game Development / Newbie & Debugging Questions / Re: MAC OSX Fullscreen on: 2012-12-05 18:53:18
Fullscreen Mode on OS X is a major pain. Even if you get it to work on OS 10.6 it might not work on OS 10.8.

This works, then just scale your surface to have the resolution you prefer:
1  
2  
window.setLocation(0, 0);
window.setSize(Toolkit.getDefaultToolkit().getScreenSize().width, Toolkit.getDefaultToolkit().getScreenSize().height);      
8  Java Game APIs & Engines / Java 2D / Re: GUI for active rendering in Java2D on: 2012-11-30 04:24:07
You can tell Swing to do active rendering (although the article is in the "fullscreen" section, it works under windowed mode too!):
http://docs.oracle.com/javase/tutorial/extra/fullscreen/rendering.html

Here is how to disable passive rendering:
Quote
Use the setIgnoreRepaint method on your application window and components to turn off all paint events dispatched from the operating system completely, since these may be called during inappropriate times, or worse, end up calling paint, which can lead to race conditions between the AWT event thread and your rendering loop.
9  Games Center / WIP games, tools & toy projects / Re: Heroes' Keep on: 2012-11-28 04:06:54
Looks great so far  Grin
10  Games Center / WIP games, tools & toy projects / Re: Stickmen Wars 2 (WIP) on: 2012-11-23 08:29:00
Looks great so far  Grin

You got a twitter feed too?
11  Games Center / Featured Games / Re: Desert Stormfront - Real-Time Strategy (RTS) on: 2012-11-21 09:21:16
As of today the game has also been released on iOS. The games use the excellent libgdx framework which made porting from Desktop/Android to iOS a breeze.  Grin

Store/Download Links:

Special Thanks:
12  Games Center / Featured Games / Re: Desert Stormfront - Real-Time Strategy (RTS) on: 2012-11-13 12:13:28
@Gornova: You should take over the bases with the Humvee!

@kappa: Thanks for the feature  Grin
13  Java Game APIs & Engines / JavaFX / Re: Where is JavaFX on my system? on: 2012-10-11 09:15:47
There are plans to open source JavaFX by the end of this year!

https://blogs.oracle.com/javaone/entry/at_the_java_demogrounds_javafx
14  Java Game APIs & Engines / Engines, Libraries and Tools / Re: Libgdx on iOS on: 2012-10-11 08:48:23
yep, things are slowly coming together  Grin
15  Games Center / Featured Games / Re: Desert Stormfront - Real-Time Strategy (RTS) on: 2012-09-27 17:41:41
OK, let me give you guys some insights. I just released the game, so some of my comments apply to the predecessor (Tropical Stormfront) I released about half a year ago.  Smiley

What Went Right

1) On the technical side the game is implemented using libgdx & OpenGL ES 2.0. Using libgdx development was a breeze! I can highly recommend it.
2) I use getdown for deployment on Desktop; I had some technical problems initially but managed to eventually fix them all. I can definitely recommend it over webstart!
3) Development overall went well. Also, I had a great artist I worked with (Nick Lee) who did an excellent job; also provided some feedback regarding game-design (couldn't have done it without him). Unfortunatley, he is planning to get a full-time job soon so... :/
4) After I implemented the AI I actually enjoyed the game myself (I am aware I am biased). I believe I played the Hawaii invasion about 20x until I finally beat it - not because I had to but just because it was a challenge. Anyhow, I thought the AI turned out pretty well (biased again).
5) The game got a great rating on Android (and generelly very mixed ratings for Desktop: either good or very bad).

What Went Wrong

1) I guess the biggest mistake I made was to create an RTS game. It's a lot of work, especially the real-time AI, balancing the units, animated graphics, real-time collision detection and movement, network-play (cross-platform), making it run at decent speeds on Android etc. I have been asked several times so far to make it a turn-based game. Also, I have been told several times how it wouldn't compare to C&C (mostly from Desktop players). Should have made a turn-based game/platformer instead.
2) Desktop sales (especially for Tropical Stormfront the predecessor) have been abmissal. I don't except it much different for Desert Stormfront. Android sales haven't been great either, but a lot better than desktop. At least on Android the players seem to generally enjoy the game.
3) The name of the game. Also the scenery. Not sure if the Middle East was a wise choice.
4) I should have played more RTS games beforehand. Things have change a lot since I played Red Alert.
5) I should have done a lot more testing with especially Desktop players. I think I'll try to find some testers for my next game a lot earlier on. Not just a few weeks before I am done with the game to get some insights into game controls, functionality etc. On the other hand it takes a lot of time to find willing individals for testing let alone getting useful feedback.


@appel re-gfx: I worked with "Nick Lee" (from London) - great artist. Also very responsive. I believe he used 3D Studio for the units/structures and rendered them out to 2D isometric. The tiles have been done by hand. I used Photoshop to grid them up etc.

16  Games Center / Featured Games / Desert Stormfront - Real-Time Strategy (RTS) on: 2012-09-26 06:16:06
Hi, I have just released Desert Stormfront, a real-time strategy game inspired by the turn-based "Classic Empire" wargame by Walter Bright. Units and structures are modeled after the original following a rock-paper-scissors system. Unit movement is in real-time similar to the classic "Command & Conquer" albeit simplified aiming at a game that is easy to learn but difficult to master.

Desert Stormfront takes place in present-time Middle East. The player assumes command of the Western coalition and fights real-time battles for control of cities and oil fields in Iran, Iraq, Saudia Arabia and Afghanistan. Maps are based on real-world locations in the Middle East. The story is fictional (as of this writing). The game supports cross-platform multiplayer matches over LAN and internet including co-op multiplayer.

Features:
- Real-Time Strategy (RTS) in the Middle East
- Single Player and Multiplayer (over the LAN and Internet)
- 30 Campaign Missions incl. Scoring/Rating
- Random Map Generator + Skirmish Maps
- Modes: Attack, Defense, Capture the Flag & Convoy Missions

Release Date: Sept. 26, 2012
Platforms: PC, Mac, Linux, Android & iOS
Available: via game's website (PC, Mac, Linux) | Google Play (Android) | Apple iTunes (iOS)

UPDATE: ported to iOS via libgdx - in iTunes since Nov. 21, 2012!

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

Screenshots:




17  Game Development / Shared Code / Re: YUNPM - a Java Media Player on: 2012-08-22 07:12:09
@Riven: just here to say great work  Grin
18  Java Game APIs & Engines / Engines, Libraries and Tools / Re: Creating a cross-platform launcher on: 2012-08-15 18:22:11
It's under ~/.config/<package-name> on Ubuntu.

Ubuntu App Developer Guide:
http://developer.ubuntu.com/publish/my-apps-packages/

19  Games Center / Featured Games / Re: Tropical Stormfront (RTS) on: 2012-03-27 07:07:12
Thanks for featuring the game!  Smiley

The game review is correct - the game controls are simply hideous on Desktop. I have spent a lot of time updating the mouse controls/key shortcuts but it's a guess little late after the game has been reviewed. I'll push up an update later this week. I guess I should have done my research ahead of time  Undecided

I added multiplayer too. It's a mistake not adding it no matter if people are actually using it or not. If one of you guys is interested in testing it out, here is some more information:
http://blog.noblemaster.com/2012/03/24/tropical-stormfront-multiplayer-beta-test/
20  Discussions / Business and Project Discussions / Re: Can I have an Experience poll? on: 2012-03-09 18:38:56
Time with JavaGames MadeDeveloped IdeasNot so developed ideasLearningEducationAgeIn collaborationNeed collaborationLocation
15 years~20~5~30game design/path findingPh.D. in Computer Sciences37with artist & modderdependsTokyo
21  Games Center / Featured Games / Re: Tropical Stormfront (RTS) on: 2012-03-07 17:43:53
Publishing the game on Desura worked great! The web site/client are well done in my opinion. There were a few times when I got confused (what's a MCF?) but they guys from Desura helped explaining it all. Uploading all the files took quite some time though. I hope I don't have to go through it again...
22  Games Center / Featured Games / Re: Tropical Stormfront (RTS) on: 2012-03-06 13:26:29
I finally managed to release the game on PC/Mac/Linux too!

If you want to try the full version, I can send you a license key for Desura, just ask!  Grin
http://www.desura.com/games/tropical-stormfront
23  Discussions / General Discussions / Re: Strike! on: 2012-01-18 11:49:45
Indeed - we can just hope enough people will join the strike and it will have a big enough effect to both stop SOPA & PIPA.
24  Discussions / General Discussions / Re: Strike! on: 2012-01-18 11:40:08
Yep Grin  I have taken my sites down! And sorry, the Java Game Tome is down too...

Noble Master Games - http://www.noblemaster.com/
Age of Conquest - http://www.ageofconquest.com/
Multiplayer Hub - http://www.multiplayerhub.com/

It's not much though - about 1500 daily visitors that will be affected...
25  Games Center / Featured Games / Re: Tropical Stormfront (RTS) on: 2011-12-20 18:19:28
The game has been released on Android!  Cheesy

http://market.android.com/details?id=com.tropicalstormfront.android.lite
26  Games Center / Featured Games / Re: Tropical Stormfront (RTS) on: 2011-12-11 06:04:01
I updated the game description - I need volunteers to test it on Android (please read above)  Grin

@gouessej: yes, it's somewhat similar to Red Alert, although the units are different. Given the memory/graphics/processor etc. limitations on Android, I slightly had to scale it down in scope.  Grin
27  Games Center / Featured Games / Re: Tropical Stormfront (RTS) on: 2011-07-26 03:07:53
The goal is to keep it fast enough for Android (+ later iOS), so yes, it should run fast enough on older computers too!

I hired a graphics artist (Nick Lee) for the images. Nick Lee is definitely worth every penny. Highly recommended! Here is his portfolio:
http://nickrlee.carbonmade.com/projects/2734784#9
28  Games Center / Featured Games / Re: Tropical Stormfront (RTS) on: 2011-07-24 19:45:14
I am actually planning on getting a webstart version ready in the near future! Still, I have to finish some game-play functionality before it's ready for testing. I'll post more in the future.
29  Games Center / Featured Games / Re: Tropical Stormfront (RTS) on: 2011-07-24 14:33:17
Yes, it's actually somewhat similar to Red Alert, however very simplified compared to Red Alert!

Mhh, how about that (using imgur instead):
30  Games Center / Featured Games / Re: Tropical Stormfront (RTS) on: 2011-07-23 05:18:44
Can you see it when you go here: http://imageshack.us/photo/my-images/841/tsf.png/ ?
Pages: [1] 2 3 ... 25
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars and Titan!

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 (106 views)
2013-05-17 21:29:12

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

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

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

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

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

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

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

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

UnluckyDevil (209 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.158 seconds with 20 queries.