Jump to content

Double-click Draw


6 replies to this topic

#1  

    Stargunner

  • 1,593 posts
  • Joined: 25-August 05

Posted Tue Mar 18, 2008 9:33 PM

Just posted in other thread, but posting here also in case anyone finds it useful as an Atari 2600 paint program.

Warning: flashing colors.

Click and drag to draw. Double-click to erase a dot. Stays red when it is waiting on double-click.

Please feel free to extend and repost the full bas program and binary with your change. It's a collaborative paint program!

Attached Thumbnails

  • Attached Image: doubleclick.bas.bin.png

Attached Files


Edited by Fort Apocalypse, Tue Mar 18, 2008 9:34 PM.


#2  

    Stargunner

  • 1,593 posts
  • Joined: 25-August 05

Posted Tue Mar 18, 2008 9:39 PM

label

Attached Thumbnails

  • Attached Image: doubleclick_main.jpg
  • Attached Image: doubleclick_top.jpg


#3  

    Visual batari Basic User

  • 20,535 posts
  • Joined: 23-April 01
  • Controlled Randomness

    Replay Value

    Nonlinear
  • Location:North Carolina (USA)

Posted Tue Mar 18, 2008 10:26 PM

View PostFort Apocalypse, on Tue Mar 18, 2008 11:33 PM, said:

Please feel free to extend and repost the full bas program and binary with your change. It's a collaborative paint program!
Sounds like fun. Wouldn't it be cool if you could figure out how to draw on a high resolution screen:

http://www.atariage....howtopic=121993

#4  

    Visual batari Basic User

  • 20,535 posts
  • Joined: 23-April 01
  • Controlled Randomness

    Replay Value

    Nonlinear
  • Location:North Carolina (USA)

Posted Sat Mar 22, 2008 9:24 AM

To help with another program I'm working on and to get more practice, I made my own version of Double-click Draw.


Instructions

  • Press fire button to start.
    .
  • Use joystick controller to move cursor.
    .
  • Press fire button to draw or erase.
    .
  • Double-click fire button to change color of playfield pixels while cursor is at rest. You can also change the color of playfield pixels by pressing the select switch.


Here's the .bin file to use with your favorite emulator:
Attached File  double_click_draw_2008y_03m_22d_1100.bin   4K   60 downloads


Here's the .bas file if you want to look at the code:
Attached File  double_click_draw_2008y_03m_22d_1100.bas   10.71K   55 downloads


I'm almost done with the multicolor version where you can change the color of each row. I'll post that later today.

Edited by Random Terrain, Sat Mar 22, 2008 12:29 PM.


#5  

    Stargunner

  • 1,593 posts
  • Joined: 25-August 05

Posted Sat Mar 22, 2008 10:05 AM

really like the title screen and the slower and cool looking cursor!

however it is no longer uses double-click to erase (just clicking erases) and overwriting a previously drawn line erases it. I don't know if that was your intention or not. are you going to utilize the double-click? if not, maybe we should rename it to "draw"?

#6  

    Visual batari Basic User

  • 20,535 posts
  • Joined: 23-April 01
  • Controlled Randomness

    Replay Value

    Nonlinear
  • Location:North Carolina (USA)

Posted Sat Mar 22, 2008 10:16 AM

View PostFort Apocalypse, on Sat Mar 22, 2008 12:05 PM, said:

really like the title screen and the slower and cool looking cursor!

however it is no longer uses double-click to erase (just clicking erases) and overwriting a previously drawn line erases it. I don't know if that was your intention or not. are you going to utilize the double-click? if not, maybe we should rename it to "draw"?
Double-clicking now changes the color. So does pressing the select switch if the double-clicking gets tiresome. To double click, stop moving the cursor and double click the fire button.

Edited by Random Terrain, Sat Mar 22, 2008 10:18 AM.


#7  

    Visual batari Basic User

  • 20,535 posts
  • Joined: 23-April 01
  • Controlled Randomness

    Replay Value

    Nonlinear
  • Location:North Carolina (USA)

Posted Sat Mar 22, 2008 12:46 PM

This is similar to my other version of Double-click Draw, but thanks to batari, this one allows you to change the color of each row.


Instructions

  • Press fire button to start.
    .
  • Use joystick controller to move cursor.
    .
  • Press fire button to draw or erase.
    .
  • Double-click fire button to change the color of the current row of playfield pixels while the cursor is at rest. You can also change the color of the current row of playfield pixels by pressing the select switch.


Here's the .bin file to use with your favorite emulator:
Attached File  double_click_draw_special_2008y_03m_22d_1402.bin   4K   84 downloads

Here's the .bas file if you want to look at the code:
Attached File  double_click_draw_special_2008y_03m_22d_1402.bas   11.65K   51 downloads

You won't be able to run that code properly unless you download this file from batari:
http://www.atariage.com/forums/index.php?s...p;#entry1486518

After you unzip it, go to the includes folder and rename "2600basic.h" to something like "_original_2600basic.h" and then put the new "2600basic.h" file in the includes folder. When you're done playing around, you can rename "2600basic.h" to something like "_special_2600basic.h" and then rename "_original_2600basic.h" to "2600basic.h" so everything will be back to normal.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users