1 min
The tenth CGD blog post about Don’t Walk By
This week I implemented the bus drop off system.
At the start of every level a bus pulls up outside the building pawns spawn from the bus and the bus leaves. The first part of this was adding a tile to the level builder which dictates where the bus should stop and the pawns to get off.
Then when a level is loaded the position of the first bus stop tile is found in the PawnManager script. The spawn position of the pawns is then set to this position. The VehicleSpawning system is then used to create a bus and set its position to the bus stop’s position. The vehicle spawning system makes a vehicle use it’s entrance animation on startup causing the bus to “drive” to the pawn position. Once there the bus goes into its idle animation whilst the pawns spawn. Once the pawns have finished spawning then the bus exits, causing the exit animation to play.
Subscribe to this blog via RSS.
C++ 30
Directx12 11
Mario kart 11
Commercial games development 15
Unity 15
Low-level programming (19) C++ (30) Text based adventure (5) Ex-machina (9) Game engine programming (11) Directx12 (11) Mario kart (11) Land of gold (5) Audio visual production (1) Commercial games development (15) Unity (15) Don't walk by (15)