filmov
tv
First Games in C++: Krazy Karts (v0.80) - Powerup Spawners
Показать описание
A video in a series, finishing with my next game, Krazy Karts!
This short video shows the addition of powerup "spawners".
Each map will have a number of locations where powerups "spawn". I've currently set the powerups to spawn about 5-10 seconds after a powerup is taken from the spawning location.
The powerups that are spawned are currently randomised - the video just so happens to show two "homing-in missiles" being generated at the same location in a row, but that is by chance.
I must admit that it's getting tricky to manage the way I've set up pointer and resource management. Something to think about...
Credits:
This short video shows the addition of powerup "spawners".
Each map will have a number of locations where powerups "spawn". I've currently set the powerups to spawn about 5-10 seconds after a powerup is taken from the spawning location.
The powerups that are spawned are currently randomised - the video just so happens to show two "homing-in missiles" being generated at the same location in a row, but that is by chance.
I must admit that it's getting tricky to manage the way I've set up pointer and resource management. Something to think about...
Credits: