View Single Post
How do you use CollisionListeners?
Old
yzhang
Junior Member
 
Status: Offline
Posts: 1
Join Date: Nov 2012
Default How do you use CollisionListeners? - 02-05-2013, 09:40 AM

I was trying to implement CollisionListeners in my program. I have created an array of boulders and wanted Alice to check collision when the user navigates around using the arrow keys, but couldn't figure out how collision listeners work. I did see that when a collisionlistener is added, it takes the existent arrays in my program as its argument.

Also orignailly I planned to use castle walls. But somehow, those castle walls can't be put into an array.
   
Reply With Quote