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 / Well worth time to develop more on

Author
Message
damothegreat
User Banned
Posted: 25th Feb 2017 22:01 Edited at: 25th Feb 2017 22:02


Copy the pic to the media folder

More to develop soon with:-

- Load and Save
- Alpha / Transparencies Channel
- A nice spectrum of colours so can pick colours
- Animation Frame support
- Copying to a new frame, so make slight changes on frames.
many more

Happy Days

Attachments

Login to view attachments
damothegreat
User Banned
Posted: 26th Feb 2017 10:30
More added...



Number 0 - draw free hand
Number 1 - draw line (no work yet)
Number 2 - Air Brush
Number 3 - Paint Brush

Character "A" - Adds a new "EMPTY" frame - errors at moment
Character "C" - Copies a frame from the preceding one
Character "P" - If you create multiple of frames and edit each one - this will play the sequence
Character "S" - Saves each of the frames to the file name loaded in

Filename currently FIXED and set to "\media\test.png"

27..... global filename$ = "\meda\test.png"

More to follow with

- Color Picking from the spectrum
- Toolbars
- Scroll bars - it only works best with 64x64 images at moment,
- Frame selector
- UnDo and Re-Do feature
...

Plus loads more


Damo
damothegreat
User Banned
Posted: 26th Feb 2017 16:49 Edited at: 26th Feb 2017 18:08


Added

- zoom with UP and DOWN cursors
- Colour Spectrum Selector
- Toolboxes (Empty) but will add some for the brushes and functions - Save, Load, Copy, Zoom etc etc etc

----

A cool function would be to be able to blend two images - first image in the first frame
A final resulting image in the last frame

Hit the Animate button (which I will add) and it will create timelines of the first image through the frames (say 8 frames in total)

So resulting In a nice blend effect from source image to result image

I think how this works is get each and every pixel colour from the first image and get the same one on the final one and then change its colour up or down to match from one to the other
saving snapshots for up to 8 frames until the final colour is reached. Repeat this process for all pixels in the picture and should have a nice effect

Will be great fun to do and a really cool effect


More next weekend
damothegreat
User Banned
Posted: 26th Feb 2017 20:22
Added a Dissolve feature



To use:-

Press "C" to create a copy of the first image, so you have now two in the Frame section

Draw anything you like in both of them - make sure they are diferent

Press "D" to Dissolve from one to the other

See the resulting frames in the frames bar

Press "S" to save the image frames in your local APPDATA AppGameKit area


Please let me know what you all think

Damo
Blendman
10
Years of Service
User Offline
Joined: 17th Feb 2014
Location: Arkeos
Posted: 27th Feb 2017 10:04
HI

I have tried, but I don't understand how that work ?
The code draw some rainbow circle, and white square, and that's all.
If I try to paint, there is nothing, nothing appears .
AGK2 tier1 - http://www.dracaena-studio.com
damothegreat
User Banned
Posted: 27th Mar 2017 13:08
I tried it and it bombs out like your experiencing , if you don't put a 64x64 test.png in the media folder - my bad

Either you can create a 64x64 png image and call it TEST.PNG or copy this one attached

or I can make it so it starts with a blank image when run the app

the latter would be better solution going forward, but to see it in action, can try the test.png until I get more time

work has overtaken my game/app work
Damo

Attachments

Login to view attachments
Stab in the Dark software
Valued Member
21
Years of Service
User Offline
Joined: 12th Dec 2002
Playing: Badges, I don't need no stinkin badges
Posted: 27th Mar 2017 14:49
I thought you were banned at least twice from this community?
Maybe you will get the most banned badge after all.
The coffee is lovely dark and deep,and I have code to write before I sleep.
damothegreat
User Banned
Posted: 27th Mar 2017 15:09
Ive learnt from my mistakes and ill pretend you didn't send that!! We wouldn't want me to be riled up again now would we.

Shall we continue to get back to some game app coding?

Login to post a reply

Server time is: 2024-04-23 17:44:01
Your offset time is: 2024-04-23 17:44:01