Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (580)
games submitted by our members
Games in WIP (499)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 [2]
  ignore  |  Print  
  An Adventure Game - WIP  (Read 9156 times)
0 Members and 1 Guest are viewing this topic.
Offline Nyhm

Senior Member


Medals: 3
Projects: 1


Island Forge


« Reply #30 - Posted 2012-04-11 20:47:36 »

Just a tidbit of advice - don't worry about performance until you've proven that it's necessary to tweak. That is, implement whatever you want using TCP, thread-per-connection handling, per-pixel (twitch) movement, full broadcast, etc. Then, figure out if it's to slow, and only speed up what is needed. Or, make game design decisions that work around the performance issues (maybe there's nothing wrong with discrete movement).

Navigation in my game isn't perfect, but it's fairly simple. Movement is, indeed, discrete steps, but the GUI fills in the step-by-step position with a smooth animation. That way, the networking doesn't care what pixel you're at; just what (much larger-grained) nav coord you're on.

Certainly it's good to think ahead when designing your architecture, but that'll come with experience. If you have the time to experiment, just take it step by step and learn along the way.

Island Forge: Create Islands with Stories for Others to Explore!
Free-to-Play with Membership and Upgrade options!
Offline Cruiser

Junior Member


Medals: 1
Projects: 1


Twitter: @totallymorten


« Reply #31 - Posted 2012-04-12 08:35:30 »

@Nyhm - Of course you're right. Many games fails because we programmers do too much "gold plating" and focus on the last 5 % of the game, instead of focusing on the gameplay.

Your suggestion about smooth animation transistion between tiles is defninitely something I'm thinking about, and is a very good suggestion. At least it could be an intermediate steps towards smooth movement.

If anybody tests the multiplayer code - please tell me how it "felt" :-).
Offline Nyhm

Senior Member


Medals: 3
Projects: 1


Island Forge


« Reply #32 - Posted 2012-04-12 15:40:59 »

I ran your game last night, but only ran one client. I think it felt the same as the prior version, which implies that the client-server code works fine. One time I swear I walked _through_ a zombie without attacking it, but maybe it side-stepped and I missed the movement (it was at night). I still became dominated by zombies in about 1 night.

Island Forge: Create Islands with Stories for Others to Explore!
Free-to-Play with Membership and Upgrade options!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Cruiser

Junior Member


Medals: 1
Projects: 1


Twitter: @totallymorten


« Reply #33 - Posted 2012-04-12 18:04:02 »

Nice!! :-)))

@Nyhm - Thanks a lot for the feedback.

The "moving through a zombie" bug has been verified, will fix :-).
Pages: 1 [2]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

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

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (42 views)
2014-04-15 18:08:23

BurntPizza (38 views)
2014-04-15 03:46:01

UprightPath (54 views)
2014-04-14 17:39:50

UprightPath (36 views)
2014-04-14 17:35:47

Porlus (53 views)
2014-04-14 15:48:38

tom_mai78101 (75 views)
2014-04-10 04:04:31

BurntPizza (134 views)
2014-04-08 23:06:04

tom_mai78101 (234 views)
2014-04-05 13:34:39

trollwarrior1 (195 views)
2014-04-04 12:06:45

CJLetsGame (203 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30
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!