Jul 20, 2014

[RGSS/2/3] Damage Pop Up

Explanation
This script can show a damage number on your character like how ABS do it in maps

Instruction
$scene.damage(event, string, random, color) # XP / VX
SceneManager.scene.damage(event, string, random, color) # VXA

2 comments:

  1. Very nice script - keep on the good work!
    I have a question: You say inside the script
    that it is possible to show a string or a number
    for the damage that is dealt. I´m a beginner to
    "Ruby" so I would like to know if you can show
    up a variable instead too?
    Thank you+Greetings

    ReplyDelete
  2. this is an example:

    event = $game_map.events[1]
    string = $game_variables[1]
    random = 10
    color = Color.new(255,0,0)
    $scene.damage(event, string, random, color)

    ReplyDelete