Hi there......
I want to make a attack be able to change its image during attacking.
My idea is a laser attack will warn the player before it.
EDIT: Here's the Undertale battle system by SumRndmDde
If you can't understand what am I talking, sorry. Because English is not my first language, I couldn't express it very clearly.
Here is a part of my code:
I try to change it to "Laser1" or Laser1.png, but it just no use.
I want to make a attack be able to change its image during attacking.
My idea is a laser attack will warn the player before it.
EDIT: Here's the Undertale battle system by SumRndmDde
If you can't understand what am I talking, sorry. Because English is not my first language, I couldn't express it very clearly.
Here is a part of my code:
Code:
<UTB Attack 1>
Initial X: this.x
Initial Y: this.y
Collision Type: Pixel
Width: 390
Height: 500
X Speed: 0
Y Speed: 0
X Accel: 0
Y Accel: 0
Spawn Rate: 100
Spawn Delay: 0
Image: Lazer2
<Direct Code>
Image = "Laser1.png";
</Direct Code>
</UTB Attack 1>
I try to change it to "Laser1" or Laser1.png, but it just no use.