Drupogame
Neo-wind system (v1.1) Imagen12

Si quieres formar parte del staff tienes que enviar un MP al administrador o al Co-Administrador

Unirse al foro, es rápido y fácil

Drupogame
Neo-wind system (v1.1) Imagen12

Si quieres formar parte del staff tienes que enviar un MP al administrador o al Co-Administrador
Drupogame
¿Quieres reaccionar a este mensaje? Regístrate en el foro con unos pocos clics o inicia sesión para continuar.
Conectarse

Recuperar mi contraseña

Buscar
 
 

Resultados por:
 


Rechercher Búsqueda avanzada

Últimos temas
» Reglas del foro
Neo-wind system (v1.1) EmptyLun Ene 23, 2012 11:32 pm por edux

» edux returns
Neo-wind system (v1.1) EmptyLun Ene 23, 2012 11:30 pm por edux

» The Elder Scrolls IV: Oblivion
Neo-wind system (v1.1) EmptyVie Ene 20, 2012 11:28 pm por Aljevalsar

» Kojima promete que habrá un Metal Gear Solid de auténtico sigilo
Neo-wind system (v1.1) EmptyJue Dic 22, 2011 7:33 pm por Anime_Maker

» Este fin de semana habrá nuevos modos para Modern Warfare 3
Neo-wind system (v1.1) EmptyJue Dic 15, 2011 12:03 pm por Akeo

» Kojima quiso crear un Metal Gear Solid 5 ambientado en la Segunda Guerra Mundial
Neo-wind system (v1.1) EmptyJue Dic 15, 2011 11:01 am por Akeo

» Darksiders II se dejará ver en los Spike VGA
Neo-wind system (v1.1) EmptyMiér Dic 14, 2011 11:50 am por Akeo

» El creador de Bayonetta desmiente estar implicado en el desarrollo de Metal Gear Rising
Neo-wind system (v1.1) EmptyMiér Dic 14, 2011 1:54 am por Akeo

» Los creadores de Bayonetta se encargan del desarrollo de Metal Gear Rising
Neo-wind system (v1.1) EmptyMiér Dic 14, 2011 1:52 am por Akeo

» En Construccion: Mundo Abismal
Neo-wind system (v1.1) EmptyLun Oct 24, 2011 4:03 am por SagahonArturo

» Visceral Games busca nuevo personal para la franquicia Dead Space
Neo-wind system (v1.1) EmptyMar Oct 11, 2011 3:22 am por The_King_Jaas

» buenas
Neo-wind system (v1.1) EmptyMar Oct 11, 2011 3:21 am por The_King_Jaas

» Batman: Arkham City llegará "sin ninguna limitación"
Neo-wind system (v1.1) EmptySáb Oct 08, 2011 1:44 am por Akeo

» Los creadores de Bulletstorm admiten divertidos que el juego tenía demasiadas palabras malsonantes
Neo-wind system (v1.1) EmptySáb Oct 08, 2011 1:41 am por Akeo

» PES 2012: El primer DLC estará disponible el 11 de octubre
Neo-wind system (v1.1) EmptySáb Oct 08, 2011 1:39 am por Akeo

Los posteadores más activos del mes
No hay usuarios

Estadísticas
Tenemos 98 miembros registrados
El último usuario registrado es Lawdesifi

Nuestros miembros han publicado un total de 6208 mensajes en 777 argumentos.
Compañeros
Crear foro
Crear foro
Crear foro
Crear foro
PFC
Crear foro
Crear foro
Otakus Activos
Diviértete acá
Crear foro
Foro de anime y RM2k3/XP/VX
contador.
contador de visitas
Mayo 2024
LunMarMiérJueVieSábDom
  12345
6789101112
13141516171819
20212223242526
2728293031  

Calendario Calendario


Neo-wind system (v1.1)

Ir abajo

Neo-wind system (v1.1) Empty Neo-wind system (v1.1)

Mensaje por The_King_Jaas Mar Ago 16, 2011 4:59 pm

Función: Sistema que permite usar el fog como si fuera viento añadiendo un efecto en el que el héroe
es movido de su posicion y la velocidad del fog se ve incrementada momentáneamente.
Versión: 1.1
Instrucciones: Copiar y pegar sobre main, y editar el modulo para personalizar.

Lo nuevo: Viento en 8 direcciones y reproduce un sonido cuando pasa dicho efecto.

Aqui el link de descarga de la demo:
Descargar demo

