It's been a while since I posted anything new, but I've started updating my old physics demo into a more complete game. There's lots of open issues and missing features but the current version is reasonably playable (even had a relatively successful internet game ). The game is essentially about racing a little truck around a 2D world to the finish after having collected the stars littered around the level.

I'd really like some feedback on what works and what doesn't. There are however plenty of known issues including:

Skinning the trucks is a little too flexible at the moment. It's possible to cheat by creating interesting skins and the networking isn't clever enough to sync up player skins yet

Graphics are generally pretty average, but at least nothing is ripped this time Apart from maybe some user contributed truck skins

The levels are just test ones. They're ok fun, but nothing designed

Controls are sensitive and not to everyone's taste. This game isn't intended to be the same as one of the many motorcross games though so keep an open mind. There have been some impressive times recorded even with current control system.

There arn't any dynamic objects in the environment, this will come in time probably

Any and all feedback richly appreciated. Especially crashes with logs, performance issues and platform issues.

Notes on custom truck and level designing will be coming soon, or maybe I'll convince one of the guys who have been playing already to post

Any ideas for any of the following would also be appreciated:

Multiplayer game formats that work with the trucks

Powerups for the trucks

Skin extensions - what about multi wheeled trucks?

Website and Online features that might be fun

The webstart will be updating all the time so apologies if it's broken for short periods. Never know quite how to end this sort of post, so I just will. Thanks for any testing or suggestions in advance.

What's the point of reversing the truck other than to get the art to look right, though? Could it be changed so the truck automatically changes direction when driving backwards?Also, the penalty for falling off the level seems a bit high.. enough for me to give up on the second level.

Reversing - yeah, it's been debated a bit. The truck should probably drive slower in reverse too. At the moment there are slight advantages to taking jumps in reverse since the truck moves differently through the air when in reverse. From a purely cool factor, the brake lights wouldn't work if the truck just changed direction on turn.

Penalty - yep. Noted. Might resetting to the last know "safe" position work - just determining that might be a bit annoying.

- Adding hoops; when you jump through you get extra points.- Springs that launch you into air when you drive over them (avoiding them by jumping over)- For the multiplayer modus, being able to shoot or drop mines or something (through powerups) always adds an extra twist

Cool.. Very nice! (as usual for your games Kev)..Reminds me a little of Line Rider (Sorry guys,, I do play Flash games sometimes, tut!)Would be nice if you could design your own track (similar to Line Rider, maybe by drawing lines, rather than using Images) altho apprecaite this could be tricky..Steve

* Allow sharing of custom skins via the network. Design your skin and then play online.* Allow sharing of custom levels via the network.* Swap levels after a set period (default 5 minutes play). * Point scoring - currently get a point for having the best time for the level after a period.

Some observations:- Key presses instantly cause action on the truck (very cool, makes the game feel reactive and solid)- There's a half-second lag until one game sees the other's movements, even when there's no latency at all (I assume that the 1/2 second is the default latency? What happens if latency is more?)

Something I was wondering, are there any synchronization updates sent from server to client, besides key presses? Because since the player's actions are incorporated straight away in the first game, and then there's a half-a-second lag until the other player sees what's happening, the two worlds will be out of sync? Is this why the map is static and players can't interact with one-another?

Also, if this was a racing game and both players pressed 'go' at the same time, would each think he is winning?!

There's no intentional lag between clients. Infact, if I run two here locally they move at the same time. I think you might be thinking I'm using that simulation method here and I'm not. I'm simply brute forcing updates across the network atm. Interesting to hear you're getting half second latency between two local clients - you should get 200ms between updates at the moment, I guess that might be the lag you're seeing.

The 200ms stops the TCP backend getting swamped by updates.

Quote

Also, if this was a racing game and both players pressed 'go' at the same time, would each think he is winning?! Cheesy

This makes no difference in this particular game, see trackmania nations. The players are racing to get the "best lap time", whether someone else is ahead or not doesn't matter. Since the lap clock resets every time you restart the level it's all about *your* time, not your relative position.

Network approach is really primitive just because I don't want to deal with cars bouncing off each other:

200 ms delay + interpolated 200 ms (since without dead reckoning you have to interpolate between the last two updates) = 400 ms delay, which is close enough to the half second delay CommanderKeith saw.

A sends position - accurate at the moment of sendingB gets position instantly (close enough locally)B moves the truck to the new position within 200ms (at which point A is 200ms into a new position)

B would only be 200ms behind A's current position. Movement wouldn't be perfect but it seems to work pretty well.

Having much bigger problems at the moment with synchronizing levels and skins, but development proceeds. I did take the time to set up a simple php blog (http://www.cokeandcode.com/demos/mootox/) and post a todo list:

* New controls, you can now tilt the truck in mid-air to aid landing* Taunts - user configurable taunt strings that are activated by 1-5 in multiplayer* Network smoothing - network updates are smoothed more gracefully to give a better feel coping with lag spikes* Truck's wheels are now skinnable (along with the body, brakes and physics as before)* Connection to the server is threaded to prevent freezing* Text field issues resolved* New menu styling* Color coded chat

- Admin console for remote shutdown of server- Persistent state of best times and scores across server shutdowns- Timing issues fixed with level resets- Added a new server level- Results screen shown between levels- Ornaments added to levels to spice things up a bit

- Revamped the level select screen- Added road signs (see below)- More network fixes- Sound fixes- Added a new track - Rally Tribute (see blow)- More options for level design, background images and parralax settings are now available- Online best times recorded in single player- Started collating some user produced tracks: http://www.cokeandcode.com/demos/mootox/web/static.php?page=tracks

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