endless scene problem
hello,
i'm having some problems to create and endless scene. Here is the rule inside the main actor:
when self.position = 5000 change attribute self.position to 100
but it doesn't work? any ideas?
cheers and thanks
i'm having some problems to create and endless scene. Here is the rule inside the main actor:
when self.position = 5000 change attribute self.position to 100
but it doesn't work? any ideas?
cheers and thanks
Best Answers
-
EatingMyHat Posts: 1,246
In most endless scenes implementation the scene is moving towards a static player and not the other way around.
Looks like you are moving the player and than reseting him back which is the hard (wrong?) way to do it, unless you have a very good reason for it. In general, jumping from X=1000 to X=50 while controlling the camera will not have a nice feel to it. -
jonmulcahy Posts: 10,408
Change it to greater than 1000, the move command which I assume you are using is not too accruate, it might jump from 990 1010 or something
Answers