Jump to content
  • Advertisement
Sign in to follow this  
fletschge

Unity dynamic contents - scripting language?

This topic is 4028 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi you guys I wonder how to implement dynamic contents in cpp/OGL. I've been told to consider lua, but I have no idea where to begin at. the idea I'm looking for is to store camera movements, objects, basically procedures in scripting files. how does the community handle such problems? What about professional games? I hope you understand my question, otherwise ask me please. greetings

Share this post


Link to post
Share on other sites
Advertisement
How dynamic are the contents? Must they be changed at runtime? In-between runs? Should they be edited with a text editor, or is a map editor better?

Depending on your answers, I would suggest a text-based description language (lua/python/XML), an external binary file, or hardcoding the values in the program.

Share this post


Link to post
Share on other sites
I'd like to store actions/procedures like movements, waypoints or object locations in textfiles. The reason I want this is that I don't want to hardcode everything in my sourcefiles. For example: I got a lot of spheres in my OGL project, but they have to be dynamic -> location, size, whatever other attribute in files. In another script file, lets assume it contains camera routines, I want the camera to fly around an object. For that, I'd like to have THIS code in a script file.

I hope you're able to read my text, sorry for the bad english.


greetings

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!