rust-gamedev / rust-game-ports

Official host of games ported using Rust game libraries.
Other
122 stars 7 forks source link

Port "Build Your Own First-Person Shooter in Unity" to Fyrox #141

Open 64kramsystem opened 1 year ago

64kramsystem commented 1 year ago

The Build Your Own First-Person Shooter in Unity book provides assets and instructions to build an FPS in Unity; Firox, being the closest framework to Unity, would be ideal.

Confirmed by MrDIMAS that Fyrox/ed provide the APIs/tools required to do such port.

DuckEater54 commented 1 year ago

Okay. For the most part, the PDF can be copied word for word in paragraph areas. I've got a lot of spare time. Ill do as much as I can.

DuckEater54 commented 1 year ago

Could I use MDBook for this?

64kramsystem commented 1 year ago

To be clear: with Port "Build Your Own First-Person Shooter in Unity" to Fyrox I mean porting the whole game. The book is a mean to building a game - if the game is fully ported, surely, having the book also "ported" would be cool, but the task is porting the game.

erlend-sh commented 1 year ago

Couldn’t the tutorial be adapted to the existing Station Iapetus FPS game?

64kramsystem commented 1 year ago

Couldn’t the tutorial be adapted to the existing Station Iapetus FPS game?

The tutorial in the book? I think that the Unity editor very likely has functionality that at least Fyroxed doesn't have (I guess lightning, animations, etc.), and the book is based on it (which is good, as using an integrated environment is modern Fyrox, but it's unclear how to map missing functionalities).

Making a tutorial about building Station Iapetus should be very interesting :star_struck: It has been based with an old version of Fyroxed, so as a project, it's definitely feasible. I think it doesn't fit in Rust Game Ports, but it'd be very inspirational for the community. I don't know how much needs to be changed in the codebase, as it's been written via Fyroxed, but it was long ago, so the APIs may have changed considerably (or maybe not - need to ask to MrDimas).

64kramsystem commented 1 year ago

Ah... data formats. This could be one of the biggest hurdles :grimacing:. Probably, it makes sense to have a chat with MrDimas - the book is free, so he could have a quick look to asses if this is (currently) feasible.

mrDIMAS commented 1 year ago

at least Fyroxed doesn't have (I guess lightning, animations, etc.)

This functionality exists in the engine for ages already. There is even an animation blending state machine editor, like Unity's Mecanim.

Ah... data formats.

As for assets - the engine supports FBX (as Unity), so it is not a problem to reuse assets.

Making a tutorial about building Station Iapetus should be very interesting

The game is huge already and it is just began to transition to scripting system (which is not fast process). Writing a series of tutorials how to make the same game is... quite time consuming 😃 . I guess the best option would be to write blog posts of how re-make existing stuff with scripts.

64kramsystem commented 1 year ago

Hello!

This functionality exists in the engine for ages already. There is even an animation blending state machine editor, like Unity's Mecanim. As for assets - the engine supports FBX (as Unity), so it is not a problem to reuse assets.

Well, in this case, that's great news :smile: Porting the game could be a great use case for Fyrox :heart_eyes:. Hopefully somebody will make it - I don't know how much work it is, so I'll leave the "complex" tag. Porting the book would be even more great™, but that's a huge amount of work for sure (it's not a short book).

Making a tutorial about building Station Iapetus should be very interesting

The game is huge already and it is just began to transition to scripting system (which is not fast process). Writing a series of tutorials how to make the same game is... quite time consuming smiley . I guess the best option would be to write blog posts of how re-make existing stuff with scripts.

There's an issue open about converting soccer-fyrox to scripting.. I wonder if it could be advertised (like "looking for collaboration" in any newsletter) for this type of work (conversion + blog post), as it's surely much less time consuming, and it'd probably cover the basics.