Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / SetSpriteShape issue

Author
Message
Circumdederunt
7
Years of Service
User Offline
Joined: 9th Apr 2017
Location:
Posted: 4th Jul 2017 12:18
Hi guys!
When I was working with collisions, I noticed a problem. If you use the SetSpriteShape function for the second time, then collisions aren't being detected anymore. I've even tried removing the sprite and recreating it with the same index. Just doesn't work.
Maybe this issue looks familiar to anybody? Any help would be highly appreciated!
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 5th Jul 2017 00:00 Edited at: 5th Jul 2017 00:00
Maybe try setting the shape to nothing SetSpriteShape(id, 0) then set it to the new shape (Just a guess)

Login to post a reply

Server time is: 2024-04-24 21:08:45
Your offset time is: 2024-04-24 21:08:45