Kuribo64
Views: 7,789,116 Home | Forums | Uploader | Wiki | Object databases | IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search
12-14-17 07:44 PM
Guest:

0 users reading Misc. ASM hacks | 1 bot

Main - NSMB2 hacking - Misc. ASM hacks New reply


RicBent
Posted on 12-02-17 02: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 New reply

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