antizip.lua - If you don't want your levels cheesed...

Share and discuss custom LunaLua code and content packs for SMBX2.
Enjl
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 8877
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Orphion Egamalenitar Osmos IV, Esq.

antizip.lua - If you don't want your levels cheesed...

Postby Enjl » Tue Aug 25, 2020 1:57 am

A bit similar to physicspatch and coyotetime in that it's a mechanics tweak. This library...
- prevents unducking in tight spaces
- attempts to save the player if they narrowly clip an edge that would otherwise kill them. It will deal damage if the shortest path is larger than 16 pixels, and will kill the player if no safe location was found.
Its purpose is to shift the burden from "trusting the player to not utterly decimate your level" to "trusting the designer to make a level that doesn't have spots where you can get stuck" which is consistent with the burden in regards to other methods of getting the player stuck.
If you wish to move faster in tight corridors, your best bet is to use custom player hitbox files with a smaller ducking height.

Download:
https://pastebin.com/jsXTH5Vc
Spoiler: show
Image
The only customization option is antizip.enabled, and it's true by default.

Not multiplayer compatible because this library is just zombified out of a singleplayer episode script. Might expand later.
Ideas are useless if you can't make them real.
Image

All my assets from packs and episodes are free to use for non-Novaverse levels and projects, as long as proper credit is given.


User avatar
PROX
Mouser
Mouser
Posts: 1904
Joined: Sun Jul 06, 2014 8:50 pm

Re: antizip.lua - If you don't want your levels cheesed...

Postby PROX » Thu Aug 27, 2020 2:45 am

I probably won't download this because this will probably be included in the next patch more than likely.
Last edited by PROX on Thu Aug 27, 2020 6:43 am, edited 1 time in total.
I believe and I accept Jesus Christ as my Lord and Savior. If you do, put this in your signature.

If it makes sense then it must make dollars

Youtube Channel: ProxyHax O.O

Please do not use my stuff until I release it. Thank you.

Collab Project I'm working on:

Image

My Graphics Pack:
Image

World Map Pack: viewtopic.php?f=31&t=20173

User avatar
MrDoubleA
Bit
Bit
Posts: 134
Joined: Mon Aug 20, 2018 7:02 am
Contact:

Re: antizip.lua - If you don't want your levels cheesed...

Postby MrDoubleA » Thu Aug 27, 2020 5:59 am

PROX wrote:
Thu Aug 27, 2020 2:45 am
I won't download this because this will probably be included in the next patch more than likely.
I doubt it, to be honest.
Hi. I'm not very active on the forums.
(MrDoubleA#3124 on Discord)

rooms.lua - Quick respawn & Celeste-styled rooms
simpleLayerMovement.lua - For all your custom layer movement needs!
MrDoubleA's NPC Pack
Are you a mouse?
I support: show
Image
Image
Image
Image

Eclipsed
Mouser
Mouser
Posts: 1955
Joined: Tue Mar 13, 2018 6:15 pm

Re: antizip.lua - If you don't want your levels cheesed...

Postby Eclipsed » Thu Aug 27, 2020 1:55 pm

MrDoubleA wrote:
Thu Aug 27, 2020 5:59 am
PROX wrote:
Thu Aug 27, 2020 2:45 am
I won't download this because this will probably be included in the next patch more than likely.
I doubt it, to be honest.
I honestly think it'll be in the next patch and enabled by default but with the option to disable it based on discussions about future changes.

User avatar
MarioLover64
Pokey
Pokey
Posts: 208
Joined: Fri Apr 26, 2019 6:09 pm

Re: antizip.lua - If you don't want your levels cheesed...

Postby MarioLover64 » Thu Aug 27, 2020 1:59 pm

how it should be:

Opened an old level? Turn off for compatibility
Create a new level? Turn it on right away

User avatar
SPEEDIE
Hoopster
Hoopster
Posts: 174
Joined: Sat Nov 03, 2018 6:22 pm
Flair: Limitations don't exist, Think different.
Contact:

Re: antizip.lua - If you don't want your levels cheesed...

Postby SPEEDIE » Fri Sep 11, 2020 8:03 am

yesss this is awesome, will be using this.
If something sounds too good to be true, it probably is.
Check out my YouTube channel for high quality SMBX let's plays and other stuff.
https://www.youtube.com/channel/UCncGyz ... EqBqNJyyTQ

Check out my website for computer related fun..
https://speediegamer.github.io/spd.archive

Join my SMBX discord server for exclusive updates and much more.
https://discord.gg/fahyrvk
Finished Projects:
Image
Ongoing Projects:
Blade of Justice
4lin3r


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 4 guests