|
Post by Minilop on Nov 17, 2020 20:03:54 GMT
A bit of a different tutorial today, rather than focusing on enemy sprite events here's a method for adding random item bonus drops...and flashy banner messages in your MPAGD games. This is something I first wrote for Cocoa and the Time Machine and then improved in 24 Hour Parsley People. What I wanted to achieve was... Player has defeated an enemy Randomly drop a bonus item (selected from 4 potential bonuses, weighted so that more powerful bonuses drop more rarely) Player collects bonus item Bonus item awards energy/points/whatever Banner flashes on screen Here's the tutorial with videos and fully commented code
|
|
|
Post by Packobilly on Nov 17, 2020 22:50:26 GMT
I have no words. This is spectacular!! Thanks a lot!
|
|
|
Post by Minilop on Nov 18, 2020 17:51:46 GMT
No problem, hope you are enjoying the tutorials, I'm slowly working my way through my old code, commenting it and making it generic enough that other people could easily use and adapt them.
|
|