How to shake camera (or screen)

Post here for help and support regarding LunaLua and SMBX2's libraries and features.

Moderator: Userbase Moderators

Levelmaker_123
Spiny
Spiny
Posts: 25
Joined: Fri Dec 08, 2023 1:46 pm
Pronouns: he
Contact:

How to shake camera (or screen)

Postby Levelmaker_123 » Wed Feb 12, 2025 5:29 pm

So, I made a dripstone npc which falls down after the player goes below it and shakes the camera or screen, or that's what it's meant to do. But I checked the smbx 2 docs (camera class, and handycam.lua in there since these control the camera) and there was no information about it... So yep...

Emral
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9860
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Phoenix

Re: How to shake camera (or screen)

Postby Emral » Wed Feb 12, 2025 5:43 pm

Defines.earthquake = 2 -- higher number for stronger and longer effect


Return to “LunaLua Help”

Who is online

Users browsing this forum: No registered users and 0 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari