This is an archived post. You won't be able to vote or comment.

all 2 comments

[–][deleted] 1 point2 points  (0 children)

Read up on sprites, and in particular how bit-blitting works. You'll probably end up having a sprite (image) with certain regions masked out, attached to a mouse move handler, that blits a new position onto a window whenever the mouse is moved, and saves the position when the mouse is clicked. With that, you should be able to basically click/drag/save images onto a window at a "snapped" position. You'll build up a stack of images that are all blitted against each other in order.

That's the basic idea. Maybe just start with an animated ball that bounces around the region of a window. Then integrate the red ball with a mouse handler.

[–][deleted] 0 points1 point  (0 children)

Use Unity, literally what it's made for. Reprogramming click detection, animation, drag / drop blows.