paint
Author |
Message |
TheXploder
|
Posted: Mon Jan 26, 2004 6:12 pm Post subject: paint |
|
|
Oh, my that was very stupedious of me...
Quote: [b]the_short1 wrote:/b]
Can someone post the Final of this with all. corrections as a .t file...????PLease and Thankyou.
Quote: Jonny English "Well if I did I might have to kill you."
no, hmm, you deserve to know where I am going with this.
And oh yeah:
McKenzie
+15Bits,
thoughtful
+5Bits and
the_short1
+bit.
Maybe this Thread can be moved to another topic, were I can get bits, hehe.
Mod Edit: Moved, as requested
Description: |
|
Download |
Filename: |
Paint.zip |
Filesize: |
4.34 KB |
Downloaded: |
351 Time(s) |
|
|
|
|
|
|
Sponsor Sponsor
|
|
|
Delos
|
Posted: Mon Jan 26, 2004 7:28 pm Post subject: (No subject) |
|
|
Not bad.
Me likes.
But here's a few things:
When I zoom in/out, the image clears.
Seeing as the entire thing is a grid, and with 1 colour, it should be no problem to set up a 2D array to keep track of the status of every 'pixel' (grid box) - i.e. filled? = 1; empty = 0.
Something like that.
Colour selection and save capacity would be cool too.
You made your own GUI!
Good for you. It's probably mildly better than Turing default stuff...ah well...we do what we can with what we have.
|
|
|
|
|
|
Maverick
|
Posted: Mon Jan 26, 2004 7:52 pm Post subject: (No subject) |
|
|
Thats pretty good there. +BITS
|
|
|
|
|
|
DanShadow
|
Posted: Mon Jan 26, 2004 9:04 pm Post subject: (No subject) |
|
|
Well, first of all...the zoom thing where it clears the image isnt very good. You should just make a 1D array like so:
code: |
var grid:array 1..10 of int
for i:1..10
grid(i):=25*i
end for
%10*10 grid, 25 pixels apart. use like this:
Draw.Fill(grid(3),grid(4),grid-color,255)
|
Tony tought me that one,
And you might want to add different colors, and if your advanced enough, some recursion. (which could be just saving where a user clicks in a big array until he/she unclicks, then recursing to the last time he clicked by deleting all values in the array or somehting. Good job though!
|
|
|
|
|
|
TheXploder
|
Posted: Mon Jan 26, 2004 10:00 pm Post subject: (No subject) |
|
|
ohh, well It is completely editable right now... you just can't change it within the program yet.
(There is more to it then you see, hehe)
Actually you can change both the grid colour and the window outline.
and the window background...
you can also change the window size (the x values as well as the y values), and I already got to the part with the brush colour, need to make a pallet though...
I just gotta make it editable within the program... maybe some menu system at the top, such as 'File', 'Save', and 'File' 'New Tile Set'.
Inside the only loop see how I made the button 'proc'/'prcedures'
for example the Pencils type is "Pencil", The numbers before that 5,5 the first 5 is for released button image, and the second 5 is for pressed button image, PROCEDURES RULE.
I'm getting to it, keep supporting me though, or advising .
|
|
|
|
|
|
|
|