GPWiki.org
GPWiki.org
It is currently Wed Jun 19, 2013 10:05 pm

All times are UTC




Post new topic Reply to topic  [ 32 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Tue Feb 14, 2012 11:49 am 
Corpse Bride
User avatar

Joined: Tue Jul 01, 2008 11:44 pm
Posts: 2217
Location: England
FelipeFS wrote:
By the way, am I the only one non-composer here?! :lol


I've been interested in music all my life. At my peak I was composing about one tune per week; but not so many in recent years.

_________________
I ain't pushing no moon buttons.


Top
 Profile  
 
PostPosted: Tue Feb 14, 2012 12:28 pm 
Bibliotherapist
User avatar

Joined: Wed Nov 03, 2004 1:28 pm
Posts: 6754
Location: Oxford, Englandshire
I play guitar, but my efforts at the keyboard (computer and piano) are dismal.

_________________
10 PRINT "Bad Monkey ";
20 GOTO 10


Top
 Profile  
 
PostPosted: Tue Feb 14, 2012 12:30 pm 
Funky Monkey

Joined: Thu Sep 09, 2004 1:17 pm
Posts: 1567
Location: burrowed
Jasmine wrote:
I've been interested in music all my life. At my peak I was composing about one tune per week; but not so many in recent years.


If you're interested, we're doing one hour compos every saturday 10pm cet on irc.esper.net/modulez, samplepack is given, you have to compose in it/xm. I tried to get burnzez into it aswell :D

_________________
Long pork is people!

wzl's burrow


Top
 Profile  
 
PostPosted: Tue Feb 14, 2012 5:59 pm 
Source Code Swashbuckler
User avatar

Joined: Wed Nov 09, 2011 3:58 am
Posts: 199
Location: Brazil
Learn piano is my dream! But I never had the chance.

The closest I got was using Fruity Loops. But it is hard to learn music theory using a software.


Download link for executable at the current version of the project :yeah :

[4SHARED DOWNLOAD]

EDIT:
- To select part of the image, you click the right mouse button, hold it and move.
- Clicking in the button properties, you can change the size of the selecting tool.

_________________
"Life finds a way." - Ian Malcolm
My WebBlog: PixelDeveloper
English is not my native language, so excuse me for any writing mistakes.


Top
 Profile  
 
PostPosted: Sat Feb 18, 2012 8:29 am 
Source Code Swashbuckler
User avatar

Joined: Wed Nov 09, 2011 3:58 am
Posts: 199
Location: Brazil
Here I am. Now, I implemented the "Zoom Tool" and the "Pencil Tool". And realised that some palette's operations were incorrect(damned Windows API ), but I fixed it too.

I'm not making implementations for PNG, for now. I will finish everything about BMP, then I will convert the code to work properly with PNG.

Take a look: [DOWNLOAD LINK]

Please, tell me if it is working properly on your computer.

HOW TO USE:
- Open an 256 colors bitmap image;
- To select part of the image, you click the right mouse button, hold it and move. The part of the image will be show in the left side frame.
- You can use the tools in the image you took part.
- To apply the changes, click with the left mouse button in the original image(in the right frame), then the image of the left frame will be copied.
- Clicking in the button properties, you can change the size of the selecting tool.

_________________
"Life finds a way." - Ian Malcolm
My WebBlog: PixelDeveloper
English is not my native language, so excuse me for any writing mistakes.


Top
 Profile  
 
PostPosted: Tue Feb 21, 2012 7:21 pm 
Source Code Swashbuckler
User avatar

Joined: Wed Nov 09, 2011 3:58 am
Posts: 199
Location: Brazil
News: Now it is possible to use the zoom, pencil and the line tool.

I will describe a problem I was dealing with, and how I solved it. When the user select part of the image it wants to edit, the program execute two operations: create the profile image and create a paint control(a windows handle);

Image

Previously, the program was setting the size of the Paint control to the same size of the Profile image, what give us this result:
Image
This process create 3 images: the Original image, in the right frame(in the first picture); the Profile image; and the Paint control with a visible area and a non-visible area(in the second picture).

Well, it works fine... if you have a advanced computer. Yes. because if you are dealing with a large image, like 3000x3000, the program may crash on "lowtech"(like mine :lol ). And, if you select a large image, then you will have a 3000x3000 image, and a largexlarge Profile image and Paint control(because the paint control is setted to the same size).

How I solved:
Instead of set the paint control to the same size, the program draws in the paint control only part of the image we will need, using BitBlt function(WinAPI function). Now the computer don't spend memory with that non-visible area, just the visible one.
Done!

It is a simple process to use with games(In my case, it was a hardcore programming experience, because... a lot of variables... the zoom tool, the mouse position, where the pixels would be put when clicked).

I will make it so good, I will see people here using this program! Challenge Accepted! >:D

_________________
"Life finds a way." - Ian Malcolm
My WebBlog: PixelDeveloper
English is not my native language, so excuse me for any writing mistakes.


Top
 Profile  
 
PostPosted: Mon Mar 05, 2012 7:21 pm 
Source Code Swashbuckler
User avatar

Joined: Wed Nov 09, 2011 3:58 am
Posts: 199
Location: Brazil
Sorry for this long time in the dark. My life is currently very troubled. :\

I'm stuck. I can not find any function which could replace CopyRect() for PNG. I have found AlphaBlend() but it is not working, OR I'm not using it correctly. >:(
Apart from that, all functions for BMP are working fine.

_________________
"Life finds a way." - Ian Malcolm
My WebBlog: PixelDeveloper
English is not my native language, so excuse me for any writing mistakes.


Top
 Profile  
 
PostPosted: Tue Mar 13, 2012 7:06 pm 
Source Code Swashbuckler
User avatar

Joined: Wed Nov 09, 2011 3:58 am
Posts: 199
Location: Brazil
I have upload the program in the SkyDrive server.
The current avaliable tools are: Pencil, Line and Rectangle for Bitmaps(8bit).
Some features, which are not found in the Character Maker 1999, are being implemented(transparent images are avaliable, magic selection tool, scales).

The tools are not avaliable for PNG files or for non 8bit Bitmaps. But I have solved the problem with PNG files, instead of use the function CopyRect with the PNG handle, I'm converting the PNG to Bitmap, and then using the function.

[Download - Win32bit]

_________________
"Life finds a way." - Ian Malcolm
My WebBlog: PixelDeveloper
English is not my native language, so excuse me for any writing mistakes.


Top
 Profile  
 
PostPosted: Sun May 06, 2012 6:30 pm 
Source Code Swashbuckler
User avatar

Joined: Wed Nov 09, 2011 3:58 am
Posts: 199
Location: Brazil
HELLOWW GUYS!!! Long time no see, I was without internet access for a entire month... it was like a psychological detoxification, but here I'm again. 8) Very happy to have my internet back.

So... I have spent this time programming, some progress with the game engine, and with the paint editor were made.

In the current version of the paint editor I'm implementing the selection tool(which will work like the gimp selection tool, with many possibilities of selection), the Shape tool(to make rectangles and circles). I had a new idea to work with PNG files: the program convert the PNG to a BMP when it is loaded, and convert it again to PNG to save the file... easier than work with PNG directly.

Oh yeah, and the program has a frame which shows the historic(Ctrl+Z/Ctrl+Y)... very useful.

This is it... I will put a download link later =)

Happy to be back :)

