Ntuziaka ederede RGSS

Kedu ihe bụ @ na scripts RGSS?

Nkọwa nke @ Syntax nke edemede dị na RGSS

Na-akọwapụta mgbanwe atụ maka otu klas. Iji nwee ike ịgụ na ide mgbanwe ụdị a, ịkwesịrị ịmepụtara ha ụzọ ntinye. Ị nwekwara ike iji attr_reader, attr_writer, ma ọ bụ attr_accessor shortcode iji buo ndị ọrụ dị mkpa na-akpaghị aka.

Ọmụmaatụ koodu:

def initialize
  @battler_name = ""
  @battler_hue = 0
  @hp = 0
  @sp = 0
  @states = []
  @states_turn = {}
  @maxhp_plus = 0
  @maxsp_plus = 0
  @str_plus = 0
  @dex_plus = 0
  @agi_plus = 0
  @int_plus = 0
  @hidden = false
  @immortal = false
  @damage_pop = false
  @damage = nil
  @critical = false
  @animation_id = 0
  @animation_hit = false
  @white_flush = false
  @blink = false
  @current_action = Game_BattleAction.new
end

Hapụ azịza

Adreesị email gị agaghị bipụtara. Chọrọ ubi na-akara na *

Ebe a na-eji Akismet iji belata spam. Mụta otu esi etinye usoro data gị.