endless scene problem

patapplepatapple Member Posts: 873
edited May 2012 in Working with GS (Mac)
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

Best Answers

  • crazycam99crazycam99 Paris, FrancePosts: 519
    Accepted Answer
    Tshirtbooth has a tutorial on ho to do it on GSHelper
  • jonmulcahyjonmulcahy Posts: 10,408
    Accepted Answer
    What is the full rule? Cn you post a screenshot?
  • EatingMyHatEatingMyHat Posts: 1,246
    Accepted Answer
    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.
  • jonmulcahyjonmulcahy Posts: 10,408
    Accepted Answer
    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

  • patapplepatapple Member Posts: 873
    here it is:
    image
  • EatingMyHatEatingMyHat Member Posts: 1,246
    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
    +1 ;)
  • patapplepatapple Member Posts: 873
    I have a good reason to move the player, because the player it's moved by an action of the player. I tried to change the 1000 to 1101 and other numbers but it doesn't work :(
  • EatingMyHatEatingMyHat Member Posts: 1,246
    I have a good reason to move the player, because the player it's moved by an action of the player. I tried to change the 1000 to 1101 and other numbers but it doesn't work :(
    What @jonmulcahy suggested was to change the = sign to >= sign, not to change the number.

Sign In or Register to comment.