I was getting my feet wet and trying some simple 'test' programs and couldn't get any of them to work.
Can someone help?
This was intended to simply make a black screen. If you touch the palm's screen with the stylus, the screen would turn white. If you let up, it would return to black. But it didn't work and I couldn't figure out why! So then I tried to make another simple test: Wherever the stylus touches the screen, put a dot there. Again, no success. I think it's me not understanding how to use the pen_get_ commands...If someone could correct this code and explain what makes the changes work, I'd like that! Here's the faulty program...
Code: Select all
// Testing Commands
clear(BLACK)
draw_screen = {dot(x,y,WHITE)}
mainloop:
x = gpx
y = gpy
if x + y =! 0
{
draw_screen
}
frame
goto mainloop
Any help would be awesome.