Class: BattleUI::PokemonSprite3D

Overview

Sprite of a Pokemon in the battle when BATTLE_CAMERA_3D is true Sprite3D calculates Coordinates from the center of the Viewport

Constant Summary

Constants inherited from PokemonSprite

BattleUI::PokemonSprite::DELTA_DEATH_Y

Instance Attribute Summary

Attributes inherited from PokemonSprite

#animation_handler, #bank, #pokemon, #position, #scene, #selected, #temporary_substitute_overwrite

Attributes inherited from LiteRGSS::ShaderedSprite

#blendmode, #shader

Attributes inherited from LiteRGSS::Sprite

#__index__, #angle, #bitmap, #height, #mirror, #opacity, #ox, #oy, #src_rect, #viewport, #visible, #width, #x, #y, #z, #zoom, #zoom_x, #zoom_y

Instance Method Summary collapse

Methods inherited from PokemonSprite

#bitmap=, #cry, #done?, #flee_animation, #initialize, #opacity=, #set_origin, #set_position, #substitute_animations_speed, #switch_from_substitute_animation, #switch_to_substitute_animation, #switch_to_substitute_sprite, #under_substitute_effect?, #update, #visible=, #x=, #y=, #zoom=

Methods included from Shader::CreatureShaderLoader

#find_shader_id, #load_shader, #load_shader_properties

Methods included from MultiplePosition

#enemy?

Methods included from GoingInOut

#animation_handler, #go_in, #go_out, #in?, #out?

Methods inherited from Sprite

#load, #mouse_in?, #set_origin_div, #set_rect, #set_rect_div, #set_z, #simple_mouse_in?, #translate_mouse_coords, #update

Methods inherited from LiteRGSS::Sprite

new, #set_origin, #set_position

Methods inherited from LiteRGSS::Disposable

#dispose, #disposed?

Constructor Details

This class inherits a constructor from BattleUI::PokemonSprite

Instance Method Details

#shadow

Return the shadow characteristic of the PokemonSprite3D



1797
1798
# File 'docs/5_Battle_01_Scene.rb', line 1797

def shadow
end

#z=(z)

Set the z position of the sprite

Parameters:

  • z (Numeric)


1794
1795
# File 'docs/5_Battle_01_Scene.rb', line 1794

def z=(z)
end