OK, here is my game.
If you have trouble finding the appropriate code let me know and I will try decipher my own program :-)
a=accelerate
z=decelerate
h=hyperspace
left mouse to fire.
c to send chat messages.
Net code is all working I think. It uses my own GNET server with 4 hour refresh.
http://members.iinet.net.au/~pmerwarth/SOS.zip
[edit]
OK here is the section that updates the sprite size.
For galax.planet=Each planet
distance#=EntityDistance (galax\marker,this)
crosssize#=distance/20
ScaleSprite galax\marker,crosssize,crosssize
If crosssize<galax\scale-1 Then crosssize=galax\scale-1
EntityRadius galax\marker,crosssize
Next
[/edit]
If you have trouble finding the appropriate code let me know and I will try decipher my own program :-)
a=accelerate
z=decelerate
h=hyperspace
left mouse to fire.
c to send chat messages.
Net code is all working I think. It uses my own GNET server with 4 hour refresh.
http://members.iinet.net.au/~pmerwarth/SOS.zip
[edit]
OK here is the section that updates the sprite size.
For galax.planet=Each planet
distance#=EntityDistance (galax\marker,this)
crosssize#=distance/20
ScaleSprite galax\marker,crosssize,crosssize
If crosssize<galax\scale-1 Then crosssize=galax\scale-1
EntityRadius galax\marker,crosssize
Next
[/edit]