Registrarse
  • ¡Comienzan las votaciones del MPA o Mejor Proyecto del Año 2025!
    ¡Vota por tu proyecto favorito y recompensa el trabajo duro de los participantes!

    El plazo concluye el 13 de marzo

Me podrian ayudar con el Doble Screen Essentials

Estado
Cerrado para nuevas respuestas.
Bueno me estaba pasando por los tutoriales de rpg ayer por la tarde y me encontre un DobleScreen de MakerJ si mal no recuerdo para pokemon Essentials, yo uso Cadexia (me e enterado que es el mismo solo doblado de Essentials) puse todos los scripts y todo pero no me sale la DS sino que solo se pone mas ancha la pantalla mas no se cual sea mi error, tengo los scripts de Dual Screen y Lowe screen pictures pegados en el editor de scripts (f11) y el que es para llamar al spacer lo tengo en el mapa inicial. Bueno Gracias por su atencion espero que me puedan ayudar :D
 

randaku

Pokémon Cielo Infinito
Mira este a mi me funciona perfecto en el de cedexia, aunque eso del menu y la touch screen no lo se hacer, de todas formas ya teniendo la doble pantalla es un 50% del trabajo.
Creas el Script
Dual Screen, solo ese créalo y pégale este script
#===============================================================================
# * Dual Screen Script for Pokemon Essentials
# * By Crazyninjaguy
# * http://www.planetdev.net
#===============================================================================
# If you like this script, please register on my site :)
# http://www.planetdev.net
#===============================================================================

module Graphics
@@fadeoutvp=Viewport.new(0,0,485,685)
@@fadeoutvp.z=0x3FFFFFFF
@@fadeoutvp.color=Color.new(0,0,0,0)
end

class Sprite_Picture
def initialize(viewport, picture)
@viewport = Viewport.new(0, 0, 480, 680)
@picture = picture
@sprite = nil
update
end
end

module Resolution
GetWindowPlacement = Win32API.new('user32','GetWindowPlacement',['l','p'],'l')
GetSystemMetrics = Win32API.new('user32', 'GetSystemMetrics',['i'],'i')
MoveWindow = Win32API.new('user32','MoveWindow',['l','i','i','i','i','l'],'l')
FindWindowEx = Win32API.new('user32','FindWindowEx',['l','l','p','p'],'i')
def self.windowloc(window)
string = ' ' * 44
Resolution::GetWindowPlacement.call(window,string)
windowdetails = string.unpack('L11')
result = []
result.push((windowdetails[9] - windowdetails[7]))
result.push((windowdetails[10] - windowdetails[8]))
result.push(windowdetails[7])
result.push(windowdetails[8])
return result
end
end
class Screen
def self.center
window = Resolution::FindWindowEx.call(0,0,"RGSS Player",0)
width,height = Resolution.windowloc(window)[0..1]
screenwidth = Resolution::GetSystemMetrics.call(0)
screenheight = Resolution::GetSystemMetrics.call(1)
Resolution::MoveWindow.call(window,(screenwidth - width) / 2,(screenheight - height) / 2,width,height,1)
end
def self.resize2(width,height,x,y)
window = Resolution::FindWindowEx.call(0,0,"RGSS Player",0)
screenwidth = Resolution::GetSystemMetrics.call(0)
screenheight = Resolution::GetSystemMetrics.call(1)
Resolution::MoveWindow.call(window,x,y,width,height,1)
end
def self.move(x,y)
window = Resolution::FindWindowEx.call(0,0,"RGSS Player",0)
width,height = Resolution.windowloc(window)[0..1]
screenwidth = Resolution::GetSystemMetrics.call(0)
screenheight = Resolution::GetSystemMetrics.call(1)
Resolution::MoveWindow.call(window,x,y,width,height,1)
end
def self.resize(width,height,center = true)
window = Resolution::FindWindowEx.call(0,0,"RGSS Player",0)
screenwidth = Resolution::GetSystemMetrics.call(0)
screenheight = Resolution::GetSystemMetrics.call(1)
if center
Resolution::MoveWindow.call(window,(screenwidth - width) / 2,(screenheight - height) / 2,width,height,1)
else
x,y = Resolution.windowloc(window)[2..3]
Resolution::MoveWindow.call(window,x,y,width,height,1)
end
end
def self.half(center = true)
window = Resolution::FindWindowEx.call(0,0,"RGSS Player",0)
screenwidth = Resolution::GetSystemMetrics.call(0)
screenheight = Resolution::GetSystemMetrics.call(1)
if center
Resolution::MoveWindow.call(window,(screenwidth - 326) / 2,(screenheight - 272) / 2,326,272,1)
else
x,y = Resolution.windowloc(window)[2..3]
Resolution::MoveWindow.call(window,x,y,326,272,1)
end
end
def self.default
window = Resolution::FindWindowEx.call(0,0,"RGSS Player",0)
screenwidth = Resolution::GetSystemMetrics.call(0)
screenheight = Resolution::GetSystemMetrics.call(1)
Resolution::MoveWindow.call(window,(screenwidth - 646) / 2,(screenheight / 2) - 273,646,512,1)
end
end

Screen.resize(485,685)

#----------------------------------------------
@spacer=IconSprite.new(0, 320)
@spacer.setBitmap("Graphics/Pictures/spacer")
@spacer.z = 99999999
#-----------------------------------------------

module Show
def self.picture(filename)
@sprite=IconSprite.new(0, 325)
@sprite.setBitmap("Graphics/Pictures/" + filename)
end
end
OJALA TE RESULTE.
Diculpa la tardanza por responder es que no ncontraba el unico script que me funcionaba, chao suerte
 
Estado
Cerrado para nuevas respuestas.
Arriba