irpg Community

Full Version: Full Screen (เต็มจอ)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Full Screen (เต็มจอ)

สคริปต์เขียนโดย : isaacsol
ลิงค์ต้นฉบับ : http://www.gdunlimited.net/forums/topic/...en-script/

ข้อตกลงการนำไปใช้งาน :
ไม่แน่ชัด

สกรีนช๊อต :
ไม่มี

รายละเอียด :
ทำให้หน้าจอเกมเต็มจอตั้งแต่เข้าเกมเลย โดยไม่ต้องกด ALT+ ENTER

โค๊ดสคริปต์
ตามลิงค์ต้นฉบับ มี2แบบ
Normal Version: ทดสอบเกมกับกดเข้าเกมจะเต็มจอปกติ
Code:
begin
   if not $full
    $showm = Win32API.new 'user32', 'keybd_event', %w(l l l l), ''
    $showm.call(18,0,0,0)
    $showm.call(13,0,0,0)
    $showm.call(13,0,2,0)
    $showm.call(18,0,2,0)
    $full = 1
  end
end

Disabled Version: ทดสอบเกมจะไม่เต็มจอ แต่กดเข้าเกม(เฟืองสีส้ม)จะเต็มจอปกติ
Code:
begin
   unless $DEBUG and not $full
    $showm = Win32API.new 'user32', 'keybd_event', %w(l l l l), ''
    $showm.call(18,0,0,0)
    $showm.call(13,0,0,0)
    $showm.call(13,0,2,0)
    $showm.call(18,0,2,0)
    $full = 1
  end
end


วิธีการใช้งาน :
ให้ใส่ช่องโค๊ดสคริปต์(F11) เหนือบน Main