'Elroids' Developer Notes.

Source access

There is a, currently private, github repository here.

Alternatly it's all just script. You can 'inspect'/download the code from your browser.

There is also a facebook discussion group here. If you want github access please join this and post a request to be added.

Known bugs

The 'Test Universe'

If the game is launched with parameter 'rockCount="0"' a 'Test Universe' is generated.

This contains a populated Universe and Ship with test versions of most things. Can be used for code testing.

"'Someone else' can add unittests later." ... as 'idiots' like to say :-)

For notes on code operation/stucture see the Developer Code notes..

ToDos (In some sort of priority order)

V11.x Improve NP ships

To decrease memory footprint deactivate systems when ship not in them. Use To/FromJSON mechanism to compress them into a text image.

Less 'wild' navigation. Modify navigateThroughDest() to add lead. Possibly common code with attack().

Check in fwd arc for collision avoidance. Build into existing collision detection so dont need a 2nd pass. Ray tracing wont work because wrap graphics round is done rel player ship NOT NP ship.

Make miners less stupid. Dont charge in before all sub-rocks destroyed.

V12.x General tidy up.

Allow >1 ship to dock at the same time.

Add station aproach lights. Green - OK. Red - No docking. Yellow - Bad approach.

Don't show existing hull type in purchace list.

Sort problem with extra blank lines in menu system.

Convert GoodsList and ComponentsList to use classes ... like shipTypes in NPShipFactory.

Make saucers a sub class of NPShip. Convert makeLoot() to loadRandom().

Do a sweep of use of null. In most cases change to undefned.

Modify flame cones to grow/shrink when pulsed. Not flicker.

V13.x Fix game launch problems.

Add 'loading' screen.

V14.x Add extra ship components.

V15.x Bulk up.

Add many more:

Documentation.

Add screen shot with various display panels labled.

Add images (screen shots) of Items in place of game logo.

General 'good stuff' ... Post V15.0