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.

AppGameKit Classic Chat / SetSpriteShape(id,3) on transparent image causes it to have full collision box?

Author
Message
smallg
Valued Member
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location: steam
Posted: 4th Sep 2017 10:40 Edited at: 4th Sep 2017 11:32
edit; ignore me, i made a mistake with the collision box
life's one big game
spec= 4ghz, 16gb ram, AMD R9 2700 gpu
PartTimeCoder
AGK Tool Maker
9
Years of Service
User Offline
Joined: 9th Mar 2015
Location: London UK
Posted: 4th Sep 2017 11:34
try SetSpriteShapePolygon on the fully transparent image.

Quote: "This function will not work on dummy sprites as there is no image to use when calculating a shape, in these cases shapes must be specified manually using SetSpriteShapeBox, SetSpriteShapeCircle, or SetSpriteShapePolygon."

Login to post a reply

Server time is: 2024-09-30 07:31:36
Your offset time is: 2024-09-30 07:31:36