Author Topic: Sprite Helpers  (Read 40835 times)

0 Members and 2 Guests are viewing this topic.

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 #45 on: June 09, 2010, 06:53:27 pm »
Um... it's your calculator? It probably won't help, and a screenshot (even a picture) would provide more info, but try ALCDFIX
Again, it shouldn't do anything... More information and maybe a picture?
Edit: Apparently ALCDFIX doesn't work... hm... Pictures?
« Last Edit: June 09, 2010, 06:54:27 pm by calcdude84se »
"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 Magic Banana

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 371
  • Rating: +77/-1
  • It's not an apple, it's a ... magic banana.
    • View Profile
Re: Sprite Helpers
« Reply #46 on: June 09, 2010, 07:10:08 pm »
Okay, so if you go into Memory Management, go to AppVars and delete the SPREDIT variable. It should be archived. This lets you go back to the gray level screen. Choosing 2 works perfectly. choosing 3 gets the jumping around. Choosing 4 gets the weird cutoff '0's. Its only a temp solution until this gets fixed for real, so I guess until then Darl181 and I are stuck in monochrome mode.

Also, I tried to go into the code and change it so that I can screenshot the thing, but just scrolling through that takes minutes.

EDIT: Okay, got it. SCREEN1 is when I choose 3 and SCREEN4 is when I choose 4.
« Last Edit: June 09, 2010, 07:19:54 pm by Magic Banana »
I do sprites and stuff, so yeah.

Quote from: yunhua98
i'M NOT SURE WHAT A SWORD SKILL IS BUT HERE'S THE SWORD ANIMATION FROM THE TWO SPRITES ON PG 13

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Sprite Helpers
« Reply #47 on: June 09, 2010, 07:18:47 pm »
Make sure there is no Full command in the program, as that can (seriously) screw up graphics if used when greyscale is being displayed.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline Magic Banana

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 371
  • Rating: +77/-1
  • It's not an apple, it's a ... magic banana.
    • View Profile
Re: Sprite Helpers
« Reply #48 on: June 09, 2010, 07:29:14 pm »
Yep, just checked the source, and the program gets initialized with it.
I do sprites and stuff, so yeah.

Quote from: yunhua98
i'M NOT SURE WHAT A SWORD SKILL IS BUT HERE'S THE SWORD ANIMATION FROM THE TWO SPRITES ON PG 13

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Sprite Helpers
« Reply #49 on: June 09, 2010, 07:45:58 pm »
That might be OK if when you choose a greyscale level of 3 or 4, then Normal is executed, but perhaps removing the Full would help.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline Magic Banana

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 371
  • Rating: +77/-1
  • It's not an apple, it's a ... magic banana.
    • View Profile
Re: Sprite Helpers
« Reply #50 on: June 09, 2010, 08:25:14 pm »
I think I can modify the source a bit so that it checks whether you picked monochrome or grayscale and choose accordingly.
I do sprites and stuff, so yeah.

Quote from: yunhua98
i'M NOT SURE WHAT A SWORD SKILL IS BUT HERE'S THE SWORD ANIMATION FROM THE TWO SPRITES ON PG 13

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Sprite Helpers
« Reply #51 on: June 09, 2010, 08:50:53 pm »
The screenies look really excellent for this. I'll give ti a try later and leave some feedback.

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Sprite Helpers
« Reply #52 on: June 09, 2010, 08:59:35 pm »
Hey, just got back. Is it the Full thing? It probably is >.< let me fix that now.

EDIT: Made a fix for the Full problem, assuming that was the problem. I can't test it myself because I don't have a 15MHz calculator. http://ourl.ca/4832/94254
« Last Edit: June 09, 2010, 09:12:07 pm by Runer112 »

Offline Magic Banana

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 371
  • Rating: +77/-1
  • It's not an apple, it's a ... magic banana.
    • View Profile
Re: Sprite Helpers
« Reply #53 on: June 09, 2010, 09:05:45 pm »
Ok, just tested it and the fix is working.
Here's the edited source and the Axe executable.
I do sprites and stuff, so yeah.

