Author Topic: Enlarging sprites?  (Read 27983 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Enlarging sprites?
« Reply #15 on: June 06, 2010, 07:18:22 pm »
I'll try this later, I am too lazy to convert it to SourceCoder format or typing it on my calc by hand ATM :P

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Enlarging sprites?
« Reply #16 on: June 06, 2010, 08:04:20 pm »
I tried it out on my calculator, but Axe didn't gave me an ERR: HEXADECIMAL. Is the 9.5-byte sprite [C3A5555A242445AA5C3] a typo?




Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Enlarging sprites?
« Reply #17 on: June 06, 2010, 08:18:40 pm »
I don't know but it isn't a correct sprite hex. I think he just typed a bunch but I'm not sure. Just take away the 5C3 at the end and it'll work.

I updated my post to show how to get all the different levels of magnification using my routine for anyone who wants to check that one out.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

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: Enlarging sprites?
« Reply #18 on: June 06, 2010, 08:29:17 pm »
I tested it with [FF818181818181FF] as Pic1 and it worked great!
Please excuse any typing errors. (Stupid iTouch!)


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 Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Enlarging sprites?
« Reply #19 on: June 06, 2010, 08:34:18 pm »
It works perfectly now. Nice routine.
On a related topic, is there a command to display a 16x16 sprite in Axe?




Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Enlarging sprites?
« Reply #20 on: June 06, 2010, 08:40:25 pm »
Not a built in command. But there are routines in the Axe board somewhere. There are a couple. I don't know if they would work the same now though since they were made for previous versions.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Enlarging sprites?
« Reply #21 on: June 06, 2010, 09:35:01 pm »
Sorry, the sprite is C3A55A24245AA5C3.  I just typed too many chars in some places. (Extra 5, extra 4...)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Enlarging sprites?
« Reply #22 on: June 06, 2010, 10:02:46 pm »
It works perfectly now. Nice routine.
On a related topic, is there a command to display a 16x16 sprite in Axe?
You need to display 4 8x8 sprites that forms a 16x16 one. It's best if done in a sub(LBL) routine, though, if you have to use 16x16 several times in the program.

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Enlarging sprites?
« Reply #23 on: June 06, 2010, 10:26:44 pm »
Could someone take a look at my routine/s and tell me what they think and all? Just haven't heard anything about it and I'm a bit curious, not trying to sound rude or anything.

Edit: By the way, here is a basic and not efficient way for displaying a 16*16 sprite.

Code: [Select]
.SPT16X16
ClrDraw
[FFFFC0C0C0C0C0C0
FFFF030303030303
C0C0C0C0C0C0FFFF
030303030303FFFF]→Pic1
Pt-On(0,0,Pic1
Pt-On(8,0,Pic1+8
Pt-On(0,8,Pic1+16
Pt-On(8,8,Pic1+24
DispGraph

Like I said this is probably really inefficient. There are better methods of doing this. This just shows the displaying four sprites to make one large one thing DJ said.
« Last Edit: June 06, 2010, 10:53:49 pm by meishe91 »
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Enlarging sprites?
« Reply #24 on: June 06, 2010, 10:52:26 pm »
Do you think you could post a 8xp version of it? Because it errors in SourceCoder

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Enlarging sprites?
« Reply #25 on: June 06, 2010, 10:54:27 pm »
A version of what? Of one of the magnifiers?
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Enlarging sprites?
« Reply #26 on: June 06, 2010, 11:02:23 pm »
yeah (or both)

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Enlarging sprites?
« Reply #27 on: June 06, 2010, 11:03:58 pm »
Well there are technically eight :P But ya, I'll to that in a minute.

Edit: Here are all 16 programs. X?.8xp is the source code and MAGX?.8xp is the executable.
« Last Edit: June 06, 2010, 11:21:06 pm by meishe91 »
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Enlarging sprites?
« Reply #28 on: June 07, 2010, 12:01:49 am »
cool thanks


And they are epic!

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Enlarging sprites?
« Reply #29 on: June 07, 2010, 12:02:18 am »
Why thank ya. :)
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)