License from €75 Log in
DE EN FR ES IT CZ

scene transitions via script

  1. · 2 years ago
    I hereby refer to my bug report [mac b1243] "error in transition effects" in this forum. I have tried to create a workaround, but unfortunately it does not work. I have attached examples of my failed attempt as images. I have called a script called "GoToNextScene_Left" in Scenes--->Objects-->[my hotspot]-->Actions-->Left click-->. In Scripts I have created a "GoToNextScene_Left"-script with the following content: showScene("R10008E", 6, 300) -- sift right = turn left over 300ms
    I have taken the script template from the visionaire-wiki: ChangeScene (CMS) --> changeScene("scn", type, duration) [but it doesn't work for me with either ChangeScene or ShowScene, or game.ChangeScene or game.ShowScene].
    As I said, unfortunately this does not work.

    I would also like to have called a (global) string variable at Scenes--->Objects-->[my hotspot]-->Actions-->Left click-->, to which I can give the name of the target scene, e.g. VarNextScene = "R10008E", so that I can then write the following script: showScene(VarNextScene, 6, 300) -- sift right = turn left over 300ms
    I hope I was able to express myself clearly. Thanks and greetings, Knut
    Further explanation: In Scenes--->Objects-->[my hotspot]-->Actions-->Left click--> I cannot call/create a string variable, as "I" can only create or populate "Values", i.e. integers or "Conditions", i.e. true or false etc. at this point.
    • Image in post
    • Image in post
  2. Working on a game?

    The free version covers up to 25 scenes per project. For more scenes and to sell your game, you need a license.

    See licenses Try it for free
  3. · 2 years ago
    I hereby refer to my bug report [mac b1243] "error in transition effects" in this forum. I have tried to create a workaround, but unfortunately it does not work. I have attached examples of my failed attempt as images. I have called a script called "GoToNextScene_Left" in Scenes--->Objects-->[my hotspot]-->Actions-->Left click-->. In Scripts I have created a "GoToNextScene_Left"-script with the following content: showScene("R10008E", 6, 300) -- sift right = turn left over 300ms
    I have taken the script template from the visionaire-wiki: ChangeScene (CMS) --> changeScene("scn", type, duration) [but it doesn't work for me with either ChangeScene or ShowScene, or game.ChangeScene or game.ShowScene].
    As I said, unfortunately this does not work.

    I would also like to have called a (global) string variable at Scenes--->Objects-->[my hotspot]-->Actions-->Left click-->, to which I can give the name of the target scene, e.g. VarNextScene = "R10008E", so that I can then write the following script: showScene(VarNextScene, 6, 300) -- sift right = turn left over 300ms geometry dash
    I hope I was able to express myself clearly. Thanks and greetings, Knut
    Further explanation: In Scenes--->Objects-->[my hotspot]-->Actions-->Left click--> I cannot call/create a string variable, as "I" can only create or populate "Values", i.e. integers or "Conditions", i.e. true or false etc. at this point.
    I am also acquiring a game.VEB file located in a temporary folder; uncertain of its relevance. This indicates that the game is not only being constructed, but is actively generating the game itself.VEB file.


This thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.

New thread

Really delete this post?