Jump to content
  • Advertisement
Sign in to follow this  

Unity Full script based game engine

This topic is 2542 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

I mean the one that handle input processing in the script too. I heard about unity and udk. But I dunno how they work/if they handle input in script. I want to know if there's an engine where making games is just a matter of writing scripts and run the .exe file. Do you know any such engine?

Share this post


Link to post
Share on other sites
Advertisement
Scripts in Unity and UDK are processed directly by the IDE; just like any other programming environment. The difference is the environment itself. Yes, you have control over user input, but the graphics, sound, and input framework are set up by the engine, so you don't have to do alot of pointless initilization. Does that answer your question?

Share this post


Link to post
Share on other sites
Thanks, Id also like to know how the resource are loaded. Do they generate some resource-to-load-list or you do it inside the initialization script? since scripts are resource too. Anyway the unity site doesnt tell the overall mechanism of their engine. Do you know any useful link? thx :D

Share this post


Link to post
Share on other sites

Thanks, Id also like to know how the resource are loaded. Do they generate some resource-to-load-list or you do it inside the initialization script? since scripts are resource too. Anyway the unity site doesnt tell the overall mechanism of their engine. Do you know any useful link? thx :D


For Unity, I would suggest just downloading it and going through a few of the tutorials. After an hour of tutorials, you will be able to answer more questions than hours of asking on this forum.

The short answer is, Unity loads resources from an "Assets" folder, and automatically knows how to import the most common file formats (Maya, PSD, image formats & fonts) into a useable format for the engine. You don't have to load anything via script, and all of your "code" (including input & game logic) are handled through compiled C# scripts (or Javascript, if you're a masochist).

Share this post


Link to post
Share on other sites

The short answer is, Unity loads resources from an "Assets" folder, and automatically knows how to import the most common file formats (Maya, PSD, image formats & fonts) into a useable format for the engine. You don't have to load anything via script, and all of your "code" (including input & game logic) are handled through compiled C# scripts (or Javascript, if you're a masochist).


That is also true with UDK although I can't remember the name of the folder. I believe it is also called "Assets". If you do decide to use UDK, the content manager will prove it's self as useful when importing files.

Share this post


Link to post
Share on other sites


For Unity, I would suggest just downloading it and going through a few of the tutorials. After an hour of tutorials, you will be able to answer more questions than hours of asking on this forum.



I agree in general, but I would also like to add that the three tutorials Unity offers leave a lot of blanks. There are a couple of excellent Unity tutorial books out there. One of my favorites is this one: http://www.gamedev.net/page/books/index.html/_/programming-1/game-programming-9/game-engines-41/unity-game-development-essentials-r772.

It is called "Unity Game Development Essentials by Will Goldstone.

Share this post


Link to post
Share on other sites

I mean the one that handle input processing in the script too. I heard about unity and udk. But I dunno how they work/if they handle input in script. I want to know if there's an engine where making games is just a matter of writing scripts and run the .exe file. Do you know any such engine?


Have you tried coding JS / HTML5 games? Using javascript and the canvas? The engine would be your webbrowser :)
I'm totally in to js games at the moment. There are some performance issues but for small games that is not a problem.

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!