じ☆ve冰风 发表于 3 天前

Help for Mining, Digging, Secret Passages and Moving Stuff (Demo Included)

This post is for those of you that have possibly wanted to accomplish being able to mine something or dig something as well as have hidden holes in the ground or a hidden staircase. I am not the best at this stuff since I am relatively new to it all, but I have had a few successes in reading tutorials, support topics, and manipulating events to achieve my desired results, which I have decided to share with all of you here.

If you download the demo you will see the following order of items available for you to try out as well as manipulate into your own games.

First, I wanted to be able to mine a rock for ore. The event checks for your Pick Axe and won't let you mine until you have one. Fortunately for you, there is one on the ground. Break the rock with it, and gather your ore!

Second, I wanted to be able to dig a spot to possibly find something. I did not go so far as to make that something appear on the map, but just to appear in your inventory. I am sure there is a way to dig up a treasure chest, and I will attempt to mess around with that another time. The event will check for your shovel, and again, luckily for you, there is one nearby. Dig away!

Next, I wanted to implement the mining thing to reveal a hole or secret passage in the ground. Again, the pick axe is needed for this, but you should already have that from the first bit. The hole you reveal also contains an event to transfer the player to a different location, and a little sound effect to signify that you fell in the hole.

Lastly, I wanted to be able to push an object (like a statue) one tile over to reveal a hidden staircase underneath it (something like you would find in Zelda). The player approaches and moves the object by actioning it and bam! hidden staircase that will then transfer you somewhere. Now if you move to a different map and come back, the staircase will remain revealed. I lied about that. I have fixed the event and will update the demo soon. 

Now as I mentioned earlier, I am still fairly new to all of this so some of the events might be a bit messy/sloppy, and if so, please let me know how I can clean them up. Furthermore, I am really hoping that (being as this is my first attempt at a help topic) that I haven't done anything wrong or stepped on toes and what have you. If I have, please let me know also, as it is never my intention.

I hope this helps whoever decides to read it and don't be afraid to use the events and manipulate them to do what you want them to do in your games. If further explanations are needed or the link doesn't work let me know. I can also update this with step-by-steps and screenshots if necessary/requested.

Here is the demo file download so you can see the events and such and how it all works:

https://www.mediafire.com/?tg33hhic4sh6nxc  <- must have RTP for this to work!

Thanks!

Credits:

I used RyokuHasu's ladder example (found here: http://forums.rpgmakerweb.com/index.php?/topic/44998-moving-an-object-to-reveal-a-staircase/) and altered it to fit the need of moving a statue.

Any and all beginner tutorial writers as they have been a massive help for everything I have attempted to accomplish.

All the people here on these forums for the immense amount of support and troubleshooting help as well as idea sharing that has inspired me to try new things.


本贴来自国际rpgmaker官方论坛作者:DoctorMolotov处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/help-for-mining-digging-secret-passages-and-moving-stuff-demo-included.45866/
页: [1]
查看完整版本: Help for Mining, Digging, Secret Passages and Moving Stuff (Demo Included)