https://linen.dev logo
Join DiscordCommunities
Powered by
# flixel
  • a

    ambitious-knife-25690

    05/26/2023, 11:32 PM
    this is relatively normal for compiling native things
  • m

    most-eve-98431

    05/26/2023, 11:33 PM
    What is native?
  • a

    ambitious-knife-25690

    05/26/2023, 11:33 PM
    6mins may be on the higher side for a sub sequent compile tho
  • a

    ambitious-knife-25690

    05/26/2023, 11:33 PM
    c/cpp
  • m

    most-eve-98431

    05/26/2023, 11:33 PM
    ohh
  • a

    ambitious-knife-25690

    05/26/2023, 11:34 PM
    but native is "expected" to be "long" but for native, it is actually relatively normal
  • a

    ambitious-knife-25690

    05/26/2023, 11:34 PM
    beginners make the mistake of assuming compilation should be like js
  • m

    most-eve-98431

    05/26/2023, 11:35 PM
    What's the difference between HashLink and window builds?
  • d

    dry-architect-89995

    05/26/2023, 11:35 PM
    can i use a compilation server for speed up build time ?
  • a

    ambitious-knife-25690

    05/26/2023, 11:35 PM
    hashlink has a vm target and a native target
  • a

    ambitious-knife-25690

    05/26/2023, 11:36 PM
    the vm target operates similarly to native, but just with a faster compile time
  • m

    most-eve-98431

    05/26/2023, 11:36 PM
    Yeah that's the only big difference I noticed
  • m

    most-eve-98431

    05/26/2023, 11:36 PM
    Btw, not related but how do I "reset" a FlxTypedGroup?
  • a

    ambitious-knife-25690

    05/26/2023, 11:36 PM
    that's a big reason why the target exists
  • a

    ambitious-knife-25690

    05/26/2023, 11:37 PM
    wdym reset? to your own defaults?
  • m

    most-eve-98431

    05/26/2023, 11:37 PM
    Like, remove every object in it
  • m

    most-eve-98431

    05/26/2023, 11:37 PM
    Just like when you call
    new()
  • a

    ambitious-knife-25690

    05/26/2023, 11:38 PM
    just overwrite it with new
  • a

    ambitious-knife-25690

    05/26/2023, 11:38 PM
    actually that might actually cause some issues 😆
  • m

    most-eve-98431

    05/26/2023, 11:38 PM
    Oh
  • a

    ambitious-knife-25690

    05/26/2023, 11:38 PM
    i'm not sure if there's a better way for hf
  • d

    dry-architect-89995

    05/26/2023, 11:39 PM
    how to use build.hxml in my project ?
  • m

    most-eve-98431

    05/26/2023, 11:39 PM
    I'll try it
  • m

    most-eve-98431

    05/26/2023, 11:39 PM
    IT WORKED LMAO
  • a

    ambitious-knife-25690

    05/26/2023, 11:40 PM
    for flixel, you don't, you interact with the project.xml which outputs to a .hxml
  • a

    ambitious-knife-25690

    05/26/2023, 11:40 PM
    it is "a" way, but it could cause a null reference doing it this way
  • a

    ambitious-knife-25690

    05/26/2023, 11:40 PM
    if timed or guarded appropriately then it shouldn't be an issue
  • d

    dry-architect-89995

    05/26/2023, 11:41 PM
    okay thanks.
  • m

    most-eve-98431

    05/26/2023, 11:41 PM
    Yeah, I was having problems with recycling and state changing while having an
    public static
    FlxTypedGroup
  • m

    most-eve-98431

    05/26/2023, 11:41 PM
    but that made it work
1...980198029803...9809Latest