Author Topic: Enlarging sprites?  (Read 28592 times)

0 Members and 1 Guest are viewing this topic.

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Enlarging sprites?
« Reply #45 on: June 15, 2010, 02:49:02 pm »
Wait. Speaking of collision detection...

Oi. That thing is going to be a monster if I do this...
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







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 #46 on: June 15, 2010, 04:05:30 pm »
Calc84maniac your routine seems buggy or use different sprite format. Here's what I got :S

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Enlarging sprites?
« Reply #47 on: June 15, 2010, 04:41:58 pm »
It looked like that was updating PREETTTY slow. :c
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







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 #48 on: June 15, 2010, 04:48:34 pm »
yeah. I think scaled sprites are definitively not really suitable for real-time movement D:

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Enlarging sprites?
« Reply #49 on: June 15, 2010, 04:50:43 pm »
Agreed.
Perhaps a type of enemy?
Big Boss!?

:D

Yes, that was a Metal Gear Solid reference.
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Enlarging sprites?
« Reply #50 on: June 15, 2010, 05:01:22 pm »
Ooh, I think the C<8 and D<8 need to be changed.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

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 #51 on: June 15, 2010, 05:08:51 pm »
Agreed.
Perhaps a type of enemy?
Big Boss!?

:D

Yes, that was a Metal Gear Solid reference.
what I thought is that it might be more suitable for animations or maybe some transitions that doesn't require much speed

Ooh, I think the C<8 and D<8 need to be changed.
do you mean to C>8 and D>8?

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Enlarging sprites?
« Reply #52 on: June 15, 2010, 05:10:07 pm »
Agreed.
Perhaps a type of enemy?
Big Boss!?

:D

Yes, that was a Metal Gear Solid reference.
what I thought is that it might be more suitable for animations or maybe some transitions that doesn't require much speed

Ooh, I think the C<8 and D<8 need to be changed.
do you mean to C>8 and D>8?
No, I think it should be C<24 and D<16
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

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 #53 on: June 15, 2010, 05:13:31 pm »
aaah ok thanks for clarifying :P

It still kinda fails, though :(

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: Enlarging sprites?
« Reply #54 on: June 15, 2010, 05:16:42 pm »
I think you might just have your data in the wrong format.
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Enlarging sprites?
« Reply #55 on: June 15, 2010, 05:20:12 pm »
Ah yeah, you need to store each pair of bytes backwards because z80 is little-endian.

Edit:
To clarify, I meant *swap* the bytes in each pair
« Last Edit: June 15, 2010, 05:21:06 pm by calc84maniac »
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

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 #56 on: June 15, 2010, 05:24:57 pm »
I am unsure what you mean. Could you post in what format the sprite must be so I understand? I won't understand unless I got concrete example

This is raylin sprite, btw. I'm not sure what he used to convert it
« Last Edit: June 15, 2010, 05:25:24 pm by DJ Omnimaga »

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Enlarging sprites?
« Reply #57 on: June 15, 2010, 05:26:47 pm »
like, instead of [0123ABCD
you would do [2301CDAB
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

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 #58 on: June 15, 2010, 05:32:46 pm »
aaah ok. I did not know sprite data needed to be stored this way, though. I never noticed any issue when working with sprites before, or is it just the way your routine works?

I don,t think I'll bother converting everything, though. It will take too long
« Last Edit: June 15, 2010, 05:33:28 pm by DJ Omnimaga »

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Enlarging sprites?
« Reply #59 on: June 15, 2010, 05:35:00 pm »
aaah ok. I did not know sprite data needed to be stored this way, though. I never noticed any issue when working with sprites before, or is it just the way your routine works?

I don,t think I'll bother converting everything, though. It will take too long
It's just how my routine works, because it loads two bytes at once.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman