Hi everyone. I'm back at resurrecting that old project, since SWF games will no longer be supported by browsers by the end of the year... So I expected to simply compile it to cpp. Turns out it's not that simple...
My project crash exactly on this piece of code I wrote in 2016. BitmapData doesn't seem to exist for cpp target and that's a bit confusing for a first problem after all these years... Does anyone know what should I do to make it work, or what is replacing BitmapData for other targets than Flash?
Thanks
EDIT:
Solved. I just had to replace
import flash.display.BitmapData;
by
import openfl.display.BitmapData;