Author Topic: PaintPad - On-Calc Paint and Text Editing  (Read 11367 times)

0 Members and 2 Guests are viewing this topic.

Offline LincolnB

  • Check It Out Now
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1115
  • Rating: +125/-4
  • By Hackers For Hackers
    • View Profile
Re: PaintPad - On-Calc Paint and Text Editing
« Reply #15 on: September 25, 2011, 06:31:47 pm »
I was thinking about just using the fstream C++ library to output to files. The program would load up a .8xv file and output a .txt file.
Completed Projects:
   >> Spacky Emprise   >> Spacky 2 - Beta   >> Fantastic Sam
   >> An Exercise In Futility   >> GeoCore

My Current Projects:

Projects in Development:
In Medias Res - Contest Entry

Talk to me if you need help with Axe coding.


Spoiler For Bragging Rights:
Not much yet, hopefully this section will grow soon with time (and more contests)



Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Re: PaintPad - On-Calc Paint and Text Editing
« Reply #16 on: September 25, 2011, 06:33:57 pm »
yeah, bu then you have to rewrite ALL the byte conversions.
Spoiler For userbars:







Hacker-in-training!   Z80 Assembly Programmer     Axe Programmer
C++ H4X0R             Java Coder                           I <3 Python!

Perdidisti ludum     Cerebrum non habes

"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler For Test Results:





Offline LincolnB

  • Check It Out Now
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1115
  • Rating: +125/-4
  • By Hackers For Hackers
    • View Profile
Re: PaintPad - On-Calc Paint and Text Editing
« Reply #17 on: September 25, 2011, 06:48:31 pm »
yeah, bu then you have to rewrite ALL the byte conversions.

eh, that's not so many. This way I have more control, plus, I have no idea what you said earlier, so yeah.
Completed Projects:
   >> Spacky Emprise   >> Spacky 2 - Beta   >> Fantastic Sam
   >> An Exercise In Futility   >> GeoCore

My Current Projects:

Projects in Development:
In Medias Res - Contest Entry

Talk to me if you need help with Axe coding.


Spoiler For Bragging Rights:
Not much yet, hopefully this section will grow soon with time (and more contests)



Offline LincolnB

  • Check It Out Now
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1115
  • Rating: +125/-4
  • By Hackers For Hackers
    • View Profile
Re: PaintPad - On-Calc Paint and Text Editing
« Reply #18 on: September 27, 2011, 06:37:57 pm »
I'm just about finished with the Paint portion of the program (minus the menu, everything right now is based off of keyboard shortcuts), I'll upload screenies later today probably.
Completed Projects:
   >> Spacky Emprise   >> Spacky 2 - Beta   >> Fantastic Sam
   >> An Exercise In Futility   >> GeoCore

My Current Projects:

Projects in Development:
In Medias Res - Contest Entry

Talk to me if you need help with Axe coding.


Spoiler For Bragging Rights:
Not much yet, hopefully this section will grow soon with time (and more contests)



Offline LincolnB

  • Check It Out Now
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1115
  • Rating: +125/-4
  • By Hackers For Hackers
    • View Profile
Re: PaintPad - On-Calc Paint and Text Editing
« Reply #19 on: September 28, 2011, 10:30:28 pm »
I'm experiencing some unexpected delays. Just know that it's coming along nicely and I'll get screenies/source up as soon as I feel like I'm ready.

Made all the text sprites today! Gosh, monospace fonts, what a pain...it's the best way, tho.
Completed Projects:
   >> Spacky Emprise   >> Spacky 2 - Beta   >> Fantastic Sam
   >> An Exercise In Futility   >> GeoCore

My Current Projects:

Projects in Development:
In Medias Res - Contest Entry

Talk to me if you need help with Axe coding.


Spoiler For Bragging Rights:
Not much yet, hopefully this section will grow soon with time (and more contests)



Offline LincolnB

  • Check It Out Now
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1115
  • Rating: +125/-4
  • By Hackers For Hackers
    • View Profile
