简体   繁体   中英

Unity: How would I go about creating a power up system into my endless runner game? [on hold]

我想在无尽的跑步者游戏(如地铁冲浪者)中实现加电系统,我想实现诸如硬币磁石,记分booster和大型headstart之类的增强功能。

This is very broad and we dont have any idea how your game looks like but for the headstart just start at that position? And give the player the score he would have at this position? Scorebooster ist easy just multiply the score you get by the powerup value (for example 1.5f) and cast it back to an int. Coin magnet is also pretty simple i guess, just make the coin collector trigger bigger?

Hope that helps and really try to give us more information next time as well as how you have tried it so far so we can see why its not working

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM