Two big bugs in HTML5 publishing
These may have been reported, but I've been only sparingly reading the forums lately so I might have missed them.. These two bugs caused a lot of headache for me tonight, so I wanted to share them in case someone else missed them too:
1. Changing the attribute of self.image will simply cause your actor to become invisible
2. Commenting OFF behaviors doesn't do anything - the behaviors still execute
This was excessively time consuming because I had to publish each change to HTML5, wait for the servers to update, test it, and then make another change to see if it worked. And there's no easy way to tell if your game update is playable yet so I had to make visible changes to the menu so I would know I was testing the latest version. I first thought the problem was with layering, then with certain destroy commands, then with hyphens in the image names, etc. So obviously Bug #2 made finding Bug #1 extremely difficult, since I tried commenting out the Change Attribute behavior early on and the problem continued, so I was mislead.
Anyway, now that that's out of the way, here's the obligatory link to the game I was trying to publish, Fish Feast. It's also available for iPhone/iPod Touch and the iPad version is waiting for review. In the iOS versions there are several different "enemy fish" but I can't change their image so I've left it just with one type of fish for simplicity. Also, the high scores don't work in the HTML5 version because the display text behavior is broken:
http://gamesalad.com/game/30898
1. Changing the attribute of self.image will simply cause your actor to become invisible
2. Commenting OFF behaviors doesn't do anything - the behaviors still execute
This was excessively time consuming because I had to publish each change to HTML5, wait for the servers to update, test it, and then make another change to see if it worked. And there's no easy way to tell if your game update is playable yet so I had to make visible changes to the menu so I would know I was testing the latest version. I first thought the problem was with layering, then with certain destroy commands, then with hyphens in the image names, etc. So obviously Bug #2 made finding Bug #1 extremely difficult, since I tried commenting out the Change Attribute behavior early on and the problem continued, so I was mislead.
Anyway, now that that's out of the way, here's the obligatory link to the game I was trying to publish, Fish Feast. It's also available for iPhone/iPod Touch and the iPad version is waiting for review. In the iOS versions there are several different "enemy fish" but I can't change their image so I've left it just with one type of fish for simplicity. Also, the high scores don't work in the HTML5 version because the display text behavior is broken:
http://gamesalad.com/game/30898