Thaigaming Network the 8th: the ultimate evolution of gamertainment tribes. Protect the earth from global warming.

สมัครสมาชิก | รายชื่อสมาชิก | Social Groups | ปฏิทิน | ค้นหา | ข้อความใหม่วันนี้ | ทำสัญลักษณ์ว่าอ่านแล้ว |


กลับไป   Thaigaming > Thaigaming Network > Game Maker & RPG Maker Community


  • เปิดรับความคิดเห็น เสนอไอเดีย ปรับปรุงแก้ไข Thaigaming ของฉัน โฉมใหม่ Click Here

  • ด่วน !!! รับสมัคร ผู้มีความรู้ โชคโชน คลุกคลี มีสนใจ เกี่ยวกับวงการ Console และ เครื่องเล่น พกพาทุกประเภท เพื่อมาร่วมเป็น ทีมงาน Thaigaming.com กับเรา เตรียมพร้อมรับการเปลี่ยนแปลง ครั้งใหญ่ สมัครได้ที่โดยส่ง PM ไปหา Mod Better, Hitzuja ได้เลยครับ


  • ตอบ
     
    Share คำสั่งเพิ่มเติม แสดงผล
    เก่า 13 Nov 2011, 10:32   #1 (permalink)
    น้องใหม่ TG
     
    สมัคร: Mar 2010
    โพส: 21
    รับคำขอบคุณ: 1
    ดาวโหลด: 0
    อัพโหลด: 0
    Rep Power: 0
    commono aura
    Thumbs up [สคริปต์] Battle Ready ของ RMVX

    Battle Ready
    ----------------------------------------------------------------
    เวลาก่อนฉากต่อสู้นั้น จะมี Ready ก่อน นะครับ
    ไม่ต้องอธิบายมากหรอกนะ ลองดูเอาก็เเล้วกันนะครับ



    วิธีใช้
    สร้างสคริปต์ใหม่ไว้เหนือ Main ชื่อว่า Battle Ready
    ก็อบสคริปต์ข้างล่างนี้ไปใส่ สคริปต์ที่เราตั้งชื่อไว้เมื่อกี้นะครับ


    Screenshot
    ------------------------------------------------------------------------------
    Click the image to open in full size.

    ------------------------------------------------------------------

    สคริปต์
    code:
    #_________________________________________________
    # Battle Ready          
    #_________________________________________________
    # ดัดเเปลงให้ใช้ได้กับ RPG Maker VX โดย เเอล วรพล หรือ boyhiT       
    # http://raccoongame-rpg.thai-forum.net/
    #_________________________________________________
    # เป็นสคริปต์ที่ มีรูปเตรียมต่อสู้ขึ้นมาโชว์ก่อนต่อสู้
    # อยากปรับเเต่งอะไรก็ให้ไปที่
    # เกมส์ของเรา \Graphics\Picture.
    #_________________________________________________
    module MOG
    #Ativar a animação de imagem. 
    READY = true
    #Tempo da imagem na tela. 
    RDFADE = 40 
    end
    $mogscript = {} if $mogscript == nil
    $mogscript["Battle_Ready"] = true
    ################
    # Scene_Battle #
    ################
    class Scene_Battle
    alias  mog17_main main
    def main
    Graphics.freeze
    if MOG::READY == true
    @ready = Sprite.new
    @ready.bitmap = Cache.picture("Ready_Battle")
    @ready.visible = false
    @ready.y = -200
    @ready.zoom_y = 3
    @ready.z = 999
    @fade = MOG::RDFADE
    @ready_on = true
    end
    mog17_main 
    if MOG::READY == true
    if @ready != nil   
    @ready.dispose
    end
    end
    end
    alias mog17_update update
    def update
    if MOG::READY == true
    if @ready_on == true   
    for i in 0..80
    if @ready != nil and @ready.zoom_y > 1
    @ready.y += 10
    @ready.zoom_y -= 0.1
    @ready.visible = true
    elsif @ready != nil and @ready.zoom_y <= 1 and @ready.opacity > 250
    @ready.y = 0
    @ready.zoom_y = 1
    @fade -= 1
    end
    Graphics.update
    end
    @ready_on = false
    end
    if @fade <= 0 and @ready != nil
    @fade = 0
    end   
    if @fade <= 0 and @ready != nil
    @ready.opacity -= 7
    @ready.zoom_y += 0.2
    @ready.y -= 50   
    end
    if @ready != nil and @ready.opacity <= 0
    @ready.dispose
    @ready = nil
    end
    end
    mog17_update
    end
    end
    เสร็จเเล้ว ให้ เอารูปนี้ไปไว้ที่ Pictures ในโฟลเดอร์เกมส์ของเรา

    Click the image to open in full size.

    ท่านสามารถทำการปรับเปลี่ยนรูปภาพ เเต่ต้องใช้ชื่อเดิมนะครับ
    -------------------------------------------------------------------------------------
    Credit: Moghunter
    อธิบายเเละดัดเเปลง: boyhiT
    __________________
    ขอร้องล่ะครับช่วยเข้าไปเล่นเว็บผมทีเถอะ
    http://citygameth.thai-forum.net/forum
      ตอบพร้อมอ้างอิงข้อความเดิม
    สมาชิกที่ได้ขอบคุณ commono สำหรับโพสที่มีประโยชน์นี้
    ตอบ

    คำสั่งเพิ่มเติม
    แสดงผล

    กฎการส่งข้อความ
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is ใช้ได้
    Smilies are ใช้ได้
    [IMG] code is ใช้ได้
    HTML code is งดใช้
    Trackbacks are ใช้ได้
    Pingbacks are ใช้ได้
    Refbacks are งดใช้


    Thaigaming Network : Japan Music World | Flixya Idm | Coming soon.
    Home | News | Event | Article | Howto | Preview | Review | Cheat | Play | Anime | Club | Download | Blog | Group | Service | Forum
    Copyright © 2000-2008 Thaigaming Network. All Right Reserved.