Barras De Enemigo

  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Barras De Enemigo as PDF for free.

More details

  • Words: 269
  • Pages: 1
este script hace que cuando el cursor de selecci�n de objetivo de las batallas, selecciones un enemigo, en la parte superior de la pantalla aparezca, no solo su nombre, sino tambi�n su estado, y su vida y magia en forma de barras (una roja y la otra azul). este script es compatible con la mayoria de scripts de batalla (excepto, claro est� el abs, que no pelea con menus) que existen. no realentiza nada la batalla y no tiene ning�n tipo de error. ademas, el script funciona de forma automatica y no necesita nada especial. sin duda, una mejora para el monotono sistema de batalla. si quieres instalarlo, crea una clase encima del "main" llamada "window_help_2" y copia ah� el siguiente c�digo: #-----------------------------------------------------------------------------# script desarrollado por carol13 #============================================================================== class window_help < window_base def set_enemy(actor) self.contents.clear draw_actor_name(actor, 4, 0) draw_actor_state(actor, 140, 0) carol3_draw_hp_bar(actor, 284, 0) carol3_draw_sp_bar(actor, 460, 0) @text = nil self.visible = true end def carol3_draw_hp_bar(actor, x, y, width = 128) self.contents.font.color = system_color self.contents.fill_rect(x-1, y+17, width+2,6, color.new(0, 0, 0, 255)) w = width * actor.hp / actor.maxhp self.contents.fill_rect(x, y+18, w,1, color.new(255, 96, 96, 255)) self.contents.fill_rect(x, y+19, w,1, color.new(255, 0, 0, 255)) self.contents.fill_rect(x, y+20, w,1, color.new(128, 0, 0, 255)) self.contents.fill_rect(x, y+21, w,1, color.new(0, 0, 0, 255)) self.contents.draw_text(x,y,128,32,$data_system.words.hp,1) self.contents.font.color = normal_color end def carol3_draw_sp_bar(actor, x, y, width = 128) self.contents.font.color = system_color self.contents.fill_rect(x-1, y+17, width+2,6, color.new(0, 0, 0, 255)) w = width * actor.sp / actor.maxsp self.contents.fill_rect(x, y+18, w,1, color.new(128, 255, 255, 255)) self.contents.fill_rect(x, y+19, w,1, color.new(0, 255, 255, 255)) self.contents.fill_rect(x, y+20, w,1, color.new(0, 192, 192, 255)) self.contents.fill_rect(x, y+21, w,1, color.new(0, 128, 128, 255)) self.contents.draw_text(x,y,128,32,$data_system.words.sp,1) self.contents.font.color = normal_color end end

Related Documents

Barras De Enemigo
November 2019 13
Barras
April 2020 35
Barras
October 2019 37
Barras
October 2019 37
Codigos De Barras
December 2019 23
Ean Codigo De Barras
December 2019 33