- Home /
How to make shops?
Hello I'm having a hard time trying to figure out logic/code for making shops in my 3D platformer. There is a coin currency, but my coins (although that can be collected) do not have any functions outside of collecting them.
What is the solution commonly used for NPC shops?
I can't figure out how to do shops! I'm thinking an NPC that shoots out a prefab from a list depending on how many coins you have when you select something?
Answer by JusticeAShearing · Jul 06, 2014 at 03:57 PM
Well, I have found tutorials about shops and money and coins, so maybe you'll find them helpful.
Please consult the rest of the playlist if the content is not enough, most points are covered in the first hundred videos.
You'll want parts 95 to 99, which concern making a shop, and part 8, which concerns basic money.
Playlist: https://www.youtube.com/playlist?list=PLB4DA4F8BDC3B82EE&src_vid
Money: https://www.youtube.com/watch?v=JV2zY4L4ivg∈dex=10&list=PLB4DA4F8BDC3B82EE
Shop: https://www.youtube.com/watch?v=7sL1hRX3ozU∈dex=97&list=PLB4DA4F8BDC3B82EE
https://www.youtube.com/watch?v=2PNwBZYDzzU∈dex=98&list=PLB4DA4F8BDC3B82EE
https://www.youtube.com/watch?v=n2ERy1k_Qxw∈dex=99&list=PLB4DA4F8BDC3B82EE
https://www.youtube.com/watch?v=ddN7tUrKPHU∈dex=100&list=PLB4DA4F8BDC3B82EE
https://www.youtube.com/watch?v=hMsECRE7Sxs∈dex=101&list=PLB4DA4F8BDC3B82EE
I hope that he helps you. I didn't make these.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
ai navigation help 0 Answers
zombie ai script 1 Answer
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
Make player not be seen by AI, when player in foilage and shadows. 1 Answer