QUOTE (kalan_vod @ Jul 16 2006, 12:11 AM) |
...if you would like I could show some code for one. |
QUOTE |
Second question: how would you make something move radially around a point (IE, the center of the screen) on the homescreen (not the graphscreen), so say in a "defend-the-castle" style game where you could have to shoot all the enemies coming your way, how would you rotate a character around whatever's in the center of the screen? |
QUOTE |
:ClrHome :"OO :Output(4,8,Ans :Output(5,8,Ans :10 :3,9,3,Ans,4,Ans,5,Ans,6,Ans,6,9,6,8,6,7,5,7,4,7,3,7,3,8→L1:3→A:Ans→C:9→B:Ans→D:1→E :Repeat θ=45 :Output(C,D," :L1(2E-1→A:L1(2E→B :Output(A,Ans,". :Ans→D:A→C :Repeat Ans :getKey→θ :End :E+(Ans=26)-(Ans=24 :Ans+12(‾(Ans=13)+not(Ans→E :End |