Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Gamping Platform (100% JavaScript)

Status
Not open for further replies.

azoundria

Programmer
Feb 26, 2009
1
0
0
CA
I wanted to get some people to help test out a game platform:


The whole purpose was to push the limits of what can be done with just JavaScript. So no Java/Flash is needed or used. I've tested on Firefox and Internet Explorer.

This is just a simple demo game with only one building and a couple resources. There are a few surprises in later levels (not telling), but it's mostly to help test the platform. The final game will have many more buildings and items, and be playable online in an unbounded world.

Controls:
Space - Switch mode.
D - Demolition mode. For demolishing things to make space for farms.
H - Harvest mode. For harvesting crops or trees by clicking on them.
F - Farm building mode. To build farms. Click to place a farm.
M - Move mode. In this mode you can use the left mouse button to drag yourself around the world.
Middle Mouse Button - Use this to move around, in any mode.
Arrow Keys - Another way to move around.

There are 4 levels, plus a bonus one, which you can keep playing as many times as you want.

What I'm hoping for:

1) Bugs, glitches, issues, lag, etc...

2) Someone who can help with graphics.

3) If someone knows how to build a good terrain generation algorithm.

4) Ideas for the future of the game.

5) You to enjoy it.
 
I've not had a chance to look over your game yet, but thought you might find this URL useful anyway:


The URL is for the DHTML/JavaScript forum at Ozone Asylum, a forum that I've found very useful many times before.

There's always some talk of JS code optimisation going on, or 20 line / 1K competitions with details of how to optimise loops, code, etc, and it's frequented by some very clever coders who do all sorts of tricks that never cease to amaze me. One thread a while back went into CPU optimisation... something I've never thought about since I stopped coding 80x86 assembler language!

Hope this helps,

Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

[blue]@[/blue] Code Couch:
[blue]@[/blue] Twitter:
The Out Atheism Campaign
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top