Re: PaintPad - On-Calc Paint and Text Editing
« Reply #20 on: October 01, 2011, 06:22:54 pm »
Okay, I've got text editing working. 80 inputtable characters right now. Saving/Loading was working fine until I started compiling this as an app...hopefully that will be resolved soon. Paint editing is not quite as done as text editing, but the only hard part of paint editing is going to be finding a good flood fill algorithm (or coming up with one). I haven't gone the flood fill algorithm much thought, yet, but if anyone has any ideas about it, that'd be great!
Completed Projects:
   >> Spacky Emprise   >> Spacky 2 - Beta   >> Fantastic Sam
   >> An Exercise In Futility   >> GeoCore

My Current Projects:

Projects in Development:
In Medias Res - Contest Entry

Talk to me if you need help with Axe coding.


Spoiler For Bragging Rights:
Not much yet, hopefully this section will grow soon with time (and more contests)



Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Re: PaintPad - On-Calc Paint and Text Editing
« Reply #21 on: October 01, 2011, 09:06:51 pm »
As for problems with Apps, are you using any variables that you made with something like this:
Code: [Select]
[0000]->GDB1Var
...
X->{GDB1Var}^r

Also, http://en.wikipedia.org/wiki/Flood_fill
I think the first one is what you would want. However, the best method I can think of would make heavy use of the stack, so an overflow error would be possible.
Spoiler For userbars:







Hacker-in-training!   Z80 Assembly Programmer     Axe Programmer
C++ H4X0R             Java Coder                           I <3 Python!

Perdidisti ludum     Cerebrum non habes

"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler For Test Results:





Offline LincolnB

  • Check It Out Now
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1115
  • Rating: +125/-4
  • By Hackers For Hackers
    • View Profile
Re: PaintPad - On-Calc Paint and Text Editing
« Reply #22 on: October 02, 2011, 03:15:57 pm »
I found out the app issues, it was a dumb mistake I made. Also, thanks, I'll check out the link. Text editing is now complete! Now to work on paint editing, which is about half done.
Completed Projects:
   >> Spacky Emprise   >> Spacky 2 - Beta   >> Fantastic Sam
   >> An Exercise In Futility   >> GeoCore

My Current Projects:

Projects in Development:
In Medias Res - Contest Entry

Talk to me if you need help with Axe coding.


Spoiler For Bragging Rights:
Not much yet, hopefully this section will grow soon with time (and more contests)



Offline alberthrocks

  • Moderator
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 876
  • Rating: +103/-10
    • View Profile
Re: PaintPad - On-Calc Paint and Text Editing
« Reply #23 on: October 02, 2011, 04:43:58 pm »
Make sure to keep automatic backups of code! ;)

Speaking of backups, can it be possible to exit any time and still be able to continue working on a drawing without any saving? (This is NOT auto-saving, this is auto backup, like in MS Word where if you crash, all your work is saved.)

Also, will there be an option to export to TI-BASIC and Axe? (In particular, "optimized export" - drawing the image with as few commands as possible.)
Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/


Proud member of ClrHome!

Miss my old signature? Here it is!
Spoiler For Signature:
Alternate "New" IRC post notification bot (Newy) down? Go here to reset it! http://withg.org/albert/cpuhero/

Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/

Activity remains limited due to busyness from school et al. Sorry! :( Feel free to PM, email, or if you know me well enough, FB me if you have a question/concern. :)

Don't expect me to be online 24/7 until summer. Contact me via FB if you feel it's urgent.


Proud member of ClrHome!

Spoiler For "My Projects! :D":
Projects:

Computer/Web/IRC Projects:
C______c: 0% done (Doing planning and trying to not forget it :P)
A_____m: 40% done (Need to develop a sophisticated process queue, and a pretty web GUI)
AtomBot v3.0: 0% done (Planning stage, may do a litmus test of developer wants in the future)
IdeaFrenzy: 0% done (Planning and trying to not forget it :P)
wxWabbitemu: 40% done (NEED MOAR FEATURES :P)

Calculator Projects:
M__ C_____ (an A____ _____ clone): 0% done (Need to figure out physics and Axe)
C2I: 0% done (planning, checking the demand for it, and dreaming :P)

Offline Binder News

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 785
  • Rating: +46/-3
  • Zombie of Tomorrow
    • View Profile
Re: PaintPad - On-Calc Paint and Text Editing
« Reply #24 on: October 02, 2011, 04:47:31 pm »
Optimized export would be hard, but I think it would be possible. I would take a stab at it, but I'm really busy this year w/ school, so I can't.
Spoiler For userbars:







