Retroceder   Foros de Emudesc > Crea tus propios juegos > RPG Maker > Scripts

Respuesta
 
Herramientas
  #1  
Antiguo 22-jul-2011, 22:46
Avatar de Demyx09
Advanced Newbie
 
Fecha de Ingreso: diciembre-2010
Mensajes: 84
Demyx09 se está dando a conocer
Predeterminado [VX]Basic map

Creado por: DEMYX09
Version: 0.1


Video:

http://www.youtube.com/watch?v=cGGyM...eature=related

Información:
un pequeño script que crea un nuevo comando el cual muestra una imagen(mapa).

Como usar:
-pegar sobre MAIN
-Importar imagen con el nombre "basicmap" ha GRAFIC\PICTURE

Imagen necesaria:
[spoiler][/spoiler]


Script:


Código:
#==============================================================================
                                                         #BASIC MAP
                                                         
                                                      #Credits:Demyx09
                                      # Web:http://gamefactory.forogratuito.net/
                                                        #Version: 0.1

                    #Necesitas una imagen en GRAFIC\PICTURE con el nombre "basicmap"
#                                                     medidas de la imagen:
#                                                           ancho: 785
#                                                           altura: 550
                                                        
#==============================================================================

class Scene_Menu < Scene_Base


  def create_command_window
    s1 = Vocab::item
    s2 = Vocab::skill
    s3 = Vocab::equip
    s4 = Vocab::status
    s5 = Vocab::save
    s6 = "Mapa"        # aca puedes cambair el nombre del comando
    s7 = Vocab::game_end
    @command_window = Window_Command.new(160, [s1, s2, s3, s4, s5, s6,s7])
    @command_window.index = @menu_index
    if $game_party.members.size == 0       
      @command_window.draw_item(0, false)     
      @command_window.draw_item(1, false)    
      @command_window.draw_item(2, false)   
      @command_window.draw_item(3, false)     
    end
    if $game_system.save_disabled           
      @command_window.draw_item(4, false)     
    end
  end
 def update_command_selection
    if Input.trigger?(Input::B)
      Sound.play_cancel
      $scene = Scene_Map.new
    elsif Input.trigger?(Input::C)
      if $game_party.members.size == 0 and @command_window.index < 4
        Sound.play_buzzer
        return
      elsif $game_system.save_disabled and @command_window.index == 4
        Sound.play_buzzer
        return
      end
      Sound.play_decision
      case @command_window.index
      when 0     
        $scene = Scene_Item.new
      when 1,2,3 
        start_actor_selection
      when 4     
        $scene = Scene_File.new(true, false, false)
      when 5     
          $scene = Scene_mapamundi.new
        when 6
          $scene = Scene_End.new

      end
    end
  end
  end
 #==============================================================================
 
class Scene_End < Scene_Base
def return_scene
    $scene = Scene_Menu.new(6)
  end
  end
 #==============================================================================

  class Scene_mapamundi < Scene_Base
  def start
    super
    @sprite = Sprite.new
    @sprite.bitmap = Cache.picture("basicmap")
  end

  def terminate
    super
     @sprite.dispose
  end

  def return_scene
    $scene = Scene_Menu.new(5)
  end

  def update
     @sprite.update
if @sprite.x >= 0
  @sprite.x = 0
end
if @sprite.x <= -210
  @sprite.x = -210
end
if @sprite.y <= -135
  @sprite.y = -135
end
if @sprite.y >= 0
  @sprite.y = 0
end
    if Input.trigger?(Input::B)
      Sound.play_cancel
      return_scene
    elsif Input.press?(Input::LEFT)
      @sprite.x += 2
    elsif Input.press?(Input::RIGHT)
    @sprite.x -= 2
    elsif Input.press?(Input::DOWN)
      @sprite.y -= 2
    elsif Input.press?(Input::UP) 
      @sprite.y += 2
    end
    super
  end
end


Responder Con Cita
Respuesta



Temas Similares para: [VX]Basic map
Tema Autor Foro Respuestas Último mensaje
Basic cookie Izumi. Exposición de diseños 0 03-nov-2010 21:10
visual basic gardo30 Informática 1 21-oct-2010 15:05
Back in to the basic xXToshXx Exposición de diseños 0 09-may-2009 04:54
Helbreath Basic UP 23/01/09 horacio2009 Juegos online 0 26-ene-2009 02:45
Visual Basic ivantown Descargas directas 3 06-jun-2008 20:02


La franja horaria es GMT +2. La hora actual es: 05:27.


Alojamiento web 1&1. Powered by vBulletin®


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93