Problem when Changing Scenes

hvekriyahvekriya Member Posts: 4
edited January 2013 in Working with GS (Mac)
Im working on a game, i have designed first few levels, i have made this rule where you complete the first level you go to next scene which is congratulation scene and there are few options such as 'retry', 'level menu' and 'Next level' when i click on 'Next' (Rule=when touch is pressed=change scene TO next scene) but it doesnt take me to next scene/next level it says at the bottom that you are on scene 3 but you cant play that level it stays on congratulation scene. and when i press retry it doesnt take me back to previous scene. (Rule=when touch is pressed=change scene TO previous scene)

Answers

  • IsabelleKIsabelleK Member, Sous Chef Posts: 2,807
    1. Next time make more descriptive thread title.
    2. We can't help you if you don't write your rules.
  • SocksSocks London, UK.Member Posts: 12,822
    It's the coding, it's not been done correctly, do the coding correctly and it will all work fine.
  • hvekriyahvekriya Member Posts: 4
    i have just updated the description above!
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    @hvekriya, Try making a new actor and in its Rules have the following:

    When Touch is Pressed
    .....Change Scene [name of next level scene]


    Then click on the actor and see if it works. If it does not, create a new blank scene and name it "TEST". Change the rule on the new actor to When Touch is Pressed.....Change Scene [TEST]. Then click on the actor and see if it works.

    If neither of those work, create another new scene and add an image to it to make it unique. Drag your new actor onto the scene and click on it to see if it works.

    Report back about what worked and didn't work.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • hvekriyahvekriya Member Posts: 4
    ive used the same actor( next scene ) in all of my 10 scene and what about retry actor?
  • CaptFinnCaptFinn Member Posts: 1,828
    sounds like you arent using a attribute to tell that Next button what scene to actually go to. Change level to Level+1 if level is 3 go to scene that represents Level 4
    I have found Next and Previous to be a headache in understanding scene changes.
    IF im understanding you that is.
    ScreenShots always help though.
  • CaptFinnCaptFinn Member Posts: 1,828
    If you dont understand it or know how to codeit. I would have a Redo Button. That resets attributes for that scene and then takes you to previous scene. And a button that takes you to level options page.
  • hvekriyahvekriya Member Posts: 4
    how do i put screen shot on here?
  • CaptFinnCaptFinn Member Posts: 1,828
    I think dropbox links are good
    set up a dropbox account.
  • SocksSocks London, UK.Member Posts: 12,822
    edited January 2013
    how do i put screen shot on here?


    Upload the image to somewhere like tinypic.com - copy the URL it generates for your image and paste it into your post like this:

    img src="http://de.wikipedia.org/wiki/Datei:Filigree_and_Shadow.jpg"

    But put a < at the start and a > at the end.
Sign In or Register to comment.