Skip to main content Link Search Menu Expand Document (external link)

Block types

every color defines a block, a mechanic and more!

Table of contents

  1. Blocks for new users
    1. Solid block
    2. Slope block
    3. Fake block
    4. Ice block
    5. Snow block
      1. Snow particles
    6. Thin snow block
    7. Sand block
    8. Wind block
    9. No wind block
    10. Water block
    11. Low gravity block
  2. Blocks for intermediate users
    1. Quark block
    2. Teleport block
    3. Wind gradient block
    4. Left one-way wind gradients
    5. Right one-way wind gradients
  3. Blocks for expert users
    1. Semi-solid block
    2. Warp block
  4. Blocks recap
  5. Next up
    1. Notes

Blocks for new users

Below are the basic blocks you use to build your level. Make sure to read up what each of the colours do before you start making your hitboxes.

Pro-tip!

Try each colour out and test them ingame to develop an understanding for what they do.

By clicking or hovering the color box you can see the RGB color that you will need to use in the hitbox.

Solid block

The solid block is a normal block you can stand on.

  • It is solid,
  • you can walk on it 1,
  • you can’t slide on it 2,
  • it can affect your direction 3.

Slope block

The slope block is the block used for slopes. It needs two adjacent any-solid or fake blocks to exist. These two adjacent blocks needs to be:

  1. one on the left or right side of the slope
  2. one on the top or bottom side of the slope
  • It is usually solid 4,
  • you can’t walk on it,
  • you will slide on it no matter what,
  • it can affect your direction 3.

Fake block

The fake block is a block that is not solid and the sole purpose is to create a slope without surrounding blocks.

  • It is not solid,
  • you can’t walk on it,
  • you can’t slide on it,
  • it can affect your direction 3.

Ice block

The ice block is a solid block that will make the player slide if it’s standing on it.

  • It is solid,
  • you can walk on it 1,
  • you will slide on it no matter what,
  • it can affect your direction 3.

Snow block

The snow block is a solid block that will make the player stand in one position, needs at least 7 frames to jump.

  • It is solid,
  • you can’t walk on it,
  • you can’t slide on it 2,
  • it can affect your direction 3.


Snow particles

The snow hitbox/mechanic can let you decide which type of snow particles you would like to have in a particular area.

This is an optional, therefore if you don’t want a different snow type you can leave it as is and it will default to no particles used.

Steps (without Worldsmith)

The snow_settings.xml (snow particles settings file) file can be found inside the particles folder of your level.

Adding/removing a snow particle

To add a snow particle:

  1. Write down the first and last screen where you want your particle to present.
  2. Decide what type of snow particle you want.
  3. Copy the following snippet:
    <SpriteSpan>
     <start>YOUR_FIRST_SCREEN</start>
     <end>YOUR_LAST_SCREEN</end>
     <sprite>YOUR_SNOW_PARTICLE_TYPE</sprite>
    </SpriteSpan>
    
  4. Navigate to particles and open snow_settings.xml.
  5. If this is your first time dealing with snow particles, remove the already existing SpriteSpans.
  6. Paste in a new line below the sprite_spans opening tag.
  7. Replace YOUR_FIRST_SCREEN with your first screen.
  8. Replace YOUR_LAST_SCREEN with your last screen.
  9. Replace YOUR_SNOW_PARTICLE_TYPE with the value of the particle chosen.

To remove a snow particle:

  1. Find the screen(s) where the snow particle is present.
  2. Navigate to particles and open snow_settings.xml.
  3. Find the SpriteSpan that contains your screens (between start and end) and delete it.
  4. If your sprite_spans is without any SpriteSpan, add the following SpriteSpan:
    <SpriteSpan>
       <start>0</start>
       <end>0</end>
       <sprite>0</sprite>
     </SpriteSpan>
    

Thin snow block

The snow block is a solid block that will make the player stand in one position, you can jump any jump charge.

  • It is solid,
  • you can’t walk on it,
  • you can’t slide on it 2,
  • it can affect your direction 3.

Sand block

The sand block, is pretty much what quicksand is, by landing on it you will immediately sink.

  • It is solid,
  • you can walk on it 1,
  • you can’t slide on it,
  • it affects your direction (you will sink down).

Wind block

The wind block, if present on a screen, it will activate an infinite loop where it will slowly push the player left and right. The wind polarity changes direction every 5 seconds.

  • It is not solid,
  • you can’t walk on it,
  • you can’t slide on it,
  • it affects your direction.

No wind block

