Drupogame
16:9 screen 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
16:9 screen 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
16:9 screen EmptyLun Ene 23, 2012 11:32 pm por edux

» edux returns
16:9 screen EmptyLun Ene 23, 2012 11:30 pm por edux

» The Elder Scrolls IV: Oblivion
16:9 screen EmptyVie Ene 20, 2012 11:28 pm por Aljevalsar

» Kojima promete que habrá un Metal Gear Solid de auténtico sigilo
16:9 screen EmptyJue Dic 22, 2011 7:33 pm por Anime_Maker

» Este fin de semana habrá nuevos modos para Modern Warfare 3
16:9 screen EmptyJue Dic 15, 2011 12:03 pm por Akeo

» Kojima quiso crear un Metal Gear Solid 5 ambientado en la Segunda Guerra Mundial
16:9 screen EmptyJue Dic 15, 2011 11:01 am por Akeo

» Darksiders II se dejará ver en los Spike VGA
16:9 screen EmptyMiér Dic 14, 2011 11:50 am por Akeo

» El creador de Bayonetta desmiente estar implicado en el desarrollo de Metal Gear Rising
16:9 screen EmptyMiér Dic 14, 2011 1:54 am por Akeo

» Los creadores de Bayonetta se encargan del desarrollo de Metal Gear Rising
16:9 screen EmptyMiér Dic 14, 2011 1:52 am por Akeo

» En Construccion: Mundo Abismal
16:9 screen EmptyLun Oct 24, 2011 4:03 am por SagahonArturo

» Visceral Games busca nuevo personal para la franquicia Dead Space
16:9 screen EmptyMar Oct 11, 2011 3:22 am por The_King_Jaas

» buenas
16:9 screen EmptyMar Oct 11, 2011 3:21 am por The_King_Jaas

» Batman: Arkham City llegará "sin ninguna limitación"
16:9 screen EmptySáb Oct 08, 2011 1:44 am por Akeo

» Los creadores de Bulletstorm admiten divertidos que el juego tenía demasiadas palabras malsonantes
16:9 screen EmptySáb Oct 08, 2011 1:41 am por Akeo

» PES 2012: El primer DLC estará disponible el 11 de octubre
16:9 screen 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


16:9 screen

3 participantes

Ir abajo

16:9 screen Empty 16:9 screen

Mensaje por The_King_Jaas Miér Mar 30, 2011 4:41 pm

Permite mostrar la pantalla con un bonito estilo de 16:9 es decir estilo cine o con 2 bandas negras una arriba y otra abajo, simulando HD.
El script es este.
Código:

# # ==============================================================================
# ■ 16:9 screen
#------------------------------------------------------------------------------
#  display maps with a 16:9 look
# by Selwyn selwyn@rmxp.ch
#
#Modifica el número de SCREEN 169 SWIRCH ID=1 con el numero del #interrutor qe vayas# a #usar para activar este script,luego #puesta la ID
#solo deberás activar el interruptor y se activará el script xD
#
#==============================================================================

SCREEN_169_SWITCH_ID = 1

#==============================================================================
# ■ Game_Map
#==============================================================================

class Game_Map
#--------------------------------------------------------------------------
# ● scroll_down
#--------------------------------------------------------------------------
def scroll_down(distance)
value = $game_switches[SCREEN_169_SWITCH_ID] ? 13 : 15
@display_y = [@display_y + distance, (self.height - value) * 128].min
end
end

#==============================================================================
# ■ Game_Player
#==============================================================================

class Game_Player < Game_Character
#--------------------------------------------------------------------------
# ● center
#--------------------------------------------------------------------------
def center(x, y)
center_y = $game_switches[SCREEN_169_SWITCH_ID] ? ((208-16)*4) : (240-16)*4
value = $game_switches[SCREEN_169_SWITCH_ID] ? 13 : 15
max_x = ($game_map.width - 20) * 128
max_y = ($game_map.height - value) * 128
$game_map.display_x = [0, [x * 128 - CENTER_X, max_x].min].max
$game_map.display_y = [0, [y * 128 - center_y, max_y].min].max
end
#--------------------------------------------------------------------------
# ● update
#--------------------------------------------------------------------------
def update
center_y = $game_switches[SCREEN_169_SWITCH_ID] ? ((208-16)*4) : (240-16)*4
last_moving = moving?
unless moving? or $game_system.map_interpreter.running? or
@move_route_forcing or $game_temp.message_window_showing
case Input.dir4
when 2
move_down
when 4
move_left
when 6
move_right
when 8
move_up
end
end
last_real_x = @real_x
last_real_y = @real_y
super
if @real_y > last_real_y and @real_y - $game_map.display_y > center_y
$game_map.scroll_down(@real_y - last_real_y)
end
if @real_x < last_real_x and @real_x - $game_map.display_x < CENTER_X
$game_map.scroll_left(last_real_x - @real_x)
end
if @real_x > last_real_x and @real_x - $game_map.display_x > CENTER_X
$game_map.scroll_right(@real_x - last_real_x)
end
if @real_y < last_real_y and @real_y - $game_map.display_y < center_y
$game_map.scroll_up(last_real_y - @real_y)
end
unless moving?
if last_moving
result = check_event_trigger_here([1,2])
if result == false
unless $DEBUG and Input.press?(Input::CTRL)
if @encounter_count > 0
@encounter_count -= 1
end
end
end
end
if Input.trigger?(Input::C)
check_event_trigger_here([0])
check_event_trigger_there([0,1,2])
end
end
end
end

