Quantcast
Channel: Super Mario Bros. X Forums
Viewing all articles
Browse latest Browse all 2856

LunaLua • Re: GroundPound.lua - pound the ground! [v1.3.1]

$
0
0
Version 1.3.1 released
Fixed some code oversights and added npc whitelist and blacklist.

Thanks for the update. Do you think it would be possible to add some feature like the higher bouncing from springboard/trampoline when ground pounding, like in the 3d games, and the increasing score when you hit multiple npcs like in a goomba tower?

I tried to do the latter once but my way was pretty janky, so I'm not adding that.
As for the former, you can use this code to do that:

Code:

GP.registerCustomNPCFunc(26, function(v, p)    p.speedY = -20        -- these are taken from scripts/npcs/ai/springs.lua    p:mem(0x00, FIELD_BOOL, p.character == CHARACTER_TOAD and (p.powerup == 5 or p.powerup == 6))    p:mem(0x0E, FIELD_BOOL, false)    p:mem(0x18, FIELD_BOOL, p.character == CHARACTER_PEACH)end)

Statistics: Posted by Marioman2007 — Tue Feb 06, 2024 8:36 am



Viewing all articles
Browse latest Browse all 2856

Trending Articles