OTF? I'm not familiar with that acronym, but whatever I was wondering about, it was most likely unrelated to JetCraft as I've only been working on it for about two and a half month.
There is no way to use the map width/height as array sizes, but you can easily get the map dimensions using libNtve_gf_Width/HeightOfRegion()
or PointGetX/Y(RegionGetBoundsMax()) with RegionEntireMap().
constintMapMaxSize=512;// Maximum map size allowed.int[MapMaxSize][MapMaxSize]dimensions;intMapWidth=FixedToInt(PointGetX(RegionGetBoundsMax(RegionEntireMap())));intMapHeight=FixedToInt(PointGetY(RegionGetBoundsMax(RegionEntireMap())));voidSomeFunc(){UIDisplayMessage(PlayerGroupAll(),c_messageAreaDebug,StringToText("Width: "+IntToString(MapWidth)+"\nHeight: "+IntToString(MapHeight)));dimensions[0][0]=SomeValue;//...dimensions[MapWidth][MapHeight]=SomeOtherValue;}
0
@willuwontu: Go
Yes I do. I'm aiming for a beta release sometime during January.
0
@ScorpSCII: Go @Yaksmanofage: Go
Thanks. :D
@iATEM4P5: Go
OTF? I'm not familiar with that acronym, but whatever I was wondering about, it was most likely unrelated to JetCraft as I've only been working on it for about two and a half month.
@Monkalizer: Go
Nah. Game development is more my thing. ;)
@JacktheArcher: Go
Not yet. It will be though, in the not too distant future.
0
My awesome thing is a sidescroller game with its own in-game level editor. Nothing special.
I'm just gonna let the videos speak for themselves.
Project Details
0
@Psyballa: Go
There is no way to use the map width/height as array sizes, but you can easily get the map dimensions using libNtve_gf_Width/HeightOfRegion() or PointGetX/Y(RegionGetBoundsMax()) with RegionEntireMap().