Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (475)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (530)
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  Java Game APIs & Engines / Java 2D / Re: UML for Games on: 2003-07-31 18:20:36
Ok, I know that. My propose is to make something like, put all togheter on the same Diagram.  Like WYSIWYG. Smiley

And not pumping diagrams for each stuff all over. I don't know if this is possible, is just a newbie's idea. Smiley

I dream with a diagram that I could see the game itself. Just waiting for been coded. Wouldn't be a great thing?
2  Java Game APIs & Engines / Java 2D / Re: UML for Games on: 2003-07-31 14:27:23
It would be a kind of Diagram that you could see everything. Visualize the events that users can dispatch, and what they would do with the game state.
How loops would take different ways, and all that stuff.

Maybe a UGML??? UGameML. Smiley

I don't know, maybe I drunk too much Coca-Cola having fun at Lan House. Smiley
3  Java Game APIs & Engines / Java 2D / UML for Games on: 2003-07-30 23:42:21
Sorry about posting this topic here. But I believe this is the most section people read at Gaming forum.

Is there any way to model a game using UML? If it is, can someone give us an example? I can't see the loopings, actions, events and interactions inside any kind of diagram. (The most closest I think I could use is the Sequence Diagram, but I still can't visualize a Game Diagram... )

sorry about the off-topic.
4  Game Development / Performance Tuning / Re: Multi-thread Applet, for timeleft measure? on: 2003-07-30 13:00:34
Ok, backing to the real problem. Smiley

So, any ideia on how to make timeleft measure, for example, to the next round? A single round take 6 min, and from one round to another, it can take for least, 1 min.  My question is: can I use a separated Thread, inside my applet, to do something like this:

Applet .. {
 ... new TimerThread(this);
}

TimerThread ... {
 run() {
   ...
    timeleft--; // 1 sec less
    Thread.sleep(1000); // sleep 1 sec.
     updateApplet(); // draw to the applet the new timeleft value
 }
}

Like I said before: I read on somewhere else, that it's not a good idea to work with multi-threads in an Applet.
5  Game Development / Performance Tuning / Multi-thread Applet, for timeleft measure? on: 2003-07-30 00:22:53
Hi all.

I'm starting with game development right know, and i'm stuck with some doubts. I have my client loading an applet, and I make it Runnable. Fine, but I read somewhere that it should not have any other threads inside an applet, except the Thread that owns the Applet. Ok, now here comes my doubt:

Inside run(), I make animations. Great, but there is a special Object that computates the timeleft for the next round, but it inherits from Thread class.  Is there any best practice to get the same results? Show timeleft for next round, without stop animations and without loose time sync? (Showing the time making time - 1 sec, always).

Thankz fokes... Smiley
Pages: [1]
 

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

The first screenshot will be displayed as a thumbnail.

Riven (4 views)
2014-07-23 21:16:32

Riven (6 views)
2014-07-23 21:07:15

Riven (6 views)
2014-07-23 20:56:16

ctomni231 (40 views)
2014-07-18 06:55:21

Zero Volt (36 views)
2014-07-17 23:47:54

danieldean (30 views)
2014-07-17 23:41:23

MustardPeter (32 views)
2014-07-16 23:30:00

Cero (47 views)
2014-07-16 00:42:17

Riven (48 views)
2014-07-14 18:02:53

OpenGLShaders (38 views)
2014-07-14 16:23:47
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
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!