Is this in the future plans???

@CodeWizard It would be awesome if we could put scene wrapping on an object rather than just the entire scene. That would be majorly helpful for some games I am developing and wanting to develop. Just curious if that is possibly in the works. Thank!

Comments

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    edited May 2013
    That might be nice, but there is an easy solution.

    Rule:
    -If attribute self.position X(or Y) is (=, great than, your choice)
    --Change attribute self.position. (X or Y) to oposite side of screen.

    Simple, only takes 30 seconds. ;)
  • MSEagle2MSEagle2 Member, PRO Posts: 98
    That might be nice, but there is an easy solution.

    Rule:
    -If attribute self.position X(or Y) is (=, great than, your choice)
    --Change attribute self.position. (X or Y) to oposite side of screen.

    Simple, only takes 30 seconds. ;)
    I am 90% sure (haven't used wrapping in a long time) that wrapping in GS allows for part of the actor to be on one side, and part to be on the opposite side during the wrap. That method, or any method we can currently employ, would not be able to mimic that.
  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    True. Unless your scene was wider than it's orignal state. You might want to use the method I provided above for clouds, for example. If half of the cloud showed up on the other side of the screen while the other half was left on the original side, it would look a bit weird. If you use the method above, you could change the speed, Y position, etc. But yes, I get what you're saying. It just depends on the use, I guess.
  • KillerPenguinStudiosKillerPenguinStudios Member Posts: 1,291
    Thanks for commenting @Braydon_SFX and I know I can do it that way. It would just be really nice and helpful to have the scene wrap to put on objects rather than writing the code for it because one main reason is every time I increase or decrease the stage size I have to keep re-writing the code and this would make it a whole lot easier. LOL
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    edited June 2013
    Or how about this turn on scene wrapping but just put up a wall so nothing can go off the screen you don't want to..easy
  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    @killerpenguins, that is when you vote for the default scene attributes to be accessible from the prototype.
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    Ah it used to be that way at one point then they changed it.
Sign In or Register to comment.