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 (404)
games submitted by our members
Games in WIP (289)
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  Game Development / Artificial Intelligence / Spell effects: (Damage-Over-Time) Threading? on: 2005-11-22 22:06:51
Im designing the spells in my rpg... nukes are easy... heals are easy... but spells that change or affect the player over time are a different ball game.

My Question:

> Should i make each buff that is in my buff list implement Runnable?when they run they proceed to affect the target over time.

> I imagine this can be very taxing on the server. Is this a good way to handle it? or is there a better way?

kthnxbye

-Oryan
2  Game Development / Networking & Multiplayer / Possible to work with java.io on: 2005-01-12 12:16:34
Hello, well i have a problem. I am currently programming a multiclient server, but i dont have access to java.NIO.. so would it be possible to use java.io to do a multi client server .. kthnxbye

Oryan
3  Game Development / Networking & Multiplayer / Need Help with Basic Networking on: 2005-01-08 16:27:05
Ok.. me and my friends are coding a rpg in java.. we were going to use vb but we quickly decided not to.. i understand the whole socket concept etc..

  Well, basically my program goes as follows.. upon running it creates a server listening on port X  then on the main thread it listens for clients to connect (server.accept();)... when it picks up a client it then instanciates a new object called clientHandler which contains a thread to listen to client requests.. now to write a msg to all the clients connected any incoming msg gets sent to the method writeAll(String s) in the main program which inturn calls write of each clienthandler..... Any input?.. suggestions?

    Also, i wrote those programs and classes yet.. the server is one message behind..  now im using streams and the basic java.net.ServerSocket and java.net.Socket .. and for the handling of the streams PrintWriter and BufferedReader ... i could use some clarification of what .flush() does and .reset() .. Thanks all

Oryan
Pages: [1]
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 (42 views)
2013-05-17 21:29:12

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

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

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

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

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

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

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

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

UnluckyDevil (157 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.143 seconds with 21 queries.