News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Can I add tiles to a sprite?  (Read 1994 times)

Zynk

  • Hero Member
  • *****
  • Posts: 903
  • WIP Roll-chan: The Wily Wars
    • View Profile
Can I add tiles to a sprite?
« on: July 29, 2012, 04:33:50 am »
Heys! I'm the guy who hacks Rockman to ROLL♥CHAN  ;D

I'm wondering if I can add tiles to a sprite?

http://i.imgur.com/NMx0X.jpg
                             
See the pic. Its from yy-chr in x8(32x32)

Illustrating this sprite's size:

AXXC
XXXX
BXXX
OOOO

X tiles are where the whole sprite occupies;
A, B, C tile is where its not;
(O tiles not included)
btw, A and B are her face sprite and C is the tip-toe sprite in yy-chr.

What I want is to make Roll's ponytail move up since her animation is running in the pic, but the sprite only occupies the X's and not including C (where the ponytail would be placed).

Can I just use a hex editor or do I need to know ASM?
« Last Edit: July 30, 2012, 09:02:49 am by Zynk Oxhyde »

snarfblam

  • Submission Reviewer
  • Hero Member
  • *****
  • Posts: 589
  • CANT HACK METROID
    • View Profile
    • snarfblam
Re: Can I add tiles to a sprite?
« Reply #1 on: July 29, 2012, 08:29:43 am »
Games store their sprite data differently. Not the GFX, but the actual tile numbers, attributes, and arrangements that are used to construct the sprite. You need to know where the data is and what the format is. Once you know that it should be simple to modify.

You shouldn't need to write any ASM, but a debugger would probably help a lot in figuring out the data (unless somebody has already documented it).

henke37

  • Hero Member
  • *****
  • Posts: 643
    • View Profile
Re: Can I add tiles to a sprite?
« Reply #2 on: July 29, 2012, 09:13:17 am »
Games like to use code to position parts of characters, it can be difficult sometimes.

Zynk

  • Hero Member
  • *****
  • Posts: 903
  • WIP Roll-chan: The Wily Wars
    • View Profile
Re: Can I add tiles to a sprite?
« Reply #3 on: August 10, 2012, 06:53:46 am »
I just scoured the RHDN archive an came up with this:

http://ximwix.net/mirrors/rhdn/index.php@topic=9286.0.html

It has the main idea I have in mind... the problem is what do I do or learn first to expand a sprite  :banghead: