Azu's Recent Forum Activity

  • I don't mind, but I liked the sub-animations. It's going for doing games in which a character has multiple weapons.

  • [s:339p1xu4]I'm trying to get this function to work.

    img339.imageshack.us/img339/9153/clipboard04z.png

    However, it's not working. I'm trying to get it so that I don't have to add that create damage event for every single hit and for every single enemy.[/s:339p1xu4]

    Nevermind, I had it spawn a layer that wasn't even created yet.=P

  • Still not working. It sets the number to the value "dmg" while the text is still visible instead of setting it at the point of creation. I've updated the cap so can see what I mean.

    Okay, I fixed it sort of, by adding it under the press one event.

    <img src="http://dl.dropbox.com/u/32409323/imgevent.png">

    Maybe I could use a loop to call the damage function.

    I'll have to do this forever event.

  • I did that too, and it first thing that comes put is "0" instead of the actual number.

  • http://dl.dropbox.com/u/32409323/USP.cap

    [quote:2ltuxhv3]

    System: Is global variable 'dmg' Greater or equal 100000

    -> System: Set global variable 'dmg' to str(Int(global('dmg')/1000))&"K"

    MouseKeyboard: On key 1 pressed

    System: Create object dmgText on layer 1 at (eneTest.X-20, eneTest.Y)
    • > System: Set global variable 'dmg' toClamp(floor((1+random(0.225))*(global('ATK') *1.0 - eneTest ('DEF')*3))+1, 0,99999999999)
    -> dmgText: Set text to global('dmg')

    This what I have. It doesn't, it still displays the full value.

    However, if I do it like this:

    [quote:2ltuxhv3]

    System: Is global variable 'dmg' Greater or equal 100000

    -> System: Set global variable 'dmg' to str(Int(global('dmg')/1000))&"K"

    MouseKeyboard: On key 1 pressed

    System: Create object dmgText on layer 1 at (eneTest.X-20, eneTest.Y) -> dmgText: Set text to global('dmg')

    • > System: Set global variable 'dmg' toClamp(floor((1+random(0.225))*(global('ATK') *1.0 - eneTest ('DEF')*3))+1, 0,99999999999)

    It will work, but the first text will say "0", then it will show the value as "123K".

    I need to get it to work without showing the "0" first.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • You can register on Student Autodesk and get 3ds max free. I did it without a student e-mail.

  • Oh, I just renamed "Colour" to "Color". You must have the one with the original name.

    <--American.

  • Must be doing something wrong.

    I'm not understanding much. I'm not using text in any fashion.

    Look in stats for the damage stuff.

    Baddies and Bosses for the damage dealing

    http://dl.dropbox.com/u/32409323/engine2a.cap

  • What using sprite-based ones? Like in the example in this thread.

  • Would that only worked with text-base numbers instead of sprite-based ones?

  • Don't mean to raise the topic again. But, I have a question. I don't if anyone here has played disgaea. In disgaea, damage over 99,999 is display in 3 digits, with a K at the end of the number.

    K=1000. 123,145 / 1000 = 123k. Like that. Over 100millionm is displayed by a "M". 100M = 100,000,000. So basically, I want to do something like that.

  • *Waits for animation editor*

Azu's avatar

Azu

Member since 5 Dec, 2007

None one is following Azu yet!

Trophy Case

  • 16-Year Club
  • Email Verified

Progress

17/44
How to earn trophies