Windows Compiling Issue (Atlas issue - Solved)

DylanMeeble

  • Posts: 24
My issue is that my game will not compile correctly on the Windows platform. Everything works great in Flash, but when I try to compile to windows only my actor (player) is shown surrounded by the background color for that scene. The background image and tiles don't appear, and the other actors seem to be just one tile big white squares. Collisions are still there for the tiles and actors and  one of the "white square" actors move automatically like it is supposed to. I can enter door regions and scenes transition still so this appear to be only visual compiling issues? No error logs are generated when the game compiles either.

I'm on Windows 10 running the latest 3.4.0 beta 3 version of Stencyl. I tried to install the last Visual Studio 2015 and the Common Tools for Visual C++ 2015 suggested in this post: http://community.stencyl.com/index.php/topic,47294.0.html then I restarted and tried again with no success.

Further information: This seemed to happen slowly, because yesterday when I tried to compile to windows everything appeared correctly I just noticed the music did not start playing when the scene was created like it does in flash, and also a group tiles from a new tilesheet were not appearing in another scene. Then today it just started with everything not appearing visually correct. I'm currently downloading Visual Studio 2015 on another computer to test if it could be an issue with just my computer or if it's actually a stencyl issue.
I attached two screenshots of the game compiling in Flash and in Windows. Please let me know if you have any suggestions.

« Last Edit: May 30, 2016, 09:16:28 pm by DylanMeeble »

Justin

  • *
  • Posts: 4716
It's either a problem with your project scales or your atlases. The graphics aren't being loaded. Not an issue with compilation so don't worry about that.
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

DylanMeeble

  • Posts: 24
I originally thought this was an atlas issue, thought I checked everything was fine. Turns out I just disabled the atlas for all scenes haha. All the visuals are back and things seem to be running as expected. However the music I have set to start when the scene is created still doesn't play on the Windows platform, but does in Flash and it is in the correct atlas.

I have a slightly weird setup for how the sound starts, I'm not sure if that could cause an issue between the platforms? When the scene is created it triggers an event in a behavior for the scene, which checks if it should play music and which song. This is also important because I have a "loop song" that plays after the "starting song". Would this cause any issues on Windows? Thank you for the help as always! Can always count on you to come to my rescue haha

Justin

  • *
  • Posts: 4716
If you're wondering if the block is being executed, you can put a [print] block next to it to see.
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)