Modding > Spelunky 2 > Community Tile Pack


A collection of custom Lua tiles from the Spelunky 2 Community
By:
getimoliver
Downloads:
111
Mod Type:
Mod Pack
Install Code:
community-tile-pack
Added:
4 years, 9 months ago
Last Update:
3 years, 2 months ago
Average Rating:
No Ratings

Details


Community-Tile-Pack

A collection of custom Lua blocks that can be used freely in other mods.

Includes a single level demonstrating each custom Lua tile.

How to use

  1. Copy the "Modules", "Checkpoints", and "Telescopes" directories into your own mod, at the root directory
  2. include one of the module in your Lua level file with requires. EG:

    lua local death_blocks = require("Modules.JawnGC.death_blocks")

  3. When loading your level, activate the mod. EG:

    lua death_blocks.activate(level_state)

  4. When unloading your level, deactivate the mod. Not all mods need to deactivate. EG:

    lua death_blocks.deactivate()

  5. Define the mod's custom tile codes in the level editor in Modlunky

    • In the "Level Editor" tab, find the "Add Tilecode" button in the bottom-right corner
    • type in the name of the custom tile code and press the button
    • Look in the Module's mod folders to see what tilecodes you need
    • Custom tile codes are defined with define_tile_code, EG: define_tile_code("fast_push_block")
  6. Look at dwelling1.lua and Data/dwell-1.lvl for examples on using requiresactivating the mods, and adding custom tile codes

Checkpoints work a little differently - I encourage you to check out the code in dwelling1.lua to see how to implement checkpoints.

Let me know if you need any help working with these mods.

Included Mods

  • checkpoints
  • one-way walls (up, down, left, & right)
  • one-way platforms
  • blocks that break with a key
  • locked exits with special key
  • custom death blocks
  • walls that break with a switch
  • floors that break going left or right over them
  • no-player blocks
  • player-only blocks
  • timed doors
  • inverse timed doors
  • blocks that break at certain money thresholds
  • faster bullets
  • fast push blocks
  • monster generator

Contribute your custom Lua tiles - DM me on Discord, or create a pull request in the Github repo

Downloads


Latest Download
Downloads Name Uploaded
47 Community-Tile-Pack-2.0.zip 3 years, 2 months ago
Past Downloads (7)
Downloads Name Uploaded
35 Community-Tile-Pack-1.5.zip 4 years, 7 months ago
9 Community-Tile-Pack-1.4.zip 4 years, 8 months ago
2 Community-Tile-Pack-1.4.zip 4 years, 8 months ago
3 Community-Tile-Pack-1.3.zip 4 years, 8 months ago
4 Community-Tile-Pack-1.2.zip 4 years, 8 months ago
5 Community-Tile-Pack-1.1.zip 4 years, 9 months ago
6 Community-Tile-Pack-1.0.zip 4 years, 9 months ago

Preview Images


Comments (4)


Please log in to leave a comment.

4 years, 9 months ago

@Marma63 I updated the description with some instruction on how to use the mods. I encourage you to look at dwelling1.lua to see how to implement everything.

4 years, 9 months ago

@getimoliver where do I copy-paste from, and where to?

4 years, 9 months ago

@Marma63 you will have to look at dwelling1.lua to see how you use the custom tiles, but it should be very easy to copy/paste.

4 years, 9 months ago

How do I use this?