Shared Mechanics

If you have some neat mechanics you want to share, feel free to post here. Please make sure to include the written code or blocks so people know what you are referring to.

SadiQ asked me if I could calculate spring mechanics without using physics blocks. Here is what I came up with:u = current velocityv = new velocitys = stretch of the spring (distance from the center position)t2 = the time squared, although I just put in my own value200 is the center300 is the y starting position of the actor

It is set up like that because I wanted to pull apart the equation to make sure it was written correctly.

@LIBERADO: I think it should work on all the targets, but I only tested them on flash and windows. In windows I can get about 20 -25k particles before the framerate starts to drop, but I guess the numbers must be lower on mobile.@colburt: Yeah mate, Liberado is a monsters when it comes to making cool stuff. MdotEdot is highly skilled when it comes time to innovate (especially in the multiplayer aspect) and ceosol is a master of prototypes (his list of games is huge!).

The chat room gets filled with interesting stuff when we have some time to kill

Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

Here's a really quick daily reset. You can use it to reset scores or have a bonus item, RNG prize wheel, etc. The 86400000 is for one day. If you want it to be 2 days, multiply by 2. If you want one hour, divide by 24. The "set dailyscore to 0" part is what you would change if you wanted anything else to happen at the reset.

Hi everyone this is a block setup for a boomerang effect. the charge effect is a little buggy cause sometimes the boomerang doesn't die when it reaches the player. I will make it better with more experience but this is the best I can do atm. the hold attack is to disable player movement while controlling the boomerang.