First Steps: How to create a simple game !!?

General discussion around Urho3D.

First Steps: How to create a simple game !!?

PostPosted by OMID-313 » 20 Oct 2016, 07:49

Hi everyone,

I just installed Urho3D on Raspberry Pi successfully, and now I can run the examples perfectly.

I searched for a tutorial for the very first steps of creating a project, but I didn't find one.
I opened the Editor.sh program, but I don't know how to use it!
So I hope you can help me here:

I want to design a very simple game: rotate object by keyboard keys.

So, I think this would be my list:

1. How to create a project?
2. How to import ready 3D models?
3. How to set a camera?
4. How to define keyboard keys for rotation of the 3D object?
5. How to extract executable game file?

I know that these questions are kind of silly and basic, but I'm a beginner in this without tutorial.
So your help and support would be highly appreciated.
User avatar
OMID-313
Some active
Some active
 
Posts: 58
Joined: 08 Oct 2016, 08:03

Re: First Steps: How to create a simple game !!?

PostPosted by S.L.C » 20 Oct 2016, 08:01

OMID-313 wrote:1. How to create a project?


I suppose that you simply link to the generated library from the 'lib' folder (something like libUrho3D.so.a). And point your compiler to the generated include folder. It all depends on how you've built it, if you're using some IDE. You can start by looking at the hello world example from the `Samples` directory. There's really not much to say here. Once you've built it you should be required to know how to handle third party headers and libraries.

Unless... you mean a project into the editor. In which case there's no such thing. You just create scenes that you can load from your code.

OMID-313 wrote:2. How to import ready 3D models?


You can use the provided command line asset converter/importer. Or simply use the provided editor which should've been built alongside the engine.

OMID-313 wrote:3. How to set a camera?
4. How to define keyboard keys for rotation of the 3D object?


Again, check out the examples and/or the documentation. You can learn a lot from there.

OMID-313 wrote:5. How to extract executable game file?


I'm not sure I really understand this. Unless you've never been initialized to how compilers work. In which case, there's not really much to be done here.

Or maybe you mean some executable generated by the editor. Which again, not something that the editor does. There's a 'player' so to speak which you can tell it to run a certain script in the command line if you've used scripting instead of C++.

Again, check out the documentation, check out the examples from the `Samples` directory in the `Source` folder if you're using C++ or their script version from the `bin/Data/Scripts` directory. And the rest should be straight forward.
User avatar
S.L.C
New user
New user
 
Posts: 14
Joined: 24 Dec 2014, 21:08


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests

cron