I know this is probably easy, but I can’t get it to work.
When a level is completed, two buttons appear: Next Level & Replay Level.
I can get Next Level to work easily, but what about Replay Level?
For example, if I’m in level1 (level1.lua) and I use director:changeScene(“level1”), nothing happens. However, director:changeScene(“level2”) works fine.
How does one go about replaying a level using the Director class?
[import]uid: 13529 topic_id: 5724 reply_id: 305724[/import]