#==============================================================================
# ■ Spriteset_Map
#==============================================================================

class Spriteset_Map
alias :update_screen :update
#--------------------------------------------------------------------------
# ● initialize
#--------------------------------------------------------------------------
def initialize
@viewport1 = Viewport.new(0, 0, 640, 480)
@viewport2 = Viewport.new(0, 0, 640, 480)
@viewport3 = Viewport.new(0, 0, 640, 480)
@viewport2.z = 200
@viewport3.z = 5000
@tilemap = Tilemap.new(@viewport1)
@tilemap.tileset = RPG::Cache.tileset($game_map.tileset_name)
for i in 0..6
autotile_name = $game_map.autotile_names[i]
@tilemap.autotiles[i] = RPG::Cache.autotile(autotile_name)
end
@tilemap.map_data = $game_map.data
@tilemap.priorities = $game_map.priorities
@panorama = Plane.new(@viewport1)
@panorama.z = -1000
@fog = Plane.new(@viewport1)
@fog.z = 3000
@character_sprites = []
for i in $game_map.events.keys.sort
sprite = Sprite_Character.new(@viewport1, $game_map.events[i])
@character_sprites.push(sprite)
end
@character_sprites.push(Sprite_Character.new(@viewport1, $game_player))
@weather = RPG::Weather.new(@viewport1)
@picture_sprites = []
for i in 1..50
@picture_sprites.push(Sprite_Picture.new(@viewport2,$game_screen.pictures[i]))
end
@timer_sprite = Sprite_Timer.new
update
end
#--------------------------------------------------------------------------
# ● update
#--------------------------------------------------------------------------
def update
value = $game_switches[SCREEN_169_SWITCH_ID] ? 32 : 0
if value != @viewport1.rect.y
@viewport1.rect.set(0, value, 640, 480 - value*2)
@viewport2.rect.set(0, value, 640, 480 - value*2)
@viewport3.rect.set(0, value, 640, 480 - value*2)
end
update_screen
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

16:9 screen Empty Re: 16:9 screen

Mensaje por Akeo Miér Mar 30, 2011 8:22 pm

wow lo tengo que provar sip aber como queda xd
Akeo
Akeo
Administrador
Administrador

Mensajes : 1876
Fecha de inscripción : 02/01/2011
Edad : 29

https://drupogame.superforo.net

Volver arriba Ir abajo

16:9 screen Empty Re: 16:9 screen

Mensaje por Anime_Maker Jue Mar 31, 2011 9:10 pm

pos esto facilmente puede hacerce con un engine ^^
Anime_Maker
Anime_Maker
super moderador
super moderador

Mensajes : 1207
Fecha de inscripción : 15/01/2011
Edad : 28
Localización : Buenos Aires/Argentina

http://makerfantasy.mforos.com/

Volver arriba Ir abajo

16:9 screen Empty Re: 16:9 screen

Mensaje por The_King_Jaas Jue Mar 31, 2011 10:22 pm

pero los engines no superan la facilidad que da un script, igualmente eso depende de tus habilidades con engines, aunque yo soy mas fan de los scripts.
The_King_Jaas
The_King_Jaas
Co-Administrador
Co-Administrador

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

Volver arriba Ir abajo

16:9 screen Empty Re: 16:9 screen

Mensaje por Anime_Maker Vie Abr 01, 2011 3:14 am

Pero ese Script es incompatible con algunos Anti Lag y otros script que afectan el Scene_Map en cambio un Engine no afecta nada ^^
Anime_Maker
Anime_Maker
super moderador
super moderador

Mensajes : 1207
Fecha de inscripción : 15/01/2011
Edad : 28
Localización : Buenos Aires/Argentina

http://makerfantasy.mforos.com/

Volver arriba Ir abajo

16:9 screen Empty Re: 16:9 screen

Mensaje por Contenido patrocinado


Contenido patrocinado


Volver arriba Ir abajo

Volver arriba

- Temas similares

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