Latest Uploads
Platdude Spotting

Jayenkai

Nom nom nom

Jayenkai

Rainbow Trout

Pakz

King Salmon

Pakz

Snooker

Jayenkai

You've ... o have you

Jayenkai

Back to Pakz's Blog ( Created 25 April 2016 | Last Edited 25 April 2016)
Development Ideas : Pixel editor
New features
I spend some time thinking what I could create to go with the pixel editor. I thought of one thing that is easy to create.

I want to create a small checkbox next to a color in the color section that will make the colors of that color indestructible. This would mean that if you draw ontop of it, it wil not get replaced. Right click on the checkbox disables all the others and enables the selected one.

I also have been thinking of creating a line memory feature. What would happen is that every line you draw gets stored in memory. But I need to spend more time thinking this through. Would they store the previous tile underneath the line to? And what if there is another line below it? Or would they just be on another layer?

ALso I have been thinking of creating isometric editing features. But I do not know if I wil just create a new editor project specific for isometric art. (IsoPixelEdit)

I also need to think through what I will do with the sheet width and height. Will I need to create a zoom in/out feature and scrollbars?

Also, the more features the editor gets, the more need there is to create certain buttons in stead of text and keyboard shortcuts.

It might also be wise to improve the current code base so it can be easily be put together and taken apart. I still need to spend more time thinking about that.

I also am thinking of making a message system (textline on the screen) that shows useage tips/shortcuts and faq and solutions and info on enabled features.

For now I can work on the indestructible color thing. I want to make a barebone version where I create it and test it. Then I can insert it into the larger project(s)

I also just got the idea to create a feature where you can load/display a photo on the editor. You would then be able to turn photo's into pixel art by putting the pixels based on the color of the photo. You would draw ontop of the photo, where the pixels then would be colored rectangles.


I am working from my github account (pakz001)

Latest Comments

Posted : Monday, 25 April 2016, 14:34
Jayenkai


Doing a GUI based thing can be tricky when using Blitz, but that doesn't mean it'll be impossible.
Just be sure that everything rescales as the user switches resolutions or changes the window's size.
Keep the GUI icons the same size, and scale everything else to fit.

File loading and saving dialogues can be done using BMax's RequestFile dialogue boxes, so that's easy enough, but you'll probably have to create some kind of text input gui-box for any kind of text dialogues. (Best to do this, now, and then it's ready when you need it.)
Also numerical boxes that you can click+drag to define sprite sizes and whatnot.

Also, be sure to make use of Pixmaps/Images so you don't end up having to draw hundreds of pixels, and instead can buffer what's been drawn.

Adding layers, too, would be useful. My Daily Playdude Pixelarts are usually on at least three layers.. The topmost holds the Pixelarf Scrawl, which doesn't ever change. Under that is the main art, and below that is the background layer.
By switching between the layers, I don't need to lock certain colours, I can simply draw under/over other parts of the image.

Homepage : http://AGameAWeek.com
Posted : Monday, 25 April 2016, 16:28
Pakz


Is that a merge down something? Drawing the top layer last?

I have not really researched layers yet. I think I will spend some time watching how layers are used in tutorials on youtube.

It's programmed in Blitz Plus by the way. No pixmaps.

Homepage : http://cromdesi.home.xs4all.nl/
Posted : Monday, 25 April 2016, 23:40
Jayenkai


I imagine it's simply a 3D array, with X/Y being your usual grid of pixels, and then Z being the layer.
Cycle through all the layers.. Redraw with the bottom layer first, and the top layer last. It's a pretty simple way of doing it, really, and you can additionally shift the layers up and down afterwards.

(You'll probably also want to also store different image buffers for each layer)

Homepage : http://AGameAWeek.com
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 660|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Latest Posts
Jeremy Bloody Kyle
steve_ancell Mon 09:45
GamerBlock
Jayenkai Mon 09:06
Laptop Aaargh...
Jayenkai Mon 07:06
Changing Thumbnail Sizes
Jayenkai Mon 05:27
Technology on Planes
therevillsgames Sat 17:00
London Car/Stab Incident
steve_ancell Sat 12:10
A New Korg Gadget!
Jayenkai Sat 04:53
Happy Birthday, Spinal
Jayenkai Fri 08:40
Watch Switch - Fitbit Blaze
rockford Fri 03:52
Happy Birthday Evil Roy Ferguson
rockford Wed 16:21
More

Latest Items
Blog : My Arduino experience.
steve_ancell Fri 13:45
Snippet : Skylines
spinal Fri 06:13
Showcase : Infinitron
rychan Tue 03:02
Dev-Diary : PS2 to N64 Adapter
spinal Sun 10:49
Link : Vector Tutorials/Help page.
Pakz Thu 23:00
Blog : mini project
spinal Sun 10:13
Showcase : Blockman Returns
Jayenkai Fri 03:04
Snippet : Wall Tracing on Random Maps (rpg)
rskgames Wed 22:48
Snippet : Path Following
Pakz Mon 16:25
Snippet : Flowers (Jan 2017)
Kuron Thu 01:13
Showcase : Clusters of Hex
therevillsgames Mon 15:01
Article : Maths 101 - Episode 1: Basic Trigonometry
shroom_monk Sun 14:07
Article : Maths 101 - Episode 5: Line Intersection
shroom_monk Sun 14:02
Dev-Diary : Normals and Dot products
Pakz Sat 20:37
Pets : Molly On The Couch
Jayenkai Thu 04:32
More

Who's Online
Jayenkai
Mon, at 11:47
spinal
Mon, at 11:26
Pakz
Mon, at 11:19
steve_ancell
Mon, at 10:52
Andy_A
Mon, at 09:02
rychan
Mon, at 08:51
rskgames
Mon, at 03:32
rockford
Mon, at 03:19
Krakatomato
Mon, at 02:11
Cower
Mon, at 00:18
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.