Closed davecom closed 9 years ago
@davecom my apologies, I haven't yet had time to look at this. It's on my list though.
No apology necessary!
hi @davecom I never did find any issues with your code, and am still unsure why you were seeing a blank screen. I checked again today and after updating your project to modern swift, and commenting out your pseudo-dynamic enemy placement code, I was able to run this again just fine. (I do not know why swift thinks that the object group dictionaries are SKNodes) I hope you got past this specific issue when you were working on it before.
I'll take a look and see if I can recreate it. Perhaps the code you commented out was the culprit. I'll let you know.
I also had to change some paths to get it to compile. I suspect that the project was named 'Chomp' at some point. =)
I'm not yet sure if this a JSTileMap issue, SpriteKit bug, or mistake on my part. I had a tile set working well in a SKView that took up the entirety of an OS X window. I now added controls to the top part of the window and constrained the SKView (where the tile map is loaded) to the bottom of the window. I kept the size of the SKView the same. However, without any code changes (just changes in Interface Builder) the SKView now just draws a big black box. Has anyone seen behavior like this?
The code/.xib doing this is here: https://github.com/davecom/Crump