Author Topic: Sprite Helpers  (Read 40373 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Sprite Helpers
« Reply #15 on: June 07, 2010, 11:18:18 pm »
interesting, it will be nice to have more tools for programming in Axe :)

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Sprite Helpers
« Reply #16 on: June 09, 2010, 01:22:44 am »
Still working on my sprite editor. Pretty much every actual editing feature I plan on implementing is finished (including support for black and white and both only 3-level grayscales! just kidding about 4-level, forgot I need to draw to both buffers for black so I need to accommodate for that now), although I still need to add/improve the sprite management commands such as adding new sprites or copying/pasting sprites.
« Last Edit: June 09, 2010, 01:39:26 am by Runer112 »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Sprite Helpers
« Reply #17 on: June 09, 2010, 01:24:53 am »
cool :D keep us updated!


SirCmpwn

  • Guest
Re: Sprite Helpers
« Reply #18 on: June 09, 2010, 08:44:33 am »
Yeah, I can make a monochrome sprite editor later today, and supporting GS won't be too much more of a challenge.  I can probably have it done by the end of the day.
Mac users, all of my released PC programs are Mac and Linux compatible.  Linux users, if you don't already have mono, go to the terminal and type sudo apt-get install mono.  Mac users, I don't know how you can get Mono, but go online and look it up.

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Sprite Helpers
« Reply #19 on: June 09, 2010, 04:44:35 pm »
It would be nice to include some better sprite management features like copying, but with the compiled program pushing 8 KB as it is, it will be difficult to add this. But those are finishing touches sort of features, so until I even figure out how to fit those into the program... I present the awesome features!

-8x8 or 16x16
-Black and white, 3-scale grayscale, or 4-scale grayscale
-Multiple zoom views visible at once
-Realtime sprite hex display
-Hex input
-Flipping horizontally or veritcally
-Rotating clockwise or counterclockwise
-Create, edit, and save as many sprites as memory allows
-Delete sprites

Go ahead, try it out. I attached the source and compiled versions, as well as a readme to explain how the hell to use it. If you plan on compiling the source on your calculator and don't want to use the 14,082 byte commented and indented source file, download the attached uncommented and unindented version, weighing in at only 5,714 bytes!

** If you find any glitches, want to make any suggestions, or just want to tell me how great of a guy I am for making this, tell me about it! **

** Anyone who wants to, feel free to look at the source code and suggest optimizations. A good place to start may be areas that are easier to understand without knowing the intricate structures of the specific program, namely routines that perform math/graphics operations. Rotate and flip could be good candidates for this... It's really hard for me to add features with the current features already maxing out the program's size! **
« Last Edit: June 09, 2010, 11:32:48 pm by Runer112 »

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Sprite Helpers
« Reply #20 on: June 09, 2010, 04:55:41 pm »
nice, but it won't compile on Axe 0.2.6 ???

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Sprite Helpers
« Reply #21 on: June 09, 2010, 04:56:32 pm »
nice, but it won't compile on Axe 0.2.6 ???

It won't? That's what I'm compiling it on.

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Sprite Helpers
« Reply #22 on: June 09, 2010, 04:57:25 pm »
nice, but it won't compile on Axe 0.2.6 ???

It won't? That's what I'm compiling it on.

Well, it give a BAD Symbol Error.  Is this a bug?  Quigbo?

Error at  60% first pass.
« Last Edit: June 09, 2010, 04:58:51 pm by yunhua98 »

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Sprite Helpers
« Reply #23 on: June 09, 2010, 04:59:28 pm »
Hit PRGM to scroll to the error, what is it citing as the error?

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Sprite Helpers
« Reply #24 on: June 09, 2010, 05:01:05 pm »
Hit PRGM to scroll to the error, what is it citing as the error?

E OF 8X8 PIXEL -tanh-1(

and yes the CAPS are correct.

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Sprite Helpers
« Reply #25 on: June 09, 2010, 05:01:12 pm »
works fine for me, at any rate.
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Sprite Helpers
« Reply #26 on: June 09, 2010, 05:05:33 pm »
Wierd...
I unarchived it but it gave me out of MEM at 51%
So I rearchived it and it threw a BAD SYMBOL Error at 0% ???

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Sprite Helpers
« Reply #27 on: June 09, 2010, 05:07:27 pm »
Yeah, I've noticed that Axe doesn't always read from the archive correctly. Either find a way to be able to compile it in RAM and have enough space for the compiled program or keep trying to compile the archived version until you don't get an error.

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Sprite Helpers
« Reply #28 on: June 09, 2010, 05:07:38 pm »
try freeing up RAM... when run in wabbit, with three things on it: Axe, the source, and the compiled program, I had only 2KB of memory left. Maybe Axe can't handle low mem well?
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Sprite Helpers
« Reply #29 on: June 09, 2010, 05:09:30 pm »
I RAM Cleared, stilled din't work, both ways.
I think I'll just send the excutable.
But I aready tried that and it didn't send... stupid TI-CONNECT.

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>