Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Change Chara Graphic

hello,

I need a Script or a Call_Script_Code to change the Graphic of an Event.

It must work with the Stop_Animation Thing of the Event Pages.

Hope someone knows something ^^ thx':|
 

arev

Sponsor

First place something like this:
Code:
class Game_Character
attr_accessor :character_name
end
in a new tab. Then, from the "call script" command:
Code:
get_character(event_id).character_name = "001-Fighter01"

: )
 
cool.. thx

but.. it lags if i change the graphics of 10 Characters every 10 Frames ^^

For Info: I need it for an Event-Based Sideview Battle System

But i use your Method for others.. thx
 
Well, if it's event based then why don't you just use "set move route -> change graphic"? Though it's basically the same.

Not exactly.. If i use an Event-code to change the graphic.. I must repeat the Change_Chraphic for every weapon and armory

with RGSS i can do it like that:

get_character(event_id).character_name = "Hero1_#{$hero1["Weapon"]}_#{$hero1["Armor"]}...etc..."


That?s much easier und smaller ^^


EDIT:
I need methods for changing the hue, opacity and blending to ( like with events.. but RGSS )


Thx to Seph.. The FAQ helped me out with Self-switches
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top