Sinrings.lua

This is the place for discussion and support for LunaLua and related modifications and libraries.

Moderator: Userbase Moderators

Forum rules
Before you make a topic/post, consider the following:
-Is there a topic for this already?
-Is your post on topic/appropriate?
-Are you posting in the right forum/following the forum rules?
Valentine
Silver Yoshi Egg
Silver Yoshi Egg
Posts: 2049
Joined: Wed Jan 01, 2014 6:50 am
Flair: evil device
Pronouns: She/They

Sinrings.lua

Postby Valentine » Tue Nov 15, 2016 4:21 pm

I WAS BORED SO HAVE AN API THAT MAKES LARRY RINGS GO IN SINE WAVES
Image

It comes with customisability options for easy use!!!!
sinrings.wave
the radius of the wave. Default is 4.
Example (when set to 8):
Image
sinrings.speed
how fast the rings go up (or down if you put a negative number). Default is -1
Example (When set to -4):
Image

YOU CAN EVEN COMBINE THEM OH BOY!

EXAMPLE CODE:
local sinrings = API.load("sinrings")

function onStart()
sinrings.speed = -4
sinrings.wave = 8
end
THAT'S ALL YOU NEED FOR THIS VERY ACCESSIBLE CODE

http://hastebin.com/xodalimope.lua
Put that code into LuaScriptsLib with the name sinrings.lua if you want to use this garbage

(I mean most of this was just made so I could learn how to make APIs so it's not all that fancy, but hey I posted it in case people wanted to use it for something)

Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari