Skip to content

gitAdrianK/SwitchBlocks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwitchBlocks - A Jump King Mod

This mod adds custom blocks to Jump King, each with its own unique switching-its-state themed mechanic.

  • Texture of the levers and platforms
  • Sounds played when a lever is touched
  • When applicable the duration of timed gimmick

Logic

The general logic is that a block is solid when it matches the current state, as such an OFF block will be solid/function when the state currently is OFF as well.

Auto Blocks

Automatically switches state after a set amount of time.

Basic Blocks

Is solid if the kind of platform is equal to the state of the lever. Switches its state when touching a lever.

Countdown Blocks

Switches its state when touching a lever, automatically switches back after a set amount of time.

Group Blocks

Switches once a player has left the platform or if a duration is specified after that duration starting from the moment a player has touched the platform, consists of 4 colours which if next to eachother on the hitbox file group together as long as they are of the same colour.

Jump Blocks

Switches its state when the player jumps.

Sand Blocks

Behaves like the vanilla sand block sinking the player and slowing them down. When state has been switched, it instead pushes the player up. Switches its state when touching a lever.

Sequence Blocks

Switches the next platform on, and the previous platform off once a player touches the platform, consists of 4 colours which if next to eachother on the hitbox file group together as long as they are of the same colour.

Find the mod and an example map on steam here

Mod Map

I have an idea for a block, can I ask for it to be added?

Sure, make an issue and I'll have a look at it.

Why are the switches called levers?

switch is a programming keyword, so i would have to name them something along the lines of _switch or switch_ or zwitch or whatever name you can think of, in the end I have to choose something ¯\(ツ)

About

Switch Blocks Mod For Jump King

Topics

Resources

License

Stars

Watchers

Forks

Languages