GLBasic forum

Codesnippets => Code Snippets => Topic started by: Paul Smith on 2014-Aug-14

Title: Simple Unlimited Sprites
Post by: Paul Smith on 2014-Aug-14
Unlimited Sprites Effect


Just a simple bit of fun,  wanted it to look like this http://www.youtube.com/watch?v=8hvzo_swB5s but that's a bit out of my math skills,
so I stole the music instead.Its more like ULMs version without the scroller. http://www.youtube.com/watch?v=gabkyez7Txk.

Runs better in a window, fullscreen shows update lines.
Title: Re: Simple Unlimited Sprites
Post by: Slydog on 2014-Aug-14
Very cool!  And very smooth!   :good:
Title: Re: Simple Unlimited Sprites
Post by: spacefractal on 2014-Aug-14
the term about with unlimited sprites is of course fake. All its does uses virtual screens, but fun effect trought =D.
Title: Re: Simple Unlimited Sprites
Post by: Hemlos on 2014-Aug-15
Quote from: Paul Smith on 2014-Aug-14
Just a simple bit of fun,  wanted it to look like this http://www.youtube.com/watch?v=8hvzo_swB5s but that's a bit out of my math skills,

Those are beziers curves, i wrote a set of functions for the different types of beziers functions.
For both 2d and 3d, you might find it useful, you should be able to find it in the code snippets if you do a search from the root of the forums, for bezier.
Title: Re: Simple Unlimited Sprites
Post by: Hemlos on 2014-Aug-15
Here is a link to the thread and the project
Basically the function populates vector arrays for you...it does all the math.

http://www.glbasic.com/forum/index.php?topic=3839.0

PS. if it causes the compiler to complain let me know, i will update the project
Title: Re: Simple Unlimited Sprites
Post by: Paul Smith on 2014-Aug-15
Learn something new every day, never knew they were called Bezier Curves.
Will try and make something with your code.
Hopefully unlimited Sprite 2 will be releases.