Skip to content

Woukie/MapImageObjects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MapImageObjects

You can finally add images from the web to your maps! Images can be placed and configured extensively in the editor with the editor mod (MapImageObjectsEditor).

Place Any Image!

image

Change image properties

colour

Breakable Images

breaking

Backgrounds!

(Make sure to set these as a bit transparent so that bullets render over the top (I can't fix this)). background

Watch me get destroyed by a bot

fight

[WARNING] This mod uses urls to load images while you play the game! ⚠

  • If you are a map maker, host the files somewhere where the hosters don't mind you doing this.
  • Also, make sure the links you use are permanent!

Features

  • Collision matches image
  • Physics images
  • Breakable images
  • Editor tools
  • Shadows match image
  • Lots of object properties!
  • Caches images as they load

Installation

The mods will automatically install in the Thunderstore mod manager.

There are two mods: One for map-makers and one for users. (If you are a map-maker, you will need both). Both mods can be found in the releases on the GitHub.

If you do install manually, make sure to also install the related dependencies depending on which one you go for:

MapImageObjects

  • unbound
  • mapsextended

MapImageObjectsEditor

  • unbound
  • mapimageobjects
  • mapsextended
  • mapsextended.editor

FAQ

I can't see bullet particles on my background!

Make it a bit transparrent, some good values are

  • R: 212
  • G: 212
  • B: 212
  • A: 128

My transparent image turned into a silhouette!

Loading images with transparency (the 'A' channel) lower than 128 do this. I have no idea why.

Weird shadows/collision

The shadows are determined by the collision, and Unity generates collision based on the texture. If the texture has a low resolution (like with pixel art), Unity will generate lower-resolution collision. It's a pain, but the solution is to upscale the image to a higher resolution or create the collision manually using invisible objects.

How do I share my maps?

Here's a good place to learn. But the gist is to zip up all your maps together with a manifest, readme and an icon, then upload to Thunderstore.

Help there is bug

Submit an issue on GitHub!

Acknowledgements

  • willuwontu, I yoinked the color property code from WillsWackyMapObjects