This Blog Is Somewhat Re-Opened.

Modding

Rate this Entry
If I can, I will make my game open-source as much as possible. To start it off, here is a function I made for changing the tile/block:


It really is a simple function.

I then run this short piece of code to actually use the function:


Lastly, the variables I referenced (alpha, minimum, maximum) are created when the object (obj_mouse) is created. When obj_mouse is created, this piece of code runs:


The main reason this is about modding is because I am open to mods. I think mods enhance the experience. I mean, look at Minecraft. Notch does a terrible job at Minecraft, but mods make Minecraft, well, MINECRAFT!
Categories
Uncategorized

Comments

  1. aaaaaa123456789's Avatar
    That code, the first snippet... seems too overly complicated for what it should do to me... not to mention the variable names hurt my eyes...