Hey guys :P
As u know, when u open a scene...all the events and that stay freeze...
I wanted to do that without calling a scene, is it possible?
Summarizing:
Instead of calling a scene for something, I would 'freeze' all the map and do whatever i want xD
Bye~
Don't have the scene update, you can use a script call to catch processing in another loop, but remember that Graphics.update has to be called, or the game will crash after a few seconds. Do something like this in a script call:
loop {
Graphics.update
Input.update
break if Input.trigger(Input::B)
}
I just threw in the ending if the B button was pressed, but remember that you MUST have some condition of breaking the loop.
You can have it set to a number of seconds as well like this:
120.times { Graphics.update } # 3 seconds
Or, to simply freeze the graphics, you can use Graphics.freeze, and then Graphics.transition to restart them, though this will simply make it so that things don't appear to change. If they "move" while the graphics are froze, they will suddenly reappear in their new location when they are transitioned back, which looks funny.
You can get away with it if you are cleverly with fading the screen out first, etc, but all that is determined by what you are using it for.
Well, I've trying to use that but, as I need to change map and then come back again..i think it is a bit more difficult...
I understand the idea of the loop but when i change of map it screws it all up XD
About Graphics.freeze and Graphics.transition it's really funny XD
I've done a simple test with a event moving, but when he was moving, i freeze. All the stuff stops, then i graphics transition and he 'teleports' to where he should be XD (anyway, this doesn't work because of the same thing I answered to the loop)
thanks again, I really appreciate ur help :haha: