Computer Science Canada

The Return Of Pic~2~Code!!!!!

Author:  Delta [ Sun Jan 18, 2004 12:25 am ]
Post subject:  The Return Of Pic~2~Code!!!!!

Hey guys! Long time no see and whatever but hey!
Lately I've been working on a new program! Like the older version of
pic2code but this one is much better...This is not an update... it is a complete renewel of my program... so yea... I hope to have it posted here by the end of the week for sure (I hope)... but yea... just wait for it... and you'll be like... what is it... and then boom! lol j/k I'll post it as soon as I can!

Author:  Delta [ Wed Jan 21, 2004 10:34 pm ]
Post subject: 

OK.... here is the alpha release....its not much yet... but its useful-ish :S
well ok... here is what works :

You can undo everymove you make... ctrl+z
draw lines, ovals, boxes, text (some nice options for these)
{the make arc part of the oval tool is in testing stage still}
you can add comments to the previous action (draw line then add comment to it)
and when you save (ctrl+s) the file just saves as unnamed.t (saves the code)

please... any suggestions would be much appreciated.. tho many are already being taken into consideration Wink (lots to come Very Happy)
ok... well thats it for now.. soon the next version will be up Smile

[UPDATED]

Author:  Dan [ Wed Jan 21, 2004 10:58 pm ]
Post subject: 

i realy love the intreface there.

gr8 paint progame

have some bits+

Author:  shorthair [ Thu Jan 22, 2004 6:28 am ]
Post subject: 

awsome app , is there polygon support yet?

Author:  Delta [ Fri Jan 23, 2004 8:34 pm ]
Post subject: 

No....the polygon support is coming... very soon... prolly before the end of the month... or sooner (stupid exams!)... well yea... the only thing messed up is the arc... so far

Author:  thoughtful [ Fri Jan 23, 2004 8:39 pm ]
Post subject: 

Very nice here have some +10 Bits

Author:  Delta [ Wed Jan 28, 2004 3:00 am ]
Post subject: 

Ok I posted an update above.. there are many new things added this time
soon to be even more Very Happy

Colour Palette
Drawing of Arcs
and some more stuff too... forgot.. but yea.. its in the release notes.

P.S. - if you download this file please tell me what you think about it so far, what could make it better, and if you find any bugs or glitches... please and thank you Smile

till the next update Smile

Author:  shorthair [ Wed Jan 28, 2004 7:59 am ]
Post subject: 

You Cease to amaze me delta , with another awsome update to the long loved Pic 2 Code , but one thing , Crying or Very sad Crying or Very sad NO POLYGON SUPPORT , i was so happy when you put the update out , but now its just now the same

Author:  Delta [ Wed Jan 28, 2004 1:59 pm ]
Post subject: 

ok...just for you shorthair... I'll make my next update have polygon support... Smile... prolly be out before this friday I hope Smile

Author:  white_dragon [ Wed Jan 28, 2004 6:42 pm ]
Post subject: 

that is just awesome!!!!!!!!! dunno how u did it?!?!?!?!

Author:  shorthair [ Wed Jan 28, 2004 7:03 pm ]
Post subject: 

Thanks theres 17 bits in it for ya , so you get an even 200 , well thats if you still have 183 bits of course , well what ever you have il even it out to 200 Very Happy thanks for workin on this update

Author:  Delta [ Wed Jan 28, 2004 7:19 pm ]
Post subject: 

YAY! Bits... I love bits... tho I haven't really bought anything (lack of bits :S)... but ya.. thanks... I have been working on the quick colour panel so you don't need to go back and forth to the colour palette each time you want a new colour... it lets you load upto six colours (6 for outlines, 6 for filling, 6 for text, and 6 for the drop shadows)

I won't release it until I have the polygons done too... they keep giving me trouble Mad but hopefully soon they'll be ready Smile

Author:  jonos [ Wed Jan 28, 2004 7:25 pm ]
Post subject: 

that's sounding awesome... i'd give bits but im in short supply and im saving to colourfy and effectify my name.

Author:  Tony [ Wed Jan 28, 2004 8:18 pm ]
Post subject: 

awesome app Very Happy