Hacker-in-training!   Z80 Assembly Programmer     Axe Programmer
C++ H4X0R             Java Coder                           I <3 Python!

Perdidisti ludum     Cerebrum non habes

"We are humans first, no matter what."
"Fame is a vapor, popularity an accident, and riches take wings. Only one thing endures, and that is character."
Spoiler For Test Results:





Offline LincolnB

  • Check It Out Now
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1115
  • Rating: +125/-4
  • By Hackers For Hackers
    • View Profile
Re: PaintPad - On-Calc Paint and Text Editing
« Reply #25 on: November 08, 2011, 09:59:15 am »
UPDATE ish

So, this is basically done...all I need to do is a (pretty massive :P) code reorganization so it's easier for me to add the last coupla features to the Paint portion of the program.

It's a really simple program, and if I get around to making a PaintPad 2, it will have the advanced features that were originally intended, like copy/paste, brush size, undo/redo, stuff like that.

The features in the text editor are:
Inputting text (duh)
99 lines of text
20 characters (I think - it's around there) per line
Saving/Loading
about seventy inputtable characters - A-Z, a-z, 0-9, and a bunch of symbols

The GUI for the text editor is actually pretty good. It looks nice and simple and should be fairly conducive to a productive environment.

The paint program features:
Drawing pixels
Mass Erase (erasing large portions of the screen, but can also erase individual pixels)
Lines
Rectangles
Circles
3-lvl gray
EDIT: Inverting screen colors, on both gray and black

There it is. The text editor is intended for people to be able to read and write on-calc readme files for their programs, and the Paint editor is intended to make it easy to make menus and possibly cutscenes for programs/games.

Oh, and the readme for PaintPad is all On-Calc :D you open up the README text file through PaintPad. (with a screenshot showing how to open files, and probably a really small computer readme file dictating how)
« Last Edit: November 08, 2011, 10:05:50 am by buttsfredkin »
Completed Projects:
   >> Spacky Emprise   >> Spacky 2 - Beta   >> Fantastic Sam
   >> An Exercise In Futility   >> GeoCore

My Current Projects:

Projects in Development:
In Medias Res - Contest Entry

Talk to me if you need help with Axe coding.


Spoiler For Bragging Rights:
Not much yet, hopefully this section will grow soon with time (and more contests)



Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: PaintPad - On-Calc Paint and Text Editing
« Reply #26 on: November 08, 2011, 10:03:37 am »
is there an option for invert?
Sig wipe!

Offline LincolnB

  • Check It Out Now
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1115
  • Rating: +125/-4
  • By Hackers For Hackers
    • View Profile
Re: PaintPad - On-Calc Paint and Text Editing
« Reply #27 on: November 08, 2011, 10:06:14 am »
Oh yeah, I forgot to include that. Yes, there is.
Completed Projects:
   >> Spacky Emprise   >> Spacky 2 - Beta   >> Fantastic Sam
   >> An Exercise In Futility   >> GeoCore

My Current Projects:

Projects in Development:
In Medias Res - Contest Entry

Talk to me if you need help with Axe coding.


Spoiler For Bragging Rights:
Not much yet, hopefully this section will grow soon with time (and more contests)



Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: PaintPad - On-Calc Paint and Text Editing
« Reply #28 on: November 08, 2011, 10:09:37 am »
idk if it's too much to ask, but can you add the sprite support; like saving some sprites in paintpad itself you can recall it or something
Sig wipe!

Offline LincolnB

  • Check It Out Now
  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1115
  • Rating: +125/-4
  • By Hackers For Hackers
    • View Profile
Re: PaintPad - On-Calc Paint and Text Editing
« Reply #29 on: November 08, 2011, 10:11:38 am »
Hmm...that wouldn't be too hard. Probably only multiples of 8*8 size sprites would be supported though. After the code reorg, I'll see what I can do :)
Completed Projects:
   >> Spacky Emprise   >> Spacky 2 - Beta   >> Fantastic Sam
   >> An Exercise In Futility   >> GeoCore

My Current Projects:

Projects in Development:
In Medias Res - Contest Entry

Talk to me if you need help with Axe coding.


Spoiler For Bragging Rights:
Not much yet, hopefully this section will grow soon with time (and more contests)