Skaruts
Skaruts
> This would make the tutorial quite longer and less beginner-friendly Well, you could make a separate second part to it, for intermediate topics. If you're inclined to keep doing...
> As I already said in the above reply: I overlooked it. Sorry. Alright then. Thanks anyway. You did a great job with the existing one btw. :) Cheers.
Well I atually figured it out shortly after posting this... This works. ```Nim let maps = cast[ptr UncheckedArray[MaterialMap]](mats[0].maps) #
Thanks. There are problems with collisions in the original too, though.
> Other than personal preference, any reason? Doesn't seem to resolve collisions in a meaningful way, and it also makes things from namespaces look like regular identifiers, so you can't...
Would it be a stretch to suggest that tiles could also store information about the directions from which they could be collided or not? I mean, as in, you could...
That function actually exists, but I don't think it's documented (I don't know when it was added). You can type this in the console to test if a function exists...
On a related note, `Number.parse()` could have a similar behavior, such that you could test `result.type == 0` in case the string couldn't be converted to a number.
@pmgl, to be honest, the way I see it,... this all seems to me like just ways of having a nil type in microscript after all... except more laborious, more...
Well,... what I was really trying to say is that I think you already have a nil value in microscript... except it's more complicated to work with than usual. From...