https://linen.dev logo
Join Discord
Powered by
# flixel
  • i

    important-egg-61899

    02/22/2023, 2:08 PM
    can I make it an mp4?
  • a

    ambitious-knife-25690

    02/22/2023, 2:09 PM
    sure, whatever doesn't need anyone to download it
  • i

    important-egg-61899

    02/22/2023, 2:09 PM
    bug
  • a

    ambitious-knife-25690

    02/22/2023, 2:10 PM
    that looks like you have some variable that you set on the first run
  • a

    ambitious-knife-25690

    02/22/2023, 2:11 PM
    but when you finish the run
  • a

    ambitious-knife-25690

    02/22/2023, 2:11 PM
    you don't reset the variable back to its original value
  • i

    important-egg-61899

    02/22/2023, 2:11 PM
    hmm
  • i

    important-egg-61899

    02/22/2023, 2:11 PM
    that might be it
  • s

    square-angle-35096

    02/22/2023, 2:11 PM
    i think you should make those traces flixel debugger watches
  • s

    square-angle-35096

    02/22/2023, 2:11 PM
    like this:
  • i

    important-egg-61899

    02/22/2023, 2:12 PM
    I know how it was just quick to keep it in console after I closed the game
  • s

    square-angle-35096

    02/22/2023, 2:14 PM
    Copy code
    hx
    FlxG.watch.add(char, speed, 'speed');
    FlxG.watch.add(char.velocity, x, 'x velocity');
    FlxG.watch.add(char.animation.curAnim, frameRate, 'character animation framerate');
    FlxG.watch.add(char.animation.curAnim, name, 'character animation name');
  • s

    square-angle-35096

    02/22/2023, 2:14 PM
    this way you're not tracing stuff every frame and these stuff appear on your debugger
  • i

    important-egg-61899

    02/22/2023, 2:15 PM
    it's not traced every frame but other than that I get what you mean
  • i

    important-egg-61899

    02/22/2023, 2:15 PM
    it's traced when you press I
  • s

    square-angle-35096

    02/22/2023, 2:15 PM
    oooo
  • s

    square-angle-35096

    02/22/2023, 2:15 PM
    yea i noticed now i didnt notice because of discord formating the code poorly lol
  • s

    square-angle-35096

    02/22/2023, 2:15 PM
  • i

    important-egg-61899

    02/22/2023, 2:16 PM
    oh discord does that
  • s

    square-angle-35096

    02/22/2023, 2:16 PM
    yea
  • a

    ambitious-knife-25690

    02/22/2023, 2:25 PM
    same, why does a bracket need a whole line to itself?
  • a

    ambitious-knife-25690

    02/22/2023, 2:25 PM
    it aint that important
  • i

    important-egg-61899

    02/22/2023, 2:26 PM
    yeah one variable resets
  • i

    important-egg-61899

    02/22/2023, 2:27 PM
    all it does is give the player a little more velocity when they start to run
  • a

    ambitious-knife-25690

    02/22/2023, 2:27 PM
    so does this mean you solved it?
  • i

    important-egg-61899

    02/22/2023, 2:27 PM
    no
  • i

    important-egg-61899

    02/22/2023, 2:28 PM
    the animation still freezes for some reason
  • a

    ambitious-knife-25690

    02/22/2023, 2:29 PM
    think about it like this: You have the correct logic to create the effect you want. What you're missing is making it repeatable
  • a

    ambitious-knife-25690

    02/22/2023, 2:29 PM
    so to narrow down the code you need to send, you want to constrain it to the problematic animation frame
  • i

    important-egg-61899

    02/22/2023, 2:29 PM
    ok
1...946794689469...9809Latest