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

    early-apartment-19010

    02/18/2023, 9:55 PM
    also use haxe 4.2.5
  • m

    mysterious-intern-42609

    02/18/2023, 9:56 PM
    I will
  • h

    hallowed-holiday-15370

    02/18/2023, 9:57 PM
    Why not use the latest?
  • h

    hallowed-holiday-15370

    02/18/2023, 9:57 PM
    I think 5.2.2 is out
  • h

    hallowed-holiday-15370

    02/18/2023, 9:57 PM
    oh haxe
  • h

    hallowed-holiday-15370

    02/18/2023, 9:57 PM
    not haxeflixel nm
  • h

    hundreds-garden-98504

    02/18/2023, 10:25 PM
    Hey I'm dealing with a issue where my graphics aren't loading to the actual level despite not running into any errors.
  • h

    hundreds-garden-98504

    02/18/2023, 10:26 PM
    For reference I'm using Ogmo to make the levels.
  • a

    able-action-74275

    02/18/2023, 10:26 PM
    @hallowed-holiday-15370 did you know axolstudio.com downloads 21.22 MB of data?
  • a

    able-action-74275

    02/18/2023, 10:29 PM
    images were taking their time to appear so I had a peek in dev tools, you could save a LOT of bandwidth optimising the images (even just using jpg instead of png)
  • h

    hallowed-holiday-15370

    02/18/2023, 10:32 PM
    I never thought it was a problem
  • h

    hallowed-holiday-15370

    02/18/2023, 10:33 PM
    maybe I'll look at it later I'm sure I can have hugo optimize or something
  • a

    able-action-74275

    02/18/2023, 10:34 PM
    well I guess you're not needing the fastest load speeds, not like you're amazon.com or anything (I feel bad for anyone visiting on their mobile data though)
  • h

    hallowed-holiday-15370

    02/18/2023, 10:34 PM
    So I'm using the
    shake
    tween for the first time - and I love it, except, my sprites are not being put back in their original positions all the time
  • h

    hallowed-holiday-15370

    02/18/2023, 10:40 PM
    Here's an example:
  • h

    hallowed-holiday-15370

    02/18/2023, 10:41 PM
    These 2 Person sprits have the same x value size/width/etc (the red is a separate sprite behind the other one) The top one had
    FlxTween.shake
    called on it using
    FlxAxes.X
    and it ended up in this position
  • h

    hallowed-holiday-15370

    02/18/2023, 10:42 PM
    There is logic in the
    ShakeTween.destroy
    that looks like it's supposed to but the sprite back in the right place, so I'm not sure why it's not working
  • h

    hallowed-holiday-15370

    02/18/2023, 10:46 PM
    hm I think I see the issue... a second tween is being called before the first one finishes... and so the second tween get's a starting offset that is the offset while the tween is mid-tween (if that makes sense)...
  • m

    mammoth-plastic-35593

    02/18/2023, 11:09 PM
    I've run into this kind of thing before. I've just made sure I cancel all my tweens before stating new ones on the same objects. Also, be careful as chained tweens (if you're using them) don't cancel properly right now (AFAIK). I have a todo to make an isolated example of the issue - but just keep that in mind if you're seeing weirdness with canceling tweens.
  • e

    early-apartment-19010

    02/19/2023, 12:46 AM
    ummm
  • e

    early-apartment-19010

    02/19/2023, 12:46 AM
    what
  • s

    square-angle-35096

    02/19/2023, 12:49 AM
    that means you used up too much memory
  • s

    square-angle-35096

    02/19/2023, 12:49 AM
    probably more than 1 GB
  • e

    early-apartment-19010

    02/19/2023, 12:49 AM
    ohh
  • e

    early-apartment-19010

    02/19/2023, 12:49 AM
    i think ik a way to fix that
  • s

    square-angle-35096

    02/19/2023, 12:49 AM
    you can have an option that allows you to use more than 1 GB memory
  • s

    square-angle-35096

    02/19/2023, 12:49 AM
    but if you're getting more than that its probably an optimization problem
  • e

    echoing-rainbow-13896

    02/19/2023, 12:25 PM
    is there a way to change the layering of sprites/spritegroups on the fly?
  • c

    colossal-match-5265

    02/19/2023, 1:00 PM
    The ordering of sprites/ groups is controlled by the order of the members array. if you change the order of that, it will change the draw order. Usually people use sort with sone custom logic to areange sprites how youd like. https://snippets.haxeflixel.com/groups/sorting/
  • c

    colossal-match-5265

    02/19/2023, 1:00 PM
    @echoing-rainbow-13896
1...945594569457...9809Latest