Author Topic: Simple Unlimited Sprites  (Read 3520 times)

Offline Paul Smith

  • Mr. Polyvector
  • ***
  • Posts: 109
    • View Profile
Simple Unlimited Sprites
« on: 2014-Aug-14 »
Unlimited Sprites Effect


Just a simple bit of fun,  wanted it to look like this
but that's a bit out of my math skills,
so I stole the music instead.Its more like ULMs version without the scroller.
.

Runs better in a window, fullscreen shows update lines.
Amstrad CPC 6128, ATARI STE.
Acer  SW5-173 & AMD FX 8350/1050Ti

Offline Slydog

  • Prof. Inline
  • *****
  • Posts: 932
  • KodeSource
    • View Profile
    • KodeSource
Re: Simple Unlimited Sprites
« Reply #1 on: 2014-Aug-14 »
Very cool!  And very smooth!   :good:
My current project (WIP) :: TwistedMaze <<  [Updated: 2015-11-25]

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3918
    • View Profile
    • Space Fractal
Re: Simple Unlimited Sprites
« Reply #2 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.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation and The beagle Jam.

Offline Hemlos

  • To boldy go where no pixel has gone before!
  • Global Moderator
  • Prof. Inline
  • *******
  • Posts: 1639
  • Particle Hawk
    • View Profile
Re: Simple Unlimited Sprites
« Reply #3 on: 2014-Aug-15 »
Just a simple bit of fun,  wanted it to look like this
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.
Volume_of_Earth(km^3) = 4/3*3.14*POW(6371.392896,3)

Offline Hemlos

  • To boldy go where no pixel has gone before!
  • Global Moderator
  • Prof. Inline
  • *******
  • Posts: 1639
  • Particle Hawk
    • View Profile
Re: Simple Unlimited Sprites
« Reply #4 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
Volume_of_Earth(km^3) = 4/3*3.14*POW(6371.392896,3)

Offline Paul Smith

  • Mr. Polyvector
  • ***
  • Posts: 109
    • View Profile
Re: Simple Unlimited Sprites
« Reply #5 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.
« Last Edit: 2014-Aug-15 by Paul Smith »
Amstrad CPC 6128, ATARI STE.
Acer  SW5-173 & AMD FX 8350/1050Ti