Kuribo64
Views: 19,850,627 Home | Forums | Uploader | Wiki | Object databases | IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search
03-28-24 12:20 PM
Guest:

0 users reading Misc. ASM hacks | 1 bot

Main - NSMB2 hacking - Misc. ASM hacks Hide post layouts | New reply


RicBent
Posted on 12-02-17 07:37 PM Link | #91602

In this thread you can post all your smaller ASM hacks. I will try to link to all of them in the first post.



Sprite Size Modifier



This hacks allows scaling sprites via nybble 23.
It does so by adding a custom implementation for ActivePhysics::initWithStruct(Actor* owner, ActivePhysics::Info* info) which scales the hitboxes accordingly and hooking StageActor::afterCreate(StageActor*) to apply model scales. Some sprites tho overwrite the scale vector after StageActor::afterCreate(StageActor*) tho or just don't use the scale vector in onDraw thus making this hack not work with quite a few sprites.

Code can be found here: https://github.com/RicBent/Magikoopa-NSMB2-Examples/blob/master/SizeModifier/

____________________
GitHub - YouTube - NSMBHD


Main - NSMB2 hacking - Misc. ASM hacks Hide post layouts | New reply

Page rendered in 0.018 seconds. (2048KB of memory used)
MySQL - queries: 27, rows: 107/107, time: 0.011 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.