Quote from: yunhua98
i'M NOT SURE WHAT A SWORD SKILL IS BUT HERE'S THE SWORD ANIMATION FROM THE TWO SPRITES ON PG 13

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Sprite Helpers
« Reply #54 on: June 09, 2010, 09:06:47 pm »
Ok, just tested it and the fix is working.
Here's the edited source and the Axe executable.

Beat you to it ;)

But sorry about that, I was testing it on a 6MHz and I forgot that I needed to turn off Full for the grayscale. And can you or somebody else with a 15MHz test my updated file just to make sure my fix works?

EDIT: Found another dumb error and fixed it.

EDIT AGAIN: Found another dumb error caused by my previous fix for a dumb error and fixed it.
« Last Edit: June 09, 2010, 09:45:46 pm by Runer112 »

Offline Magic Banana

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 371
  • Rating: +77/-1
  • It's not an apple, it's a ... magic banana.
    • View Profile
Re: Sprite Helpers
« Reply #55 on: June 09, 2010, 09:58:02 pm »
Ok, just tested it and the fix is working.
Here's the edited source and the Axe executable.

Beat you to it ;)

But sorry about that, I was testing it on a 6MHz and I forgot that I needed to turn off Full for the grayscale. And can you or somebody else with a 15MHz test my updated file just to make sure my fix works?

EDIT: Found another dumb error and fixed it.

EDIT AGAIN: Found another dumb error caused by my previous fix for a dumb error and fixed it.

I can't check right now because I'm busy working with sprites.
I'm not sure what you did for a fix, but here's basically what I did to fix it:
(btw, this is in Lbl N:

While Gsub(65)
:If sub(GK)=26
:0→G
:End
:If K=18
:1→G
:End
:If K=35
:2→G
:End
:If G
:Normal
:Else
:Full
:End

:  End

It doesn't conflict with anything so it works on 15Mhz calcs.
I do sprites and stuff, so yeah.

Quote from: yunhua98
i'M NOT SURE WHAT A SWORD SKILL IS BUT HERE'S THE SWORD ANIMATION FROM THE TWO SPRITES ON PG 13

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Sprite Helpers
« Reply #56 on: June 09, 2010, 10:09:43 pm »
I actually did something else, I call Normal at the start of the sprite DispGraph routine and call Full at the end of it, which should give you the best of both worlds. It should run the grayscale display part of the program at normal speed on any calculator and run the rest of the program at full speed on calculators capable of it.

Code: [Select]
.DISPLAYGRAPH
Lbl DG
  !If G
    DispGraph
  Else
    Normal
    If Gsub(1)
      DispGraphʳ
    Else
      DispGraphʳʳ
    End
    Full
  End
Return
« Last Edit: June 09, 2010, 10:18:38 pm by Runer112 »

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Sprite Helpers
« Reply #57 on: June 09, 2010, 10:18:34 pm »
Hey that is really cool!  Definitely will consider adding this to the Axe Tools, with your permission of course.
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Sprite Helpers
« Reply #58 on: June 09, 2010, 10:19:41 pm »
Hey that is really cool!  Definitely will consider adding this to the Axe Tools, with your permission of course.

Sure, although it's still a work in progress. Should I start a new thread for it? Or just keep updating my post on the second page?

Offline Magic Banana

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 371
  • Rating: +77/-1
  • It's not an apple, it's a ... magic banana.
    • View Profile
Re: Sprite Helpers
« Reply #59 on: June 09, 2010, 10:21:41 pm »
Ah, I see what you did. Yeah, that looks to be much more efficient. Then again, it is pretty hard to fix code when you didn't write the thing and its over 5k.
I do sprites and stuff, so yeah.

Quote from: yunhua98
i'M NOT SURE WHAT A SWORD SKILL IS BUT HERE'S THE SWORD ANIMATION FROM THE TWO SPRITES ON PG 13