Sprite Control Help

Blitz3D Forums/Blitz3D Beginners Area/Sprite Control Help

How would you load a sprite and make it so that it has 2D co-ords like the quad sprites but not loading them as quad sprites?

Hu? Quad sprites? What's that. Thought something is a quad OR a sprite, but not both. However, I think you mean a sprite that can be used like an image, with 2D screen coords?

A very simple example to get the formula:
http://www.blitzbasic.com/codearcs/codearcs.php?code=321

A useful library of many 2d in 3d functions:
http://www.blitzbasic.com/codearcs/codearcs.php?code=456

There are much more similar solutions, search for "2D" in "misc 3D" sources in the code archives.


A useful library of many 2d in 3d functions:
www.blitzbasic.com/codearcs/codearcs.php?code=456



That's what I'm using. Sprite Control. On your first suggestion, do you know how to make it so that it is not attached to the mouse? I want to be able to press the arrow keys or WSAD and get it to move at 2D coords.


Hu? Quad sprites? What's that. Thought something is a quad OR a sprite, but not both. However, I think you mean a sprite that can be used like an image, with 2D screen coords?


That's what Sprite Control calls them.

Nevermind about the example! I got it. LOL.