https://linen.dev logo
Join Discord
Powered by
# lime
  • a

    able-action-74275

    09/02/2022, 8:12 PM
    super awesome release though
  • r

    rich-horse-51130

    09/02/2022, 8:13 PM
    the image path i put in for newIconPath was just wrong, the code itself works dandly fine
  • b

    bulky-insurance-39338

    09/02/2022, 8:13 PM
    my migration this time from 7.9 to 8 was only need 20 minutes (ok .. some hour to test all my stuff and samples .. and one little bug but that was only into neko+http-async-loading and is still into work to fix there!)
  • r

    rich-horse-51130

    09/02/2022, 8:14 PM
    122 mb damn
  • r

    rich-horse-51130

    09/02/2022, 8:14 PM
    its not much but if you have shitty internet it takes
  • r

    rich-horse-51130

    09/02/2022, 8:14 PM
    quite a while
  • b

    bulky-insurance-39338

    09/02/2022, 8:15 PM
    apropos, is Flixel also was updated into sync to new lime+openfl ?
  • a

    able-action-74275

    09/02/2022, 8:15 PM
    not sure
  • a

    able-action-74275

    09/02/2022, 8:16 PM
    flixel 5.0 us coming so maybe waiting for that
  • b

    bulky-insurance-39338

    09/02/2022, 8:21 PM
    oh, into this case you can (after upgrading) also set it easy back to the old versions ( haxelib set [project-name] [version] ) if flixel not have the version-numbers into lib-dependencies .. but i ah think it should be point to 7.9.0 if not released the new version there also
  • a

    able-action-74275

    09/02/2022, 8:24 PM
    yeah no problem I think
  • f

    fast-raincoat-78448

    09/04/2022, 4:43 PM
    Hello, I want to add a library that's strictly for js targets, and I want to make sure that I'm doing it right
  • f

    fast-raincoat-78448

    09/04/2022, 4:43 PM
    is this how I should type it?
  • f

    fast-raincoat-78448

    09/04/2022, 4:43 PM
  • f

    fast-raincoat-78448

    09/04/2022, 4:43 PM
    in the Project.xml file right?
  • f

    fast-raincoat-78448

    09/04/2022, 4:48 PM
    I'm mainly asking because vsCode still gives me errors despite being able to build and run the game
  • f

    fast-raincoat-78448

    09/04/2022, 4:48 PM
    I've tried clearing the cache and I'm still getting the false error
  • f

    fast-raincoat-78448

    09/04/2022, 4:50 PM
    Well I've tried replacing if="js" with unless="cpp" and vsCode doesn't give me errors anymore
  • l

    loud-salesclerk-7438

    09/04/2022, 5:04 PM
    if your build target is "html5", then I would assume that you need to use
    if="html5"
  • l

    loud-salesclerk-7438

    09/04/2022, 5:04 PM
    unless html5 implies js
  • f

    fast-raincoat-78448

    09/04/2022, 5:10 PM
    I'm building for windows
  • f

    fast-raincoat-78448

    09/04/2022, 5:10 PM
    and potentially other platforms in the future
  • f

    fast-raincoat-78448

    09/04/2022, 5:10 PM
    so I don't need it myself
  • f

    fast-raincoat-78448

    09/04/2022, 5:10 PM
    but maybe some other time
  • f

    fast-raincoat-78448

    09/04/2022, 5:10 PM
    idk mac or linux or something
  • a

    able-action-74275

    09/04/2022, 5:31 PM
    I think “web” also works (combining html5 and flash)
  • s

    sticky-apartment-12268

    09/07/2022, 10:12 PM
    Tearing my hair out trying to make this work: https://try.haxe.org/#12330A4c
    Copy code
    Test.hx:15: characters 3-30 : error: Data should be get_data.T
    Test.hx:15: characters 3-30 : ... have: Null<Data>
    Test.hx:15: characters 3-30 : ... want: Array<get_data.T>
    ...Can someone make it work for me?
  • o

    orange-van-60470

    09/10/2022, 2:57 PM
    I am a bit confused what your doing it feels hacky. I can hide the problems with casts
    Copy code
    Haxe
        static public function get_data<T:Data>(type:Class<T>):Array<T> {
        var t:Type = cast type;
            return cast ALL_DATA.get(t);
        }
    But I feel this is wrong
  • o

    orange-van-60470

    09/10/2022, 2:57 PM
    15:55:47:716 Test.hx:27:,class Thing1 extends Data { constructor() { super(); } },class Thing2 extends Data { constructor() { super(); } },class Thing3 extends Data { constructor() { super(); } } 15:55:47:730 Test.hx:28:,10 15:55:47:732 Test.hx:29:,10 15:55:47:732 Test.hx:30:,10
  • o

    orange-van-60470

    09/10/2022, 2:58 PM
    You should avoid cast where you can as compiler can't really check anything. As I said don't follow what you doing or why
1...282930...138Latest