Page 1 of 1

Pathway

PostPosted: Mon May 27, 2013 4:40 am
by praaab
Hi there i know i've asked this before but i have ran into a wall. Well i am making a VERTICAL pathway and you tilt your iphone to move a square left and right on the screen to go through it. If you hit the walls you obviously die. What im not understanding is that i have to use the canvas to make a pathway now i want the pathway to be random and change whether it becomes thinner or wider. I just need a bit of a guide to help me through this because i have no idea on how to do it. Thank you.

Re: Pathway

PostPosted: Mon May 27, 2013 5:02 am
by skydereign
praaab wrote:Hi there i know i've asked this before but i have ran into a wall

It would be better if you replied to your previous posts, asking for help. That way the information is stored in a single place, which makes it easier for people helping you, as well as people searching for answers.

praaab wrote: tilt your iphone

Since you are using iphone, canvas is not the answer. You need to spawn the walls using actors, because using canvas will make your game run slowly.