[XP] Making it so the menu doesnt pause the game

Started by RoseSkye, September 26, 2012, 12:26:58 pm

Previous topic - Next topic

RoseSkye


winkio

You have to merge the menu scene and the map scene, and make the map continue to update while ignoring player input when the menu is active, and vice versa.  It requires some knowledge of how scenes work, but it is by no means impossible.

RoseSkye

Quote from: winkio on September 26, 2012, 12:32:58 pm
You have to merge the menu scene and the map scene, and make the map continue to update while ignoring player input when the menu is active, and vice versa.  It requires some knowledge of how scenes work, but it is by no means impossible.

Is it a short process or a long one?

G_G

That all really depends on your scripting experience. Any scripter who knew what they were doing could probably do it in a couple hours, tops. Depends on how lazy one may be.

Lukas

maybe just need $game_map, $game_system.map_interpreter, $game_system, $game_screen, @spriteset still update.
Spoiler: ShowHide

This image been put in a spoiler because it's 2 MB which is above the size of images allowed in a spoiler.
Thank you for your understanding.
~Blizz



~Sorry :)

diagostimo

it would need implementing exectly how the message window is, if you look how that cancels out player input you can get you menu there too

Heretic86

September 27, 2012, 07:25:20 pm #6 Last Edit: November 07, 2012, 08:54:20 am by Heretic86
Multiple Message Windows script can do this already.  Its a built in feature called "move_during", which can be enabled and disabled on the fly.  The message bubbles are known as "Floating Windows" and those can be enabled or disabled as well, so, if you desire, you can run your whole game using the "Non Floating Windows".  That is, if you arent using another message system already.

Spoiler: ShowHide
class Game_Player < Game_Character

  alias wachunga_mmw_game_player_update update
  def update
   # The conditions are changed so the player can move around while messages
   # are showing (if move_during is true), but not if user is making a
   # choice or inputting a number
   # Note that this check overrides the default one (later in the method)
   # because it is more general
    unless moving? or
      @move_route_forcing or
      ($game_system.map_interpreter.running? and
      !$game_temp.message_window_showing) or
      ($game_temp.message_window_showing and
      !$game_system.message.move_during) or
      ($game_temp.choice_max > 0 or $game_temp.num_input_digits_max > 0)
      update_player_movement
    end
    wachunga_mmw_game_player_update   
  end
 
end
Current Scripts:
Heretic's Moving Platforms

Current Demos:
Collection of Art and 100% Compatible Scripts

(Script Demos are all still available in the Collection link above.  I lost some individual demos due to a server crash.)