Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Cool effect
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
pj_ladd12




PostPosted: Thu Aug 03, 2006 9:23 pm   Post subject: Cool effect

Can someone maybe give me an idea of how I can turn this into a game! thx

code:

setscreen ("offscreenonly;graphics:600;500;nobuttonbar;position:100;100")
var x, y, x2, y2 : real := 200
var angle : real := 0
var col : int
loop
    colorback (7)
    cls
    for i : 1 .. 12
        drawbox (round (x - cosd (angle) * i), round (y - sind (angle) * i), round (x + 10 + cosd (angle) * i), round (y + 10 + sind (angle) * i), i)
    end for

    angle -= 1
    View.Update
end loop
Sponsor
Sponsor
Sponsor
sponsor
Cervantes




PostPosted: Thu Aug 03, 2006 11:22 pm   Post subject: (No subject)

Please DON'T post "omfg sooo trippy cool flashes!"
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: