FyroxEngine / Fyrox

3D and 2D game engine written in Rust
https://fyrox.rs
MIT License
7.49k stars 339 forks source link

New batteries added for game development. #551

Closed Riddhiman007 closed 8 months ago

Riddhiman007 commented 8 months ago

A new subcommand in fyrox-template has been added.

Description

New subcommand is added- template. This subcommand contains some basic scripts required for game development. It is not updated like in Unreal but can work. Scenes are not added because large files are there. It would be added soon or the process of creating the scene will be posted in book or blog.

How to use

fyrox-template templates --name Player

P. S

Testing is not done. Please test.

Riddhiman007 commented 8 months ago

Oops. Sorry only player script is added that is currently in development. It contains both third person and first person camera but no scenes are there. So, how nodes are attached and which animations are used, only I know.

mrDIMAS commented 8 months ago

fyrox-template is the wrong place to add scripts. There's fyrox-scripts project for that (https://github.com/FyroxEngine/Fyrox/tree/master/fyrox-scripts).

Riddhiman007 commented 8 months ago

See, for accessing fyrox scripts, the developer has to access your repo which he may don't know that you've a dir which contains some scripts. This is a tedious work to copy and paste the code but accessing from fyrox template, it is easy to edit