Author Topic: How do i make a paint program  (Read 512 times)

Hey i just wanted to make a computer for fun but i forgot the VCE events for paint please help thanks :D

I cannot understand you at al.

I cannot understand you at al.
i need the events for my computer im making to make it were you click a color and click screen and it pops up


i need the events for my computer im making to make it were you click a color and click screen and it pops up
Can someone please translate what ever you're saying?

I think he means that he wants to make a canvas out of bricks, then event it to make you able to paint by clicking on a color-picking button, then clicking on the point you want to paint.

My half-assed way of doing it would be assigning a client variable to the player when you click the pallette and then it checks what the variable is and changes the brick color accordingly. eg. click blue palette color: get client color variable set to 4 and when you click the brick it checks the var and if it is 4 it colors it blue, if it is 3 it colors it red etc. etc.

My half-assed way of doing it would be assigning a client variable to the player when you click the pallette and then it checks what the variable is and changes the brick color accordingly. eg. click blue palette color: get client color variable set to 4 and when you click the brick it checks the var and if it is 4 it colors it blue, if it is 3 it colors it red etc. etc.
Oh, you want events

(this is the pallete brick)
onactivate client VCEmodVariable color set 1

(this is the brick you want colored)

onactivate client vceIfvariable color == 1
onvariabletrue self setcolor red