
-----------------------------------
ineedinfo
Wed Jun 03, 2009 1:26 pm

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!!!!!

-----------------------------------
BigBear
Wed Jun 03, 2009 1:49 pm

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
Wed Jun 03, 2009 3:32 pm

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 [url=http://compsci.ca/v3/viewtopic.php?t=13661]the Turing walkthrough on collision detection.

-----------------------------------
ineedinfo
Sat Jun 06, 2009 11:23 am

RE:Block breaker - Ball  HELP!!!
-----------------------------------
okay, thanks for the help guys! got someone else to help me with it, so thanks anyways!
