This is why I have to recommend using minisphere from here on out. The much stricter type checking on API arguments would have caught this immediately.

miniSphere 5.1.3 - Cell compiler - SSj debugger - thread | on GitHubFor the sake of our continued health I very much hope that Fat Cerberus does not become skilled enough at whatever arcane art it would require to cause computers to spawn enourmous man eating pigs ~Rhuan

This is why I have to recommend using minisphere from here on out. The much stricter type checking on API arguments would have caught this immediately.

AFAIK his code ought to work in Sphere. When I saw N E O use the layer name in his game I thought that was neat and never seen it before. Maybe the Sphere API is spotty on when it allows the name? Further, maybe there are certain engines that have that behavior and other engines that do not?

If you use code to help you code you can use less code to code. Also, I have approximate knowledge of many things.

AFAIK his code ought to work in Sphere. When I saw N E O use the layer name in his game I thought that was neat and never seen it before. Maybe the Sphere API is spotty on when it allows the name? Further, maybe there are certain engines that have that behavior and other engines that do not?

Nope, referencing layers by name doesn't work in Sphere, at least not Sphere 1.5. That's one of the changes I had to make the get Artyxx to work at all, even in vanilla.

That said, it would certainly be easy enough to support it in minisphere.

Last Edit: March 23, 2015, 03:01:24 am by Lord English

miniSphere 5.1.3 - Cell compiler - SSj debugger - thread | on GitHubFor the sake of our continued health I very much hope that Fat Cerberus does not become skilled enough at whatever arcane art it would require to cause computers to spawn enourmous man eating pigs ~Rhuan

I believe referencing layers by name (especially in functions like SetTile) was going to be a 1.6 addition. I was using the 1.6b4 engine to test out Artyxx on Windows and to put it through its paces so I could have given a more thorough bug report re 1.6 improvements.

I believe referencing layers by name (especially in functions like SetTile) was going to be a 1.6 addition. I was using the 1.6b4 engine to test out Artyxx on Windows and to put it through its paces so I could have given a more thorough bug report re 1.6 improvements.

That explains it!

If you use code to help you code you can use less code to code. Also, I have approximate knowledge of many things.

That said, it would certainly be easy enough to support it in minisphere.

Aaaannnd it's done. Map layers can now be referenced by name in minisphere.

miniSphere 5.1.3 - Cell compiler - SSj debugger - thread | on GitHubFor the sake of our continued health I very much hope that Fat Cerberus does not become skilled enough at whatever arcane art it would require to cause computers to spawn enourmous man eating pigs ~Rhuan