I’m using Urho3D on Raspberry PI. And here is how I use it:
- First I import some desired models with command line
- Then I write a script code mycode.as like the examples (https://github.com/urho3d/Urho3D/blob/master/bin/Data/Scripts/04_StaticScene.as)
- Finally, I run the code with the following command:
But recently I faced some hangs and freezes on Raspberry Pi while running some games, which popped up some fundamental questions for me:
Is this approach the correct way of running the game?
Shall I build or compile or render something before running the code?
Is it optimized to run the mycode.as file!? Or shall I generate another file?
What should I do in order to reduce the load of online real-time rendering of the game? Does building/compiling/rendering the game (before running it) makes it easier and lighter to be run afterwards?
When making animations with 3dsmax, we use high-end computers to design the animation and render it. After that, any low-end and simple computer can play the animation. Now can we use a similar approach? Can I build/compile/render the game in a high-end machine and run the game in a low-end machine?
Sorry for asking so many questions.
Thanks for your time and support.