I'm trying to create a game where you have to collect coins. I'm using the scroll method so whenever my character moves, my coin moves too! How can you resolve this problem?
Offline
Put this in your coins:
when gf clicked forever set x to ((scrollx) - [position in the scrolling environment]) if<touching [main sprite v]?> change [coins v] by (1) stop script endEdit: This script may be easier
when gf clicked repeat until <touching [main sprite v]?> set x to ((scrollx) - [position in the scrolling environment]) end change [coins v] by (1)
Last edited by MoreGamesNow (2012-08-13 17:22:27)
Offline