square-angle-35096
02/21/2023, 3:34 PMsquare-angle-35096
02/21/2023, 3:34 PMmost-eve-98431
02/21/2023, 3:34 PMsquare-angle-35096
02/21/2023, 3:34 PMsquare-angle-35096
02/21/2023, 3:35 PMsquare-angle-35096
02/21/2023, 3:35 PMlively-computer-90469
02/21/2023, 4:03 PMlively-computer-90469
02/21/2023, 4:03 PMhallowed-ocean-84954
02/21/2023, 4:04 PMlively-computer-90469
02/21/2023, 4:05 PMsquare-angle-35096
02/21/2023, 4:13 PMsquare-angle-35096
02/21/2023, 4:14 PMhx
#if cpp
import cpp.vm.Gc;
#elseif hl
import hl.Gc;
#elseif java
import java.vm.Gc;
#elseif neko
import neko.vm.Gc;
#end
square-angle-35096
02/21/2023, 4:17 PMhx
//java neko and cpp clear minor
Gc.run(false);
//cpp clear major
Gc.run(true);
Gc.compact();
//Hashlink clear major
Gc.major();
//Java and neko clear major
Gc.run(true);
purple-toddler-22641
02/21/2023, 5:11 PMfinal
FlxColor not considered constant? 🤔purple-toddler-22641
02/21/2023, 5:12 PMfunction new(Color:FlxColor = MyColor){}
it complains that Parameter default value should be constant
even when I define MyColor
as final
witty-island-52596
02/21/2023, 5:38 PMwitty-island-52596
02/21/2023, 5:40 PMwitty-island-52596
02/21/2023, 5:40 PMhallowed-holiday-15370
02/21/2023, 5:42 PMpurple-toddler-22641
02/21/2023, 6:01 PMpurple-toddler-22641
02/21/2023, 6:01 PMwitty-island-52596
02/21/2023, 6:13 PMwitty-island-52596
02/21/2023, 6:13 PMkind-restaurant-65061
02/21/2023, 7:40 PMwitty-island-52596
02/21/2023, 7:43 PMwitty-island-52596
02/21/2023, 7:45 PMwitty-island-52596
02/21/2023, 7:46 PMwitty-island-52596
02/21/2023, 7:47 PMkind-restaurant-65061
02/21/2023, 7:51 PMwitty-island-52596
02/21/2023, 7:59 PM