This bug is already known and Christopho is going to fix it for Solarus bugfix 1.5.1.
https://github.com/christopho/solarus/issues/953
https://github.com/christopho/solarus/issues/953
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuoteLike layer 0 is some level that the player can walk over, layer 1 is tiles that are at the same level of the player, layer 2 is tiles that can be above the player.This is not true. The hero can be in a layer different than 1 and he can change its layer (stairs, teleporters,...).
local foo = require("script"); foo:f(game)
sol.main.load_file("scripts/volume_control.lua")(game)
local game = ...
so that the game variable is stored. (There is another way to get the game variable to be defined in other script: using some function that initializes it, but for this purpose you need the script to return some table with the initializer function.)QuoteThe pause functions do not work when calling scripts/volume_control.-Are you sure that you don't have defined these functions twice? (Maybe in the game maganer you have other definition.) If so, the second definition would override the first one. Check farefully your other scripts to make sure that this is not happening.