TopDownSwarmer

a top-down swarm shooter made in unreal engine 5.8 with blueprints only.

everything in topdownswarmer is blueprints, no c++, and i did all of it myself. most of it is simple, so this is just the two parts that took the most work to get right: the enemies and the game mode that runs each level.

the enemies

each orange ship is a BP_MyEnemy, and its movement is the ai move to node, which sends it after the player through the navigation system. the player is stored in a playerRef variable after a cast to the drone's blueprint, and a box collision with begin and end overlap events handles what happens when an enemy reaches you. when an enemy takes damage it swaps its material to MAT_Damage, which is the flash, and a custom event puts the original material back when a timer runs out. it also has an UpdateScore function that sends points to the hud and the game mode.

the game mode

BP_MyGameMode runs each level. it keeps track of the enemies still alive by pulling them into an array, and when there are none left it creates the level cleared widget, sets its title text by name and pauses the game. the main menu has its own game mode, BP_MyMenuGameMode, that creates the start menu widget when the map begins and switches the input to ui only, so the mouse is free to click the buttons.

click anywhere or press esc to close