Know another language? Translate this tutorial!

How to code monster loot drops

Favourite 13 favourites
Tutorial written by KyatricOriginally published on 25th, April 2014

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.

Unlock your full gamedev potential

Upgrade to the Personal Edition of Construct 2, it has way more features and won't holding back from making money and using your full creativity like the free edition does. It's a one off payment and all Construct 2 editor updates are free for life!

View deals

Plus, it's got a lot of additional features that will help you save time and make more impressive games!

Congratulations on finishing this tutorial!

Did you learn a lot from it? Share it now with your friends!

Share and Copy this Tutorial

You are free to copy, distribute, transmit and adapt this work with correct attribution. Click for more info.


ciscogee 471 rep

Nice, thanks, tut explains alot :)

Saturday, April 26, 2014 at 12:01:10 PM
AbelaNET 14.9k rep

Thanks for sharing. Liked it. Very detail.

Saturday, April 26, 2014 at 8:25:40 PM
veeru5656 1,968 rep

thanks nice tutorial

Tuesday, April 29, 2014 at 1:21:15 PM
K969 1,533 rep

Yet another fine tut from Mr K ;o)

Wednesday, April 30, 2014 at 11:23:02 AM

Leave a comment

Everyone is welcome to leave their thoughts! Register a new account or login.