EDIT: The build is bigger than it was supposed to be. It is about 8MB... Character Maker 1999 is only about 400KB.

_________________
"Life finds a way." - Ian Malcolm
My WebBlog: PixelDeveloper
English is not my native language, so excuse me for any writing mistakes.


Top
 Profile  
 
PostPosted: Tue May 08, 2012 5:56 pm 
Dexterous Droid
User avatar

Joined: Wed Aug 18, 2004 7:40 pm
Posts: 3746
Location: South Africa
Quote:
So... I have spent this time programming, some progress with the game engine, and with the paint editor were made.

Funny how not having internet for a long time can focus the mind. No youtube = high productivity! :)

_________________
Whatever the mind can conceive and believe, it can achieve


Top
 Profile  
 
PostPosted: Tue May 08, 2012 7:00 pm 
Funky Monkey

Joined: Thu Sep 09, 2004 1:17 pm
Posts: 1567
Location: burrowed
IGTHORN wrote:
Quote:
So... I have spent this time programming, some progress with the game engine, and with the paint editor were made.

Funny how not having internet for a long time can focus the mind. No youtube = high productivity! :)


Detoxification was exactly the right word.
No youtube, no twitter, no forums, no irc, no anything.
It's not like i got a whole lot more done, but it's funny how priorities changed :D

_________________
Long pork is people!

wzl's burrow


Top
 Profile  
 
PostPosted: Thu May 10, 2012 1:12 am 
Grand Optimizer
User avatar

Joined: Mon Jan 17, 2005 6:01 pm
Posts: 353
Location: Canada
IGTHORN wrote:
Quote:
So... I have spent this time programming, some progress with the game engine, and with the paint editor were made.

Funny how not having internet for a long time can focus the mind. No youtube = high productivity! :)


So true, and kindof funny cuz I'm actually working on Tankz right now while listening to KoRn on YouTube lol

Yeah I groove while i program. That's just how I do it. :P

_________________
"None are more hopelessly enslaved than those who falsely believe they are free."
"It is no measure of health to be well adjusted to a profoundly sick society."
"Hope is the first step on the road to dissapointment." -Jonah Orion
http://tankzgame.blogspot.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 32 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group