Change image and Pause Bug

MagoNicolasMagoNicolas Member, PRO Posts: 2,090
edited November -1 in Working with GS (Mac)
HEllo Guys, how are you?

For Faster loading time, i have a Big image with a White small square image.

And after one second, I change that image to the image i really NEed.

But, When I Press Pause, The Image returns to be a white square, very weird.

Any one with the problems or knows a Solution?

Cheers.

Comments

  • DrGlickertDrGlickert Member Posts: 1,135
    I'm good, thanks!

    Do you have it set to some type of game.attribute?

    Like a rule that says if game.gamestarted is true then timer; change image? And, then in your pause, you're changing the game.gamestarted to false to pause it?

    Only other thing I can think of is that some users are having some issues with images loading correctly with 0.9.3. I'd suggest that if it still doesn't work with 0.9.4 then must be a coding issue.

    Can you work around it for a few days while we wait for 0.9.4?
  • MagoNicolasMagoNicolas Member, PRO Posts: 2,090
    I just have it with a Timer, After 1 Scecond, Change image,
    So it is not a code problem.
  • MagoNicolasMagoNicolas Member, PRO Posts: 2,090
    Fixed thanks to the update :D
  • YodapolloYodapollo Inactive, Chef Emeritus Posts: 447
    This is awesome news!

    --Yodapollo
  • AppsRacKAppsRacK Member Posts: 346
    This will happen if you use change attribute self.image to load the image in the scene. If you pause the scene all the images you set will become white after you unpaused. The workaround is to not use "Timer" but use rules like,
    "if game.time > .01....
    change attribute self.image to ...png"

    This way whenever you pause the scene and unpaused the rule is still valid and the image will still load.

    edit: sorry didn't notice the update version coz last night im still using 0.93. Good to here that its fixed but too bad for me coz i revert back to using change image behavior :(
Sign In or Register to comment.