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

Username:   Password: 
 RegisterRegister   
 Block breaker - Ball HELP!!!
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
ineedinfo




PostPosted: Wed Jun 03, 2009 1:26 pm   Post subject: Block breaker - Ball HELP!!!

I am trying to make a block/brick breaker game but need a little help.



I need help making a ball that bounces and is able to move without input.



I dont know what to do at all!! I asked some people i know but they know as much as me.


Please help I am using Turing 4.1. Thanks so much for your help in advance. PLEASE HELP!!! I will always be in debt and be thankful to you!!!!!
Sponsor
Sponsor
Sponsor
sponsor
BigBear




PostPosted: Wed Jun 03, 2009 1:49 pm   Post subject: RE:Block breaker - Ball HELP!!!

To make the ball move by itself just draw it in a loop using variables for the coords and increase the variables

To keep the ball in the screen check to see if it is >= edge and times it by -1 or make it move by a negative number
DemonWasp




PostPosted: Wed Jun 03, 2009 3:32 pm   Post subject: RE:Block breaker - Ball HELP!!!

You probably need Input.KeyDown (this provides "non-blocking" input, which means that your program asks what keys are down, stores that information, and continues even if no keys are held down at that point) and the Turing Walkthrough on collision detection.
ineedinfo




PostPosted: Sat Jun 06, 2009 11:23 am   Post subject: RE:Block breaker - Ball HELP!!!

okay, thanks for the help guys! got someone else to help me with it, so thanks anyways!
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
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: