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 / Paint on an existing Image

Author
Message
DannyD
7
Years of Service
User Offline
Joined: 29th Aug 2017
Location:
Posted: 2nd May 2019 15:05
Hey Everyone

I want to know if this will be possible in AppGameKit Tier 1 and if someone have same code.
I need to do a "p\Paint APP" for a client.
EG: they have black/white images that they can load, and then select a color and click on the white background, and only the white between the lines
will be coloured.
See an Example Image
Will this be possible in AppGameKit Tier1

Anyone with example code?

Thanks


Attachments

Login to view attachments
Kevin Cross
21
Years of Service
User Offline
Joined: 15th Nov 2003
Location: London, UK
Posted: 2nd May 2019 15:22 Edited at: 2nd May 2019 15:23
I suspect you would want to look into Memblocks. I don't have any code for filling in pixels and surrounding pixels but it sounds like that's where you want to investigate as you can access the pixels of an image with that.

I have used Memblocks to rub out pixels of one image so that the image below shows through. It was a scratchcard example.
OryUI - A WIP AGK2 UI Framework
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 2nd May 2019 17:02
they were working on a floodfill on this thread https://forum.thegamecreators.com/thread/210252

hope that helps
fubarpk
fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk

Login to post a reply

Server time is: 2024-11-26 09:09:07
Your offset time is: 2024-11-26 09:09:07