Game Information
Author:
TheExDeus
Rating:
Unrated
Type:
Example
Genre:
function example
Submited:
2013-02-06 05:17:26
Download:
Source

Active Users
22 guests

Recent Games

Curve function example

Curve function example
This is an example for the curve functions. It shows how to use Bezier curves, splines and continuous curves/splines. It also shows a cool jellyfish like example which is heavily based on an example that was created by LSnK for his Curves extension for GM.

Controls:
Left arrow - move one room back
Right arrow - move one room forward

In continues spline screen:
Left button - add point on press
Right button - add point on hold (so spamming)
Shift - render the optimized version
Alt - render Bezier curve instead of Hermite spline

In jelly example:
Left button - Make it move to mouse
Up arrow - Increase detail
Down arrow - Decrease detail
Screenshots:
Screenshot

Comments
Wow that looks gorgeous ill have to take a look at this later today.
Posted by Goombert on 2013-02-06 12:58:13#1
Your game no longer works, it throws a syntax error because your trying to set a built in variable called "time", this is probably related to forthevin refactoring the room speed.
Posted by Goombert on 2013-03-17 01:48:45#2
@Robert
I think 'time' was a variable before forthevin joined.
Posted by DarkAceZ on 2013-03-25 19:39:17#3
Time wasn't a built-in variable. And I probably used it instead of current_time anyway (as we don't have that implemented still). Will fix probably.
Posted by TheExDeus on 2013-03-28 16:12:15#4