Beastsy
Quick Info
- Made with: WinForms
- Using the language: C++/CLI
- My role: N/A
- Program type: Tool
- Made in a timespan of: 1 week
- Teamsize: 1
Development
Beastsy is an ongoing project I've been working, and its main goal is to be a bitmap converter that transforms .BMP files into .h (Header) files. Originally, I developed it to help me with my personal C++ Framework project, specifically for creating sprites made by the use of bitmaps. And I wanted to understand how someone could convert this type of file, even though I had limited knowledge on the subject.
Throughout the development process of Beastsy, I decided to dive into the world of file manipulation, exploring the ins and outs of reading .bmp files and converting colors into code that's easy to understand. Along the way, I drew inspiration from existing converters, like Usenti, which helped shape the direction of my project.
Creating Beastsy has been a valuable experience for me. It has allowed me to expand my skills in C++ and gain a deeper understanding of designing user-friendly applications.
Although Beastsy is still a work in progress, it has opened up new possibilities in my coding journey. I've learned the importance of considering user experience and designing interfaces that are intuitive and user-friendly. This project has not only increased my technical knowledge but has also sparked more intrest for creating software that helps developers and artists.
If you're interested in following the progress of Beastsy, you can visit its GitHub repository
at the link below:
Github link to: Beastsy
GALLERY
Code Snippets
Step 1: Read/Store Incoming Bitmap Information
Reading the given bitmap file is a crucial first step, as this will give the code information about the colors and size of the image.
Step 2: Convert Bitmap Itself
When the file has been read, the code will first start to place every pixel of the image inside of an array that itself is being made in a Header file. I use (24-bit) hexValues to represent the RGB channels as those are eventually the easiest to read for a user using my or theirown framework.
Step 3: Subtract The Palette
A feature I took a lot of inspiration from and which is used inside of Usenti, is the ability to see how many kinds of colors were used in the image. Meaning that the user can decide to eventually start manipulating their own bitmaps simply via code. You could ask the bitmapData array to search for pixels with a palette value of 0xff00ff and change them to 0XDCCF12 for example.