![OpenGL Tips & Tricks](/images/marekKnows/openGl.png)
OpenGL Tips & Tricks
This VMK series uses the 3D OpenGL Game Engine to present different tips and tricks that you can use when creating your own computer games.
0: Introduction
![Introduction Introduction](/images/marekKnows/openGl/openGl_0.jpg)
A brief description of what is to come in this VMK series.
1ab: Sprites
![Sprites Sprites](/images/marekKnows/openGl/openGl_1ab.jpg)
I show how to setup the game engine and how to prepare the texture image which I'll be using to render snowflake sprites. Then I present a way to randomly generate and move the snowflakes so that it appears as if it is snowing.
1cd: Car Sprite Control
![Car Sprite Control Car Sprite Control](/images/marekKnows/openGl/openGl_1cd.jpg)
I demonstrate how to create a sprite class that can be used to both control and render sprite objects to the screen. Then I demonstrate how to create a sprite class that can be used to both control and render sprite objects to the screen.
1ef: Animated Sprites
![Animated Sprites Animated Sprites](/images/marekKnows/openGl/openGl_1ef.jpg)
I demonstrate how to animate a police car sprite. Using the space bar you'll be able to turn the car's lights on or make them flash. Then I demonstrate how to animate a running man sprite. All the animation parameters are explained so that you can make him run faster or slower.
2: PNG Textures
![PNG Textures PNG Textures](/images/marekKnows/openGl/openGl_2.jpg)
The code written in C++ VMK 24 PNG Loader is carried forward into this VMK where the texture manager is expanded to include the ability to use PNG texture files in the game engine.