| Sprite size code |
|
Forum Index - SMW Hacking - General SMW Hacking Help - ASM & Related Topics - Sprite size code |
|
Pages: 1  |
|
|
|
| Posted on 2010-02-04 10:27:23 AM |
Link | Quote |
|
|
Where found the code for size of the sprite?What code is this??
|
|
| Posted on 2010-02-04 10:31:53 AM |
Link | Quote |
|
I'm not sure if I understand what you're saying...
the sprite's hitbox ("interaction size") is determined by its sprite clipping value, which can be changed in the CFG editor. You can find a list of possible clipping values in the Documents section.
To change its size graphics-wise, just add more tiles to it and add or subtract #$10 to place them next to the other tiles.
|
|
| Posted on 2010-02-08 03:39:13 AM |
Link | Quote |
|
How could change the sprite sizes:
For 16x16??
And 32x32??
And 64x64??
|
|
| Posted on 2010-02-10 05:42:35 PM |
Link | Quote |
|
Sprite sizes are decided by OAM.
OAM is $200~$41F, but It use $300~$41F(I don't know where to use $200~$2FF)
$300 ~ $303 is first tile, and $304 ~ $307 is secont tile, etc.
It decide sprites sizes.
If sprite code substitute $300 ~ $307, this sprite is used 2 tiles.
However it use loop,so this is not easy(for beginners).
(I can English not very well.)
|
| Last edited on 2010-02-10 05:44:59 PM by breaker_29. |
|
| Posted on 2010-02-10 05:46:02 PM |
Link | Quote |
|
Needs some clarification here.
WhiteYoshiEgg is talking about the sprite's interaction size, or the area of the screen which can damage Mario. Changing the CFG can change the interaction size, making mario jump higher to hit the enemy without getting hurt. This does NOT change the graphics.
Breaker is talking about graphics, which requires knowledge of making a sprite graphic routine. If you don't know how to make a sprite, then you can't easily change the size of it's graphics.
|
|
| Posted on 2010-03-25 05:22:02 PM |
Link | Quote |
|
See my problem:

Anyting Solution??
|
|
| Posted on 2010-03-26 10:50:41 AM |
Link | Quote |
|
so you mean, you need the sprite to be the size of the right image?(which is 80x64, i dont think that is possible )
|
|
| Posted on 2010-03-26 11:42:11 AM |
Link | Quote |
|
|
your math is wrong it's actually 80X48
|
| Last edited on 2010-03-26 11:42:55 AM by ninja boy. |
|
| Posted on 2010-03-26 02:00:54 PM |
Link | Quote |
|
|
oops, lol im an idiot.
|
|
| Posted on 2010-03-26 02:39:18 PM |
Link | Quote |
|
Originally posted by JeRRy86oops, lol im an idiot.
We know. 
[/joke]
@Roberto zampari: It takes a while to understand and match the graphics routine to the clipping field size of the sprite. But, with the habit that you have of not making your posts understandable (I know that you're brazilian and english isn't your best, but still...) and not reading the posts from other users, it's impossible to do at this time.
You need to read and apply what you have learned.
|
|
| Posted on 2010-03-26 03:11:27 PM |
Link | Quote |
|
What code used for this??
Where found this??
|
| Last edited on 2010-03-26 03:11:45 PM by Roberto zampari. |
|
| Posted on 2010-03-26 03:16:35 PM |
Link | Quote |
|
thats a generic question for people who obviously do not know how hard it is to program a complicated graphics rountine and interaction routine.
(why do you always think carol made the sprites sonikku shows?(at least, it looks like you do))
|
|
|
Pages: 1  |
|
|
|
|
Forum Index - SMW Hacking - General SMW Hacking Help - ASM & Related Topics - Sprite size code |