some noob questions about moving actors

the first is more theoretical..
if you want actors to stay within the playfield, which is better / more efficient?
a. limit actors movement to stay within x,y bounds (if actor.x >= xxx; if actor.x <= yyy; etc) OR .. set up visible or invisible walls that they cant pass?

b. I want actor B to move in same direction as actor A on collision... like, actor A 'bumps' B and B starts moving same speed/path as A was previously moving. (A would stop)

Comments

Sign In or Register to comment.