Global Block Settings! - blockyGlobe (1.0.1)

Share and discuss custom LunaLua code and content packs for SMBX2.

Moderator: Userbase Moderators

KateBulka
Dolphin
Dolphin
Posts: 1112
Joined: Tue Apr 15, 2014 8:29 am
Pronouns: she/her

Global Block Settings! - blockyGlobe (1.0.1)

Postby KateBulka » Mon Jan 03, 2022 8:22 am

blockyGlobe

~inspired by extraNPCProperties.lua by MrDoubleA~

Salut, folks!! -w- This is my library which adds some useful global settings for all blocks!! Such as:
  • Render priority
  • Ability to change rendering mode (Sizable, Stretch, Repeating Texture...) for block
  • Movement for block (May be buggy though!!)
  • Setting block's size
  • Disabling Collision

Code: Select all

--it's enough to just require it :) Don't forget to place global_block.json in needed folder though!!
require('blockyGlobe')
Download (1.0) - https://drive.google.com/file/d/144Wmr9 ... sp=sharing
Download (1.0.1) [Current] - https://drive.google.com/file/d/1Nt1RQC ... sp=sharing

Changelog:
Spoiler: show
1.0.1:
Spoiler: show
-Optimized library by a bit...

Screenshots & Gifs:
Spoiler: show
Image
Image
Image

Chilly14
Snifit
Snifit
Posts: 236
Joined: Thu Jul 18, 2019 10:28 pm
Flair: wash your hands and stay at home
Pronouns: he/him

Re: Global Block Settings! - blockyGlobe (1.0.1)

Postby Chilly14 » Mon Jan 03, 2022 8:59 am

This is really nice. Really, really nice.

Added in 14 minutes 51 seconds:
Um...larger blocks like this 128x128 one have weird collision.
Spoiler: show
Image
Also, the Disable Collision feature isn't working for me.

KateBulka
Dolphin
Dolphin
Posts: 1112
Joined: Tue Apr 15, 2014 8:29 am
Pronouns: she/her

Re: Global Block Settings! - blockyGlobe (1.0.1)

Postby KateBulka » Sat Jan 08, 2022 5:19 am

Chilly14 wrote:
Mon Jan 03, 2022 9:14 am
This is really nice. Really, really nice.

Added in 14 minutes 51 seconds:
Um...larger blocks like this 128x128 one have weird collision.
Spoiler: show
Image
Also, the Disable Collision feature isn't working for me.
Hey!! Seems like too large blocks don't work anywhere... Not sure why that happens.
Disable Collision works fine on my side, so i would like to get more information i guess..?

Chilly14
Snifit
Snifit
Posts: 236
Joined: Thu Jul 18, 2019 10:28 pm
Flair: wash your hands and stay at home
Pronouns: he/him

Re: Global Block Settings! - blockyGlobe (1.0.1)

Postby Chilly14 » Sat Jan 08, 2022 10:39 am

Core wrote:
Sat Jan 08, 2022 5:19 am
Chilly14 wrote:
Mon Jan 03, 2022 9:14 am
This is really nice. Really, really nice.

Added in 14 minutes 51 seconds:
Um...larger blocks like this 128x128 one have weird collision.
Spoiler: show
Image
Also, the Disable Collision feature isn't working for me.
Hey!! Seems like too large blocks don't work anywhere... Not sure why that happens.
Disable Collision works fine on my side, so i would like to get more information i guess..?
1. Perhaps.
2. I had the setting on, but somehow I still couldn't pass through the block.

DeviousQuacks23
Swooper
Swooper
Posts: 62
Joined: Tue Apr 11, 2023 9:29 am
Flair: Decent at LunaLua coding.
Pronouns: him

Re: Global Block Settings! - blockyGlobe (1.0.1)

Postby DeviousQuacks23 » Wed Jul 12, 2023 9:01 am

You should add an option so the blocks can be breakable.
Other than that, this is a delight to have.


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 4 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari