Zelaron Gaming Forum  
Stats Arcade Portal Forum FAQ Community Calendar Today's Posts Search
Go Back   Zelaron Gaming Forum > Zelaron Gaming > RPGMaker

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next

 
How?
Reply
Posted 2009-07-17, 06:38 PM in reply to Goodlookinguy's post "RPG Maker VX 1.01 added Script"
Goodlookinguy said: [Goto]
If you were working on a game and updated the RPG Maker VX, they added a script to it. Without it, your games will not play. So here is the script.

Code:
#==============================================================================
# ■ VX_SP1
#------------------------------------------------------------------------------
#  プリセットスクリプトの不具合を修正します。
#==============================================================================

#------------------------------------------------------------------------------
# 【SP1 修正内容】
#------------------------------------------------------------------------------
# ■アニメーションにて、番号の大きいセルが番号の小さいセルより画面の上にあると
#   き(Y座標が小さいとき)、セルの表示の優先順位が仕様通りにならなくなる不具
#   合を修正しました。
# ■アニメーションの反転表示時、Y座標の計算方法が誤っている不具合を修正しまし
#   た。
# ■同じアニメーションを連続して表示する際、必要なグラフィックを誤って解放して
#   しまう場合がある不具合を修正しました。
#------------------------------------------------------------------------------

class Sprite_Base < Sprite
  #--------------------------------------------------------------------------
  # ● アニメーションの解放
  #--------------------------------------------------------------------------
  alias eb_sp1_dispose_animation dispose_animation
  def dispose_animation
    eb_sp1_dispose_animation
    @animation_bitmap1 = nil
    @animation_bitmap2 = nil
  end
  #--------------------------------------------------------------------------
  # ● アニメーションスプライトの設定
  #     frame : フレームデータ (RPG::Animation::Frame)
  #--------------------------------------------------------------------------
  alias eb_sp1_animation_set_sprites animation_set_sprites
  def animation_set_sprites(frame)
    eb_sp1_animation_set_sprites(frame)
    cell_data = frame.cell_data
    for i in 0..15
      sprite = @animation_sprites[i]
      next if sprite == nil
      pattern = cell_data[i, 0]
      next if pattern == nil or pattern == -1
      if @animation_mirror
        sprite.y = @animation_oy + cell_data[i, 2]
      end
      sprite.z = self.z + 300 + i
    end
  end
end
How/where in the script do you put this?
Old
Profile PM WWW Search
Anewtime is neither ape nor machine; has so far settled for the in-betweenAnewtime is neither ape nor machine; has so far settled for the in-between
 
Anewtime
 



 

Bookmarks

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules [Forum Rules]
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 On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I use RPG Maker Version... Lenny RPGMaker 15 2023-04-12 07:46 AM
Questions about RPG Maker XP Nero Angelo RPGMaker 18 2011-01-27 10:09 PM
Script in rpg maker xp MarkFromPinas RPGMaker 1 2007-12-11 05:41 PM
Cutscene script RPG Maker XP Gemise RPGMaker 2 2007-10-22 05:45 AM


All times are GMT -6. The time now is 06:01 PM.
'Synthesis 2' vBulletin 3.x styles and 'x79' derivative
by WetWired the Unbound and Chruser
Copyright ©2002-2008 zelaron.com
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.