How to code monster loot drops

4

Stats

4,166 visits, 6,203 views

Tools

Translations

This tutorial hasn't been translated.

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Published on 25 Apr, 2014. Last updated 19 Feb, 2019

I've written a tutorial for Gamedev Tutsplus.

Here is the teaser for the article :

In RPGs, platformers, and many other types of game, one common mechanic is for enemies to drop items the moment they are killed. In this tutorial, you'll learn a few ways to implement those drops, whatever your coding language or tool is.

All of the examples that illustrate the article are made in Construct2 and the capx files are commented and can be downloaded from the article.

(The "Download attachment" button on the right side of the article)

Notice it is aimed at intermediate users, but hopefully, beginners can find it useful to a certain extent. Nevertheless it's not a "follow the recipe" kind of article.

I hope you can find this article and the examples useful.

  • 0 Comments

Want to leave a comment? Login or Register an account!