Hi all.
I have a problem I’m struggling to wrap my head around. Let me briefly set the picture first.
In my program, I use a function to add a load of objects to a table, along with a variable for their movementspeed.
I then have another function, called by a timer, which randomly generates an object from the table, displays it on the top of the screen and sets up a transition to move it off the bottom of the screen according to it’s movementspeed.
What I’m after is to set it up so that if my player object collides with an object, it changes the movementspeed variable and the randomly generated objects slow down.
I guess my question is: Once the function is called by the timer, and the object is moving down screen, can I amend the speed at which it moves? If so, what is the best method for doing so, and if not, has anyone found a work around to this issue before?
Thanks
Dan [import]uid: 67933 topic_id: 12590 reply_id: 312590[/import]