The no wind block does exactly what it sounds like. It’s called “no wind” block because it’s main use was to stop the wind, but can be used for water and low gravity too!

  • It is not solid,
  • you can’t walk on it,
  • you can’t slide on it,
  • it cancels out the wind, water and low gravity (not affecting your direction).

Water block

The water block is an area block that slows you down.

  • It is not solid,
  • you can’t walk on it,
  • you can’t slide on it,
  • it affects your direction (velocity, gravity and jump charge).

Low gravity block

The low gravity block is an area block that slows you down but amplifies your jump range.

  • It is not solid,
  • you can’t walk on it,
  • you can’t slide on it,
  • it affects your direction (velocity, gravity and jump curve).

Blocks for intermediate users

These are just different colours but have more advanced functions. It is preferred to not touch these until you are proficient with the starter blocks.

Quark block

When the player touches a quark block, their Y (height) position is rounded to the closest value on the base of 4 (4,8,12,16,etc). Using TWO quark blocks together rounds the player position by one full in-game pixel (8 pixels on the .png/hitboxes), giving a more “consistent” outcome.

In order to get the full potential of a quark block:

  1. It has to be used when player is in full falling velocity
  2. It has to be used on one of the side of the screen

Usage

  • It is not solid,
  • you can’t walk on it,
  • you can’t slide on it,
  • it affects your direction (player Y position).

Teleport block

The teleport block has a range of values that goes from 1 to 255, if placed on a screen, when the player crosses the side of the screen, it teleports the player to the specific screen number given by the red channel number.

For example if on the screen you place one teleport block colored RGB(9,0,255), once the player walks/jumps/falls in either side of the screens, it will get teleported to the 9th screen of your hitbox file.

By default works both ways, adding another teleport to the other side of the screen will allow you to have two different side teleports per screen.

  • It is not solid,
  • you can’t walk on it,
  • you can’t slide on it,
  • it affects your direction (player Y position).

Wind gradient block

The wind gradient block has a range of 16 intesities of wind, from 12.5% or RGB(192,255,0) to 200% or RGB(207,255,0) of the original strength of the wind.

  • It is not solid,
  • you can’t walk on it,
  • you can’t slide on it,
  • it affects your direction.

Left one-way wind gradients

The wind gradient block has a range of 16 intesities of the left one-way wind, from 12.5% or RGB(208,255,0) to 200% or RGB(223,255,0) of the original strength of the wind. The one-way wind will never change direction.

  • It is not solid,
  • you can’t walk on it,
  • you can’t slide on it,
  • it affects your direction.

Right one-way wind gradients

The wind gradient block has a range of 16 intesities of the right one-way wind, from 12.5% or RGB(224,255,0) to 200% or RGB(239,255,0) of the original strength of the wind. The one-way wind will never change direction.

  • It is not solid,
  • you can’t walk on it,
  • you can’t slide on it,
  • it affects your direction.

Blocks for expert users

These are the most complex blocks. It is preferred to learn them last.

You should follow the following blocks only if you really know what you are doing!

Semi-solid block

The semi-solid block is a solid block that is solid only in one side.

Solid sideRed channel value
Top65
Right66
Bottom67
Left68
  • It is solid 5,
  • you can walk on it 1,
  • you can’t slide on it 2,
  • it can affect your direction 3.

Warp block

The warp block warps the player into the coordinates given by the Red and Green channel.

To get warp color working:

  1. Use the test mode with Relative Coordinates,
  2. write down the coordinates you want to teleport to,
  3. divide the number by 8, round if necessary.
  4. Use the new numbers for the Red and Green value.
  • It is not solid,
  • you can’t walk on it,
  • you can’t slide on it,
  • it affects your direction.

Blocks recap

Remembering all blocks can be hard

TitleSolidSlopeFakeIceSnow and thin snowSandWindNo windWaterLow gravityQuarkTeleportWind gradientOne-way wind gradientSemi-solidWarp
is solid?~4~5
walkable? 1
slideable? 2
affects player?
affected by other blocks?

Next up

Once proficient with at least the blocks for new users. Head to Screens.

Notes

  1. You can walk on it until you are not wearing Giant Boots.  2 3 4

  2. You can slide on it if you are wearing Snake Ring.  2 3 4

  3. It can affect your position if a type of wind, water or low gravity is in the screen, this can be avoided with the use of the no wind block 2 3 4 5 6 7

  4. The slope can be not solid if the one or all adjacent blocks are missing. 

  5. The one-way block is solid only on one side, depending on the color chosen.