Eventually, I will need a partner to help me optimicate my ASTEROIDS program. not right now, but sometime in the near future, any one want to help?
If you post your code here or send me a message, (I don't know how wikidot messages work,) I'll try and optimize it for you if I can.
But if you go to Weregoose, it'll be a lot better.
its not done yet. still want to see it?
I could try to, but I don't really like modifying code I didn't write since I don't have it down in my head as well.
I understand. its a really versitile code tho. prolly hard to follow.
I cant optimise cour code, but I give you the tip to use comments in bigger programms and seperate different Block by using empty lines.
edit: Comments can be made with "
One extra tip on commenting for the people big on optimization:
If you're really big on optimization, you'll use Ans as often as possible rather than using a variable 'cause it saves 2 bytes every time you use it. Also, Ans is a little faster.
But commenting with quotes puts the comment string into Ans. If you don't mind the 2 extra bytes for it, use:
:If 0 :Comment
And for multiple lines:
:While 0 :comment line 1 :comment line 2 :comment line x :End
Nothing gets put into Ans that way. :)