VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



API Gaming Techniques Vol. 1 Fast Sprite Manipulation

by KRYO_11 (20 Submissions)
Category: Games
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (3 Votes)

I will be creating a series of API Gaming tutorials to help newer game programmers to get started, so I searched around existing tutorials to try to make something new.
Direct X is by far the best way to go in creating games in VB but API is very effective, and easier to learn. So hopefully this will be helpful and informative to some people.
In this example I've placed a couple Starcraft ship sprites into it. These sprites will track your mouse and face the direction of your mouse. This is useful in that it teaches multiple techniques at once. This includes transparent painting, loading bitmaps into memory for fast painting, painting from a sprite strip, determining distance between 2 points, determining the angle between points (something I wasn't able to find here at vbcoders.com, and a lot of useful math functions.
I spend most of my time programming for commercial applications but I will try to check this as often as I can. So if anyone needs help or explanations post a comment and I'll try to respond as quick as I can. Also I've commented nearly every line of this project so hopefully most things should be very understandable.

Rate API Gaming Techniques Vol. 1 Fast Sprite Manipulation

Download API Gaming Techniques Vol. 1 Fast Sprite Manipulation

Download API Gaming Techniques Vol. 1 Fast Sprite Manipulation (148 KB)

API Gaming Techniques Vol. 1 Fast Sprite Manipulation Comments

No comments have been posted about API Gaming Techniques Vol. 1 Fast Sprite Manipulation. Why not be the first to post a comment about API Gaming Techniques Vol. 1 Fast Sprite Manipulation.

Post your comment

Subject:
Message:
0/1000 characters