プレイ日記
nate NJR1432
How would you code a drawing program?
3そうだね
プレイ済み
返信[1]
親投稿
Aaron Krondelo
I was wondering too. I think you could use Gputchar or whatever it is. to place pixels where you touch.
1そうだね
プレイ済み
返信[2]
親投稿
nate NJR1432
thanks!
0そうだね
プレイ済み
返信[3]
親投稿
SıмΞоп SimeonW
oh easy! I'll type one here: @LOOP:VSYNC TOUCH OUT TM,TX,TY IF TM THEN IF !OLDTX OR !OLDTY THEN OLDTX=TX:OLDTY=TY ENDIF GLINE TX,TY,OLDTX,OLDTY OLDTX=TX:OLDTY=TY ELSE:OLDTX=0:OLDTY=0:ENDIF GOTO @LOOP I did not add any line smoothing algorithms, but thats easy too
1そうだね
プレイ済み
返信[4]
親投稿
nate NJR1432
Thank you so much!
0そうだね
プレイ済み
返信[5]
親投稿
nate NJR1432
And how would you add color? i put color 12 at the top but that didn't change anything.
0そうだね
プレイ済み
返信[6]
親投稿
SıмΞоп SimeonW
Oh COLOR 12 would only change the text color Here's some things you could add: GCOLOR #CYAN which is the same as GCOLOR RGB(0,255,255) replace #CYAN with almost any color
1そうだね
プレイ済み
返信[7]
親投稿
nate NJR1432
Thanks! Means a lot!
0そうだね
プレイ済み
返信[8]
親投稿
nate NJR1432
Do you mind if i enter this in a contest with other features?
0そうだね
プレイ済み
返信[9]
親投稿
SıмΞоп SimeonW
Hey go for it! But here's a few things you should fix first: add ACLS:XSCREEN 3 to the very very beginning replace GLINE TX,TY,OLDTX,OLDTY with DISPLAY 0:GLINE TX*1.25,TY,OLDTX*1.25,OLDTY DISPLAY 1:GLINE TX,TY,OLDTX,OLDTY
1そうだね
プレイ済み
返信[10]
親投稿
nate NJR1432
Thanks!
0そうだね
プレイ済み
返信[11]
親投稿
duckymomo fluffyofqweam
XD wow philip oh when he knows the truth! XD I won't tell
1そうだね
プレイ済み
返信[12]
親投稿
duckymomo fluffyofqweam
ooh philip yeahed my post XD
0そうだね
プレイ済み
返信[13]
親投稿
PChicken NerdChicken
i made a drawing program once, it was similar to your code. I actually had some cool features like a circle-pad controlled cursor that could draw, and a size feature. I need to update it sometime tho... MOAR GUI
1そうだね
プレイ済み