Class: Spriteset_Map
- Includes:
- Hooks
- Defined in:
- docs/4_Systems_003_Map_Engine.rb
Overview
Display everything that should be displayed during the Scene_Map
Instance Attribute Summary collapse
-
#game_player_sprite ⇒ Sprite_Character
readonly
Retrieve the Game Player sprite.
Instance Method Summary collapse
-
#create_panel(zone)
create the zone panel of the current zone.
-
#dispose(from_warp = false) ⇒ Sprite?
Spriteset_map dispose.
-
#dispose_sp_map
Dispose the zone panel.
-
#disposed? ⇒ Boolean
Tell if the spriteset is disposed.
-
#finish_init(zone)
Last step of the Spriteset initialization.
-
#inform_quest(name, quest_status)
Add a new quest informer.
-
#init_characters
Sprite_Character initialization.
-
#init_panorama_fog
Panorama and fog initialization.
-
#init_player
Player initialization.
-
#init_psdk_add
PSDK related thing initialization.
-
#init_quest_informer
Create the quest informer array.
-
#init_tilemap
Tilemap initialization.
-
#init_viewports(viewport_type)
Method responsive of initializing the viewports.
-
#init_weather_picture_timer
Weather, picture and timer initialization.
-
#initialize(zone = nil) ⇒ Spriteset_Map
constructor
Initialize a new Spriteset_Map object.
-
#load_autotile(filename) ⇒ Texture
Attempt to load an autotile.
-
#load_autotile_internal(filename) ⇒ Texture
Attempt to load an autotile.
-
#map_viewport ⇒ Viewport
Return the map viewport.
-
#recycle_characters(character_sprites)
Recycled Sprite_Character initialization.
-
#reload(zone = nil)
Do the same as initialize but without viewport initialization (opti).
-
#snap_to_bitmaps ⇒ Array<Texture>
Take a snapshot of the spriteset.
-
#sprite_picture(id_game_picture) ⇒ Sprite_Picture
Get the Sprite_Picture linked to the ID of the Game_Picture.
-
#tilemap_class ⇒ Class
Return the prefered tilemap class.
-
#update
Update every sprite.
-
#update_events
update event sprite.
-
#update_panel
Update the zone panel.
-
#update_panorama_fog
update panorama and fog sprites.
-
#update_weather_picture
update weather and picture sprites.
-
#visible=(value)
Change the visible state of the Spriteset.
Methods included from Hooks
#exec_hooks, #force_return, included, register, remove, remove_without_name
Constructor Details
#initialize(zone = nil) ⇒ Spriteset_Map
Initialize a new Spriteset_Map object
446 447 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 446 def initialize(zone = nil) end |
Instance Attribute Details
#game_player_sprite ⇒ Sprite_Character (readonly)
Retrieve the Game Player sprite
443 444 445 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 443 def game_player_sprite @game_player_sprite end |
Instance Method Details
#create_panel(zone)
create the zone panel of the current zone
534 535 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 534 def create_panel(zone) end |
#dispose(from_warp = false) ⇒ Sprite?
Spriteset_map dispose
513 514 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 513 def dispose(from_warp = false) end |
#dispose_sp_map
Dispose the zone panel
538 539 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 538 def dispose_sp_map end |
#disposed? ⇒ Boolean
Tell if the spriteset is disposed
508 509 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 508 def disposed? end |
#finish_init(zone)
Last step of the Spriteset initialization
462 463 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 462 def finish_init(zone) end |
#inform_quest(name, quest_status)
Add a new quest informer
557 558 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 557 def inform_quest(name, quest_status) end |
#init_characters
Sprite_Character initialization
490 491 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 490 def init_characters end |
#init_panorama_fog
Panorama and fog initialization
482 483 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 482 def init_panorama_fog end |
#init_player
Player initialization
497 498 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 497 def init_player end |
#init_psdk_add
PSDK related thing initialization
485 486 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 485 def init_psdk_add end |
#init_quest_informer
Create the quest informer array
503 504 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 503 def init_quest_informer end |
#init_tilemap
Tilemap initialization
469 470 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 469 def init_tilemap end |
#init_viewports(viewport_type)
Method responsive of initializing the viewports
450 451 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 450 def () end |
#init_weather_picture_timer
Weather, picture and timer initialization
500 501 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 500 def init_weather_picture_timer end |
#load_autotile(filename) ⇒ Texture
Attempt to load an autotile
474 475 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 474 def load_autotile(filename) end |
#load_autotile_internal(filename) ⇒ Texture
Attempt to load an autotile
479 480 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 479 def load_autotile_internal(filename) end |
#map_viewport ⇒ Viewport
Return the map viewport
552 553 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 552 def end |
#recycle_characters(character_sprites)
Recycled Sprite_Character initialization
494 495 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 494 def recycle_characters(character_sprites) end |
#reload(zone = nil)
Do the same as initialize but without viewport initialization (opti)
458 459 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 458 def reload(zone = nil) end |
#snap_to_bitmaps ⇒ Array<Texture>
Take a snapshot of the spriteset
454 455 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 454 def snap_to_bitmaps end |
#sprite_picture(id_game_picture) ⇒ Sprite_Picture
Get the Sprite_Picture linked to the ID of the Game_Picture
530 531 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 530 def sprite_picture(id_game_picture) end |
#tilemap_class ⇒ Class
Return the prefered tilemap class
466 467 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 466 def tilemap_class end |
#update
Update every sprite
516 517 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 516 def update end |
#update_events
update event sprite
519 520 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 519 def update_events end |
#update_panel
Update the zone panel
543 544 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 543 def update_panel end |
#update_panorama_fog
update panorama and fog sprites
525 526 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 525 def update_panorama_fog end |
#update_weather_picture
update weather and picture sprites
522 523 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 522 def update_weather_picture end |
#visible=(value)
Change the visible state of the Spriteset
548 549 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 548 def visible=(value) end |