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 / How to copy sprite image to any place in the image of another sprite?

Author
Message
paint
8
Years of Service
User Offline
Joined: 1st Feb 2016
Location:
Posted: 1st Feb 2016 21:14
How to copy sprite (its image) to any place in the image of another sprite with the specified transparency? (Need "Copy(spr2.image,spr2.Height,spr2.Width, to spr1.img, spr1.x, spr1.y, transparency=50%) ).
paint
8
Years of Service
User Offline
Joined: 1st Feb 2016
Location:
Posted: 1st Feb 2016 21:22 Edited at: 2nd Feb 2016 09:55
Replace only part of the picture Image1.
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 2nd Feb 2016 10:03
You can do this with memblocks. In the following thread is some code to past one image into another. I'll let you work out the blending

https://forum.thegamecreators.com/thread/215958
V2 T1 (Mostly)
Phone Tap!
Uzmadesign

Login to post a reply

Server time is: 2024-11-25 11:43:09
Your offset time is: 2024-11-25 11:43:09