Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by LandoBaggins · Dec 24, 2015 at 03:57 PM · c#animationshoprpg-gamelooting

Need Help getting started with RPG

So I'm starting a medieval RPG with a friend. We've been working on it for a few months and only have the plot and story and some assets/props. We really aren't far at all. We have no idea how we are going to do shops, get sounds and music, optimize the game to run well, have a looting system with chests and enemies, have different weapons and Armor to switch out. We need help with all those things so if anyone can help that'd be great

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by lloladin · Dec 24, 2015 at 04:43 PM

thats alot of things you are asking about maybe you should take one thing at a time but i can give you a few links to get you started

Inventory

https://www.youtube.com/watch?v=ZW6RCKVnqT4 this is a pretty long tutorial on how to make a custom invetory system but it works and taught me the basic

now for enemies and basic of rpg my farvorite unity tutorial youtuber have some tutorials

https://www.youtube.com/user/gamesplusjames

getting sounds and music well unless you want to make it yourself which i myself finds pretty difficult you would have to find it around the net if you are planning on ever making money on the game you should read copyrights etc on things that you implement into your game also if you want to pay for music and/or sounds here are some free sites http://gamedev.stackexchange.com/questions/14/where-can-i-find-free-music-for-my-game

equipment and armor and shops i personaly figured it out after watching the tutorial on invetory system

optimizing thats a pretty big subject and you can spend hours reading up on it but a few things you should watch out for especially if you are making the game for Phones, tables

  • Update function

  • unnecessary code running the background

  • creating and deleting alot of objects is bad recycling is better

  • importing grahpics (Mostly 3d Objects)

their are probly more these are just a few that i personally have had problems with

hope this helps you to get started happy holidays :D

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image LandoBaggins · Dec 24, 2015 at 04:54 PM 0
Share

Thank you alot for the feedback and fast response! That'll help a lot, I'm new to the rpg coding stuff. $$anonymous$$aybe another question would be, do you know how to have swappable Armor and weapons? Like have them visually change on the character, or is that in the inventory video? Happy holidays to you too!

avatar image lloladin LandoBaggins · Dec 24, 2015 at 05:18 PM 0
Share

i made it once not sure if i can explain though but i can give it a shot :D

i made some GameObjects on my player called thing slike Helmet, chest, weapon1, weapon2 etc then i made a script with with Variables called helemtSlot, chestSlot , weaponSlot1 etc like this

 Public GameObject helmetSlot
 Public GameObject chestSlot
 Public GameObject weaponSlot1

the i add the script to my player and and drag the slots onto the variables in the editor so the variable helmetSlot is = Object helmetSlot and variable chestSlot is = object chestSlot etc

then i make some ugly graphics lol and make sure they fit my player so lets say youre player is 10x16 px tall and hes head is 4x4 px theni would make sure that my graphic is 4x4 px so that then i instantiate it on my slot it fits perfectly i think you get what im trying to say .-.

so now you have some slots to instantiate your weapon and armor in now we need to make the script that tells if the items are equiped now to make it visually appealing you would need to understand how to make an inventory system first so we will just do with if gameObject is = null or gameObject is != null something like this

 public GameObject equipedHelmet
 public GameObject equipedChest
 // etc
 
 if (equiped helmet != null)
 {
 transform pos = gameObject.GetComponet<otherscript we made>().helmetSlot.transform;
 GameObject helmet = (Instantiate(equipedHelmet, new Vector2(pos.x, pos.y), Quaternion.identity));
 helmet .transform.setParrent(gameObject.GetComponet<otherscript we made>().helmetSlot.transform);
 }
 // if the no item is equiped and the slot 
 else if (equipedHelemt == null &&  gameObject.GetComponet<otherscript we made>().transform.GetChild(0) != null)
 {
 destroy (equipedHelmet);
 }

hope this makes sense else i gues i have failed lol

avatar image LandoBaggins · Dec 24, 2015 at 05:42 PM 0
Share

Thanks man I'll try this out once I get done with modelling!

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

60 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Having problems with making a Navmesh Agent stop and play an attack animation 0 Answers

How to create saving slots that can be loaded? 2 Answers

Animation of PlayerCharacter stucks in odd poses after game restarts 0 Answers

Animation delay from walk to idle 1 Answer

Animation Control by Float 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges