Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

How exactly do I make a custom function, such that I can use it in the ssl files?

I added some steps to the bottom of this article.  Basically, you can navigate to the assets/geometry_elements folder to add some shape definitions and then create levels in an existing .ron file.

i mean how do i make functions that i can use INSIDE the basic_shapes file?

like i mean a function that takes in some inputs and returns a numerical value

Unfortunately that is still tbd, so right now you would have to just copy+paste.  I’ll be adding a mechanism for that soon since I’ll need to do the same for my better intersection functions anyway.

alright, thanks for letting me know, that will be huge when finished though