Reload using onclick
5 posts • Page 1 of 1
Reload using onclick
Hello,
please help. It would be very useful if I could create an object [to use as a button] that I could use the onclick function to reload the scene. I would use this at the end of a game to start over with a fresh scene.
Thanks, eeieeio
please help. It would be very useful if I could create an object [to use as a button] that I could use the onclick function to reload the scene. I would use this at the end of a game to start over with a fresh scene.
Thanks, eeieeio
- eeieeio
- Posts: 25
- Joined: Thu Nov 30, 2017 7:02 pm
Re: Reload using onclick
Ctrl-Z ?
Reload button is already in algodoo interface (in player mode on instrument bar).
Reload button is already in algodoo interface (in player mode on instrument bar).
Dream of Algodoo as game development engine...
-
Kilinich - [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
Re: Reload using onclick
Thanks kilinich for taking the time to answer. I was aware of the button you mention, but that seems to only redo the last move within a scene. I need an object, such as a square that I would create on the playing area to which I can apply an 'onclick', that will reset the game to its original starting configuration.Kilinich wrote:Ctrl-Z ?
Reload button is already in algodoo interface (in player mode on instrument bar).
eeieeio
- eeieeio
- Posts: 25
- Joined: Thu Nov 30, 2017 7:02 pm
Re: Reload using onclick
There is a "reload" button in Algodoo.
1) Set Player mode in any onSpawn {App.GUI.playMode = {sim.running}}
2) Look in bottom instrument panel - [ reload ] button is there
1) Set Player mode in any onSpawn {App.GUI.playMode = {sim.running}}
2) Look in bottom instrument panel - [ reload ] button is there
Dream of Algodoo as game development engine...
-
Kilinich - [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
Re: Reload using onclick
Kilinich wrote:There is a "reload" button in Algodoo.
1) Set Player mode in any onSpawn {App.GUI.playMode = {sim.running}}
2) Look in bottom instrument panel - [ reload ] button is there
I'm glad I asked. Thank you kilinich
- eeieeio
- Posts: 25
- Joined: Thu Nov 30, 2017 7:02 pm
5 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 5 guests