Banner
Views: 875,038,633
Time:
21 users online: AmperSam, anonimzwx, codfish1002, Coockie1173, DeLinn90, Diba9Br, Dispace, Dr.Moe, ECS.98, Green Jerry, lx5,  MarioFanGamer, MarkVD100, monkey03297, NGB, RAFAEL_M_C_,  RussianMan, tcdw, Tony.Metcalfe, Tsutarja, Yoshioshi_ - Guests: 71 - Bots: 64 Users: 48,792 (2,460 active)
Latest: Santali
Winter C3 2021 Content Spotlight
HaruMKT's "Hybrid Front Project Teaser"!
Not logged in.
Sprite size code
Forum Index - SMW Hacking - SMW Hacking Help - ASM & Related Topics - Sprite size code
Pages: « 1 » Link
Where found the code for size of the sprite?What code is this??
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.

--------------------


 
How could change the sprite sizes:
For 16x16??
And 32x32??
And 64x64??
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.)
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.
See my problem:

Anyting Solution??

so you mean, you need the sprite to be the size of the right image?(which is 80x64, i dont think that is possible #w{=|})



I might put some sort of signature here once. I guess.
your math is wrong it's actually 80X48

oops, lol im an idiot.



I might put some sort of signature here once. I guess.
Originally posted by JeRRy86
oops, lol im an idiot.


We know. :P
[/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.
What code used for this??
Where found this??

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))



I might put some sort of signature here once. I guess.
Pages: « 1 » Link
Forum Index - SMW Hacking - SMW Hacking Help - ASM & Related Topics - Sprite size code

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2021 - SMW Central
Legal Information - Privacy Policy - Link To Us


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Super Mario Bros. X Community
  • ROMhacking.net
  • Mario Fan Games Galaxy
  • sm64romhacks