Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pixel Editor
#1
Hi,
Attached is a project that I have actually managed to persevere with, so that it is nearly finished. It's yet another picture/tileset/character designer - there are many of these available to download, all of which will be more complete, and more polished, but I have just wanted to make this for my own enjoyment Smile
I've included 2 things that I haven't been able to find elsewhere:
1 - the functionality to save finished images as both png files and text files. The text files are there to include in N7 files, so that the images can be generated within the program, rather than having to include png files in your projects. I'm using a variation of some code that Marcus provided for this, and there is an example program to illustrate.
2 - to the lower right of the screen is a button that can be used to test your tileset (to make sure that the tiles fit together correctly), before saving it. 
I've added some pop up hints to explain what most of the buttons do, but if you have any questions, please ask.
A quick explanation of what you need to do:
1 - choose the image size in pixels (max is 64 * 64) in the top right of the screen. There are some pre-sets available also.
2 - Press  the "start drawing" button - this is important, and I keep forgetting this step!
3 - Draw in the main frame, using the brush options to the right. Colours can be changed below the main frame, from the colour palette (other paletts are available to load, or you can make and save your own).
4 - New frames can be added using the button to the left. If you have more than one frame, the active one is shown with a red bar to the left. If you are drawing an animated sprite, the animation can be previewed in the bottom left of the screen.
5 - When ready, save the frames as png or text files using the green buttons to the bottom right. There are also options here to load and edit previous png files, or png files that have been created in different programs.
There is other functionality in the program, which hopefully is self-expanatory.
I've not been able to test this as much as I would like, so please let me know what issues you find. I have tested it up to 8 * 32pixel * 32pixel frames (8000 active pixels) and it works fine, albeit a little slow - this is something that I am till working on.

   
   

.zip   Pixel Editor 2 - published v4.zip (Size: 1.73 MB / Downloads: 3)
Reply
#2
First I gotta say that this is a frikkin awesome program Big Grin  I haven't tested it that much yet, but I'm sure I'll use it a lot for games without asset files! Very well done!

I've come across two bugs:

1) For some sprite dimensions (the smaller ones, 8x8 and 16x16), I can't draw on the bottom most row or right most column
2) When exporting an image with only one frame, the loading code thinks it has two frames and adds a black blank next to the sprite

Again, a super cool program!
Reply
#3
Thanks for finding these bugs Marcus - I know I fixed the second one, so I must have lost the fix somewhere in the development of the program - my bad. I'll sort both out and repost as soon as possible.
Reply
#4
I've fixed the first issue, and changed the file in the first post. The second issue fix will follow later today. All the best - Kevin.
Reply
#5
I truly appreciate the incredible effort and dedication you've put into developing this Pixel Editor! Writing more than 3000 lines of code is no small feat, and it speaks volumes about your commitment and skill. The program is impressive, and I admire the time and energy you've invested in making it a reality.

       
click the image to zoom-in

As I explored the features, I noticed that imported images sometimes contain what appears to be a slight blue noise. It could very well be my own misunderstanding of how the program processes images, but I wanted to mention it just in case it’s something worth looking into. Regardless, I genuinely appreciate the work you've done—it's an amazing achievement!


Attached Files Thumbnail(s)
   
Reply
#6
Second issue that Marcus identified is now fixed, and the zipfile has been updated in the first post. It seems I fixed this bug in the example program, but not the main Pixel Editor program where the text file is produced - my bad.
1micha - thanks, I will look into the blue noise soon - I will see if I can replicate the issue.
All the best - Kevin.
Reply
#7
Very cool program. Great job!
Logic is the beginning of wisdom.
Reply
#8
(03-30-2025, 04:18 PM)1micha.elok Wrote: I truly appreciate the incredible effort and dedication you've put into developing this Pixel Editor! Writing more than 3000 lines of code is no small feat, and it speaks volumes about your commitment and skill. The program is impressive, and I admire the time and energy you've invested in making it a reality.


click the image to zoom-in

As I explored the features, I noticed that imported images sometimes contain what appears to be a slight blue noise. It could very well be my own misunderstanding of how the program processes images, but I wanted to mention it just in case it’s something worth looking into. Regardless, I genuinely appreciate the work you've done—it's an amazing achievement!

Hi, I'm afraid that I have failed to replicate this issue so far. Is the issue still happenning using the v2 copy of the program that I uploaded? Sorry for the question, there is no rush, but if you have the chance to provide more details, and steps taken, when the issue happens, I would really appreciate it, as it is bugging me Smile 

All - is anyone else seeing this issue at all?

Many thanks.
Reply
#9
(03-30-2025, 05:58 PM)kevin Wrote: Hi, I'm afraid that I have failed to replicate this issue so far. Is the issue still happenning using the v2 copy of the program that I uploaded? Sorry for the question, there is no rush, but if you have the chance to provide more details, and steps taken, when the issue happens, I would really appreciate it, as it is bugging me Smile 

All - is anyone else seeing this issue at all?

Many thanks.

               
click each image to zoom in

Herewith the steps :
1. Run the Pixel Editor 2
2. Load a png image file with transparency , choose dino-run.png
3. Frame Across = 4, Frame Down = 1, Proceed Now
4. Frame number 2, blue noise

Hi! Don't worry, it's already a working day, and it's Monday—let's get started! You may take a look when you have time; it's just a very small issue. Nevertheless, I can still draw pixels, making sprites and tilesets with your useful pixel editor.

TGIM (=Thanks God It's Monday)  Big Grin
Reply
#10
(03-30-2025, 11:21 PM)1micha.elok Wrote:
(03-30-2025, 05:58 PM)kevin Wrote: Hi, I'm afraid that I have failed to replicate this issue so far. Is the issue still happenning using the v2 copy of the program that I uploaded? Sorry for the question, there is no rush, but if you have the chance to provide more details, and steps taken, when the issue happens, I would really appreciate it, as it is bugging me Smile 

All - is anyone else seeing this issue at all?

Many thanks.


click each image to zoom in

Herewith the steps :
1. Run the Pixel Editor 2
2. Load a png image file with transparency , choose dino-run.png
3. Frame Across = 4, Frame Down = 1, Proceed Now
4. Frame number 2, blue noise

Hi! Don't worry, it's already a working day, and it's Monday—let's get started! You may take a look when you have time; it's just a very small issue. Nevertheless, I can still draw pixels, making sprites and tilesets with your useful pixel editor.

TGIM (=Thanks God It's Monday)  Big Grin

Perfect - that is very useful, as I can now replicate the issue (but not fix it yet - that will follow). It will only happen with tilesets created in a 3rd party app I think.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)