some sujestions for future releases:
Redo (Ctrl+Y) (in case you've gone too far back with undo)

and Advance Mode. What I mean by that is ability to view and (very important) edit the code directly on the side.

I think it would be a very cool addition cuz it's your entire history of drawing right there. You could go back to a certain box (if you can find it... but you could add helpers such as highlights of elements fitting search criteria) and change one of it's properties such as color. Or if you want to extend something... Everything will be a vector Wink

oh yeah, and now since v4.0.5 is out, you can use View.UpdateArea to get rid of flashing and perhaps even improve app's performance

Author:  Delta [ Wed Jan 28, 2004 8:28 pm ]
Post subject: 

Thank You! Finally I get some really useful feed back (not that the rest of you are useless.. just less useful than Tony Smile ... no offense).. but ya.. thank you... I'll do the redo option for sure editing the code I will see how that goes :S ... I have a program that already allows movement of lines (stretching and whatnot), ovals, boxes... but everything gets really messy after the tips of the lines touch or the ovals are in the same spot.... then movements you don't want happening happen Sad ... but if I feel that will be uber useful... then I might just think about it... don't get your hopes up for anytime soon Sad :S

Thanks to all Smile
more feedback is always good Smile

Author:  Blade [ Wed Jan 28, 2004 8:38 pm ]
Post subject: 

okay, should make it less flashy cuz it makes me (and possibly other people) feel sick. there was something else i was thinking of but it slipped my mind

Author:  octopi [ Wed Jan 28, 2004 8:39 pm ]
Post subject: 

Pretty neat.

<table cellspacing="1" cellpadding="3" border="0"><tr><td><span class="genmed"><b>Moderated by octopi:</b></span></td></tr><tr><td><span class="genmed"><span class="a">have the +15 bits I stole from the kid who was saying he was gonna be an asshole to his schools computer admins</span></span></td></tr></table>

I'll steal some more bits and give them to you if you fix the drawing routines, so that it works better. (slow on my computer)

Author:  Delta [ Wed Jan 28, 2004 9:32 pm ]
Post subject: 

Flashy? what do you mean?... like the drawing?... I thought it wasn't that bad at all Confused hmmmm... thanks for the bits... you thief Wink as for the drawing thing... I'll try to make it work better... but I'm not sure if it'll have the same effect in the end Sad I'll try tho... till next time!

Author:  Delta [ Wed Jan 28, 2004 11:24 pm ]
Post subject: 

Update!!!!!!!!!!!!!!!!!!!!!!!
hehe Smile
well ok... it has the polygon support (for shorthair) tho... I must inform you that each time you make a polygon... well... it makes two new variables... and after a while your code code be full of variables... if anyone has any ideas (catalyst prehaps) on how I could reuse the variables... and I don't just mean polyX(1) := 123, whatever (that takes up too many lines) well ya... other than that... I like it Smile (polygons are only lines right now.. I haven't made the fill yet... that'll come soon tho (just edit your code for now)... ummmm... o0o the quick colour chooser.. very useful (if your not sure about it (read the tool tips)

well yea... the update is on the first page Smile till next time once again Wink

Author:  jonos [ Wed Jan 28, 2004 11:36 pm ]
Post subject: 

that is probably the best paint program ive seen in turing. really cool stuff. its great how the lines automatically connect together on right mouse click for the polygons, though everyone is pretty flashy and hurts my eyes.

Author:  Tony [ Wed Jan 28, 2004 11:41 pm ]
Post subject: 

well the whole idea of pic2code is to not worry about the code output as much as the picture itself.

so I think it's alright if you have
point_1_x:=whatever
point_2_y:=something else

just one reusable array.

here's a better idea though - drop the whole polygon thing. It doesn't work well. What you can replace it with is some preset forms. Such as Draw.Star and standart polygons such as hexagons and what not.

now here's what I think you should defenatly have. Export code to have the picture be relative to X/Y variables. It should be easy. Just set X/Y = 0 by default and have + point's position on screen.

The reason being is that most animations require users to move the pictures rether then just drawing a bunch of static frames. This way the picture elements will be ready to move around Wink

You could have a bunch of export options such as picking out names for X/Y variables or having them as premade functions such as

moveCar(x.y:int)

etc

lots of potential in the program, keep up the great work
Very Happy

Author:  shorthair [ Wed Jan 28, 2004 11:44 pm ]
Post subject: 

how dare you have over 200 bits delta , my plan is ruined okay il give ya a nice 222

++ Cool Amount Of BITS

Author:  Delta [ Wed Jan 28, 2004 11:51 pm ]
Post subject: 

well I kinda want to keep the polygon idea... I'm gonna work at it more and try and make it better... the flashyness you guys are talking about doesn't happen on my end.... once I get back to school I'll try it there and prolly see what you guys are talking about :S... I have the [x,y] idea (easy movability of drawing) on my to do list thanks Smile... I didn't really want the drawstar and draw mapleleaf on there because I thought it was useless... but if enough people tell me to put it in there I will Smile ...
ok... so0o your thinking output the code ([x,y]idea) like so

code:

procedure userChosenName (x,y:int)
drawline (x, y, x+34, y+10, 1)
end userChosenName


^ Like the above? ^

cause thats partially what I got out of it

Author:  Tony [ Wed Jan 28, 2004 11:54 pm ]
Post subject: 

well technically it should be
code:

procedure userChosenName (x,y:int)
drawline (x+0, y+0, x+34, y+10, 1)
end userChosenName


but yes, that's the idea Very Happy

Author:  Delta [ Thu Jan 29, 2004 12:01 am ]
Post subject: 

ok kewl... I'll work on it tomorrow... I think I'm gonna go get some sleep sooner or later

Author:  Delta [ Fri Jan 30, 2004 8:37 pm ]
Post subject: 

Ok... here is another update... no there are still no objects (procedures)
but you can add drop shadows to your text... oh and the quick colour chooser shows which colour you have selected... you can choose between fill and line for polygons and boxes now... and I'm sure I'm missing something... but yea.... ok... update is on the first page ... I'm off to work on the objects Smile more feedback is always welcome Wink

(I guess the flashing is drunk... because if I run the code then the program works fine... but the exe is crap :S Sad )

Author:  drewman [ Thu Apr 01, 2004 3:53 pm ]
Post subject:  wtf?

after i closed the promgram it wouldn't stop giving me this illegal operation error:
PIC~2~CODE V caused an invalid page fault in
module KERNEL32.DLL at 018f:bff88396.
Registers:
EAX=c00309c4 CS=018f EIP=bff88396 EFLGS=00010202
EBX=0077ffec SS=0197 ESP=0067feb0 EBP=00680028
ECX=00000000 DS=0197 ESI=00000000 FS=1d17
EDX=bff76855 ES=0197 EDI=bff79060 GS=0000
Bytes at CS:EIP:
53 56 57 8b 75 10 8b 38 33 db 85 f6 75 2d 8d b5
Stack dump:

Author:  the_short1 [ Sun Apr 18, 2004 11:43 am ]
Post subject: 

OMG OMG OMG !!!! THAT IS THE BEST!!!!!!!!!
that is SO FRICKING HANDY!!!!@...... ahh.... i though it was a cool looking paint prog.... better then mine (i just made one and called it the greatest...) but... URS IS THE BEST!.... not only that.... u keep all the info... then make a .t file... that is AMAZING!!!!!... GREAT GREAT WORK!



now i can make more levels for my pac man... and this other program i was thinking without dealing with drawing from turing...


some issues...

i was unable to use selection.... u prob have that in ur known bugs.... but im too lazy to read...

also... ur screensize was a TAD to big...

having it 800x600 makes it use scroll bars...

788x540 is perfect fit......



ALL HAIL!!! Thy Best Paint Program

Author:  Blindmelon_53 [ Tue Apr 20, 2004 10:41 pm ]
Post subject: 

Hey Delta, I was just checking out your program and it looks great however I figured I better give you some feedback or you might come to Rm 213 and slap me across the head again.

1. It would kind of be kewl to be able to set the screen size of the area that you are drawing in so that it matches the screen size of the program you are using it in. I was making my intro font for my program in your program however since yours was based on 648 x 409 (not exact) when I go to put the font in my program which is at 1024 x 768 its way off. Now I could go in and edit the text coordinates my self but its just somthing to think about.

2. I had one instance where I created text in the program (two lines) and when I saved the code and ran it it had misplaced one of the "font := Font.New ("Comic Sans MS:20")" lines after the lines that needed to call it and gave me the error "variable has no value"

Other than that I havent noticed any other problems but Ill let you know if I do.

l8r

Author:  gamer [ Wed Apr 21, 2004 5:25 pm ]
Post subject: 

thats quite nice actually, but alittle laggy n flashy (view.update)

Author:  Delta [ Tue Apr 27, 2004 1:26 pm ]
Post subject: 

Ok guys... I'm starting to work on Pic~2~Code once again... I'll try to take all your suggestions/bugs/problems into consideration... but some will be hard because I don't any errors Smile otherwise ya... it'd be much easier... I'll post again once I have updated it again

Author:  Mazer [ Tue Apr 27, 2004 1:30 pm ]
Post subject: 

I can't believe I've never seen this program before. Just amazing. I bow to you.

Author:  Flashkicks [ Fri Apr 30, 2004 6:14 am ]
Post subject: 

Rolling Eyes Nice.. But wut about the DRAWDOT command?!?!? [tear] Laughing

Author:  Tony [ Fri Apr 30, 2004 6:34 am ]
Post subject: 

you could just draw a really small square Laughing

Author:  Flashkicks [ Fri Apr 30, 2004 6:44 am ]
Post subject: 

Tony- you just HAD to be smart with me... Confused ..LOL.. Hey- i cant hepl it if Im not smart enuff to tink of just drawing a really small box..LOL

Author:  the_short1 [ Fri Apr 30, 2004 6:00 pm ]
Post subject: 

instead of drawdot... i made the small + simbol..
5 small boxes Smile ... its kinda better i think..

when ur up to it delta... drawdot.. with the cross would be a nice adition

Author:  MyPistolsIn3D [ Sat May 01, 2004 4:21 pm ]
Post subject: 

how do i make a drawing into code?

Author:  Paul [ Sat May 01, 2004 4:27 pm ]
Post subject: 

look near the bottom of this:
http://www.compsci.ca/v2/viewtopic.php?t=4677


: