Hi GMC. My first topic!
Ok so I'm new to game maker but I've read the manual and I'm using GML. I would say I'm almost of an intermediate skill. I use gm 8.1 standard.
Basically for my first game I'm working on a small game, a basic breakout clone.
I'm looking for advice on making the script Bounce(direction); which is called from the balls step event.
My ball moves in a direction with a speed.
Here's how I'm hoping for the script to work:
If the ball hits the bottom or top of an object, Bounce is called. i.e. Bounce(90) would set the balls direction to 270. Bounce(91) would return / set 269.
Bounce(91) would change the direction to 89 if it hit the side of an object.
Hopefully I've made sense and you catch my drift, anyone know how to help? and thanks in advance!
jmejayMember Since 18 Aug 2011
Offline Last Active Aug 22 2011 10:03 PM
- Group New Member
- Active Posts 18
- Profile Views 1339
- Member Title GMC Member
- Age 23 years old
- Birthday March 1, 1990