y bueno el script, aunque es mas recomendable bajar la demo:
Código:

#______________________________________________________________________________
#_______________________Neo - Wind System (XP V 1.1)___________________________
#______________________________________________________________________________
#By: NeoKing-Jaas   
#------------------------------------------------------------------------------
#Sistema que permite usar el fog como si fuera viento añadiendo un efecto en el
#que el heroe es movido de su posicion y la velocidad del fog se ve incrementada
#momentaneamente.
#______________________________________________________________________________
# Uso exclusivo para proyectos no comercieles.
#_______________________________________________________________________________​

module Neo_wind
  #Editar para adpatar a sus proyectos:

  INT_ACT = 1 #Interruptor que activa el efecto
  VAR_FUERZA = 1 #Var que define la furza del efecto
  VAR_TIME = 3 #Variable que define el tiempo en que tardara en repetirse
  VAR_DIR = 2 #Variable que indica la direccion:
  #estos son los valores a usar dentro de la variable que elijamos, segun el
  #valor tomara una direccion. Si es direfente nose movera.
              #1 = Arriba
              #2 = Abajo
              #3 = Izquierda
              #4 = Derecha
  VAR_FGVX = 4 #variable que almacenara la velocidad standart del fog (en X)
  VAR_FGVY = 5 #variable que almacenara la velocidad standart del fog (en Y)
  SE = "132-Wind01"
#No editar sin conocimientos de rgss.
end

class Scene_Map
  include Neo_wind
  alias wind_ini initialize
  def initialize
    @time_wind = 0
    wind_ini
  end
  alias upd_wind update
  def update
    if $game_switches[INT_ACT]
      @time_wind += 1
      if @time_wind == $game_variables[VAR_TIME]
        Audio.se_play("Audio/SE/" + SE, 100, 100)
        for i in 0..$game_variables[VAR_FUERZA]
          if $game_variables[VAR_DIR] == 1
            $game_player.move_up
            $game_map.fog_sy = $game_map.fog_sy - $game_variables[VAR_FUERZA] - 5
          elsif $game_variables[VAR_DIR] == 2
            $game_player.move_down
            $game_map.fog_sy = $game_map.fog_sy + $game_variables[VAR_FUERZA] + 5
          elsif $game_variables[VAR_DIR] == 3 
            $game_player.move_left
            $game_map.fog_sx = $game_map.fog_sx - $game_variables[VAR_FUERZA] - 5
          elsif $game_variables[VAR_DIR] == 4
            $game_player.move_right
            $game_map.fog_sx = $game_map.fog_sy + $game_variables[VAR_FUERZA] + 5
          elsif $game_variables[VAR_DIR] == 5
            $game_player.move_up
            $game_player.move_left
            $game_map.fog_sy = $game_map.fog_sy - $game_variables[VAR_FUERZA] - 5
            $game_map.fog_sx = $game_map.fog_sx - $game_variables[VAR_FUERZA] - 5
          elsif $game_variables[VAR_DIR] == 6
            $game_player.move_up
            $game_player.move_right
            $game_map.fog_sy = $game_map.fog_sy - $game_variables[VAR_FUERZA] - 5
            $game_map.fog_sx = $game_map.fog_sy + $game_variables[VAR_FUERZA] + 5
          elsif $game_variables[VAR_DIR] == 7
            $game_player.move_down
            $game_player.move_left
            $game_map.fog_sy = $game_map.fog_sy + $game_variables[VAR_FUERZA] + 5
            $game_map.fog_sx = $game_map.fog_sx - $game_variables[VAR_FUERZA] - 5
          elsif
            $game_player.move_down
            $game_player.move_right
            $game_map.fog_sy = $game_map.fog_sy + $game_variables[VAR_FUERZA] + 5
            $game_map.fog_sx = $game_map.fog_sy + $game_variables[VAR_FUERZA] + 5
          end
         
        end
        @time_wind = 0
      end
    end
    upd_wind
      if INT_ACT and @time_wind == 30
          $game_map.fog_sx = $game_variables[VAR_FGVX]
          $game_map.fog_sy = $game_variables[VAR_FGVY]
    end
  end
end
The_King_Jaas
The_King_Jaas
Co-Administrador
Co-Administrador

Mensajes : 1737
Fecha de inscripción : 02/02/2011

Volver arriba Ir abajo

Volver arriba

- Temas similares

 
Permisos de este foro:
No puedes responder a temas en este foro.