■ このスレッドは過去ログ倉庫に格納されています
RPGツクールスレ
- 102 :以下、?ちゃんねるからVIPがお送りします :2021/08/09(月) 15:32:54.067 ID:/FvyUbL70.net
- 再々訂正
どっちでも良いと思うんだけどツクールMVのコードトレースするならこれになる
前述のコードと何がどう変わるのかは俺にも分からない
class Game_CharacterBase
#--------------------------------------------------------------------------
# ○ フレーム更新
#--------------------------------------------------------------------------
def update
update_animation
if jumping?
update_jump
elsif moving?
update_move
end
update_stop if stopping?
end
end
class Game_Character < Game_CharacterBase
#--------------------------------------------------------------------------
# ○ 移動ルートの実行位置を進める
#--------------------------------------------------------------------------
alias :_old_advance_move_route_index :advance_move_route_index
def advance_move_route_index
_old_advance_move_route_index
@move_route_index = 0 if @move_route.repeat && @move_route.list.size - 1 <= @move_route_index
end
end
総レス数 299
57 KB
新着レスの表示
掲示板に戻る
全部
前100
次100
最新50
read.cgi ver 2014.07.20.01.SC 2014/07/20 D ★