Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Quick questions about masks

A topic by ThatTwoGuy created Sep 05, 2020 Views: 173 Replies: 1
Viewing posts 1 to 2
(1 edit)

Just bought the engine. Not a trained programmer so I can't exactly speak to the usefulness of it so far, but the numbers in the top left while running look promising! Two questions about the masks of slopes and solid objects

For solid masks: does it really matter where the origin is? I realize that it's probably in the top left just to make placing easier, speaking from the experience of having used one with a middle center one for much too long, I just want to be sure on this count.

On to more substantial questions though: I noticed that the slope just uses a rectangular mask rotated diagonally in the room editor. While this certainly does work, I would like to know if there would be too many problems replacing it with a triangular mask instead? Just because rotating a box every time you want a slope seems like a bother for level editing. (Unless there's some keyboard shortcut to rotate the object 45 degrees and I'm ignorant of that.)


Developer

Hi! The sprite center is of no consequence! Do whatever you like! You can simple copy paste the object if you don't want to rotate it over and over. Alternatively, you can use a triangular or really any sloped mask and that will work fine!