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

Username:   Password: 
 RegisterRegister   
 [Help] [Blitz] my first game attempt
Index -> Programming, Visual Basic and Other Basics -> Other Basics
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
jonos




PostPosted: Wed Feb 25, 2004 6:02 pm   Post subject: [Help] [Blitz] my first game attempt

ok, since this is is a small forum for blitz, and there aren't any individual places for help and tutorials, it should be kept clean. so everyone post anything you need help with here.

anyways, what i need help with. i am trying to move around a dot for a game i want to make with rectangles and it won't work. anyone have any ideas?

Graphics 400, 400
AppTitle "Rectangles"
SetBuffer BackBuffer()

personx% = 100
persony% = 100
blank = 0

While Not KeyDown (10)
If KeyDown (200) Then
persony = persony-1
End If
If KeyDown (208) Then
persony = persony+1
End If
If KeyDown (203) Then
personx = personx-1
End If
If KeyDown (205) Then
personx = personx+1
End If
Plot x, y
Delay (100)
Wend
Sponsor
Sponsor
Sponsor
sponsor
shorthair




PostPosted: Wed Feb 25, 2004 8:29 pm   Post subject: (No subject)

Hey jonos, i made an idea for now and its simply this


[ Tutorial ] [ Blitz ] ********

[ Help ] [ Blitz ] ********

[ Game ] [ Blitz ] ********

[ Application ] [ Blitz ] ********

[ Discussion ] [ Blitz ] ********


Just place what hte thread is about , in the topic name as cervantes and i have been doing , if you dont mind that is , i think it would be better that way , so we can keep topics seperated
Cervantes




PostPosted: Thu Feb 26, 2004 5:51 pm   Post subject: (No subject)

Silly Jonos, you forgot to add Flip

In case you didn't forget and just haven't learned it yet, Flip is simply View.Update in Turing.

Also, the "Plot x,y" should be "Plot personx, persony" since that is what your vars are called.
shorthair




PostPosted: Thu Feb 26, 2004 10:15 pm   Post subject: (No subject)

Where are you goin with this game jonos , cause im not seein any kind of development yet Very Happy Very Happy
Display posts from previous:   
   Index -> Programming, Visual Basic and Other Basics -> Other Basics
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: