Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

How can one add a scoring system to their game?

A topic by Kefalas Studios created 13 days ago Views: 74 Replies: 1
Viewing posts 1 to 2

Hi everyone. I read the fsm and scripting parts of the wiki multiple times yet for whatever reason i just can't understand how to have a scoring system where you get points for killing enemies and stuff.  Can anybody tell me what exactly i need to do to add a scoring system? Thank you for  your time.

You need to prepare global variable for score system in map script, for example. Killing enemies should increment your global variable with FSM.

And where you supposed to show the exact score - it's up to you. On HUD or in the end of level, both options is possible.