Jump to content
  • Advertisement
Sign in to follow this  
dave

Is The Right Kinda Implementation I Should Be Aiming For

This topic is 4949 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, I'm writing my third engine for DX apps. I'm aiming to have it script driven. So absolutely everything is written in text files. The engine takes care of the rest. I'm going to write my own script language, for educational purposes. Should a script engine really cover everything, including things like window size etc? ace

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Should a script engine really cover everything, including things like window size etc?
A scripting language should cover whatever you want to USE it for.

If you want it so you can effectively write an entire game from your own language without ever touching DX/C/C++/VB/Whatever, then yes, something low-level like window-size is important.

If you only want to use it to script in-game sequences (e.g. NPC's and/or set-pieces of action) then low-level stuff like window-size is probably not that important.

Given this is your 3rd engine, I'd recommend you decide EXACTLY what you want it to be able to do before simply declaring "everything". A scripting language that covers everything is probably going to converge quite quickly on a near-complete language itself, which isn't that easy to implement. A cut-down/restricted scripting language for specific usage is likely to be easier to develop.

hth
Jack

Share this post


Link to post
Share on other sites
If you want to write everything in a scripting language, why not just dispense with writing the language, and write the game in something like Python?

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!