Jump to content
Sign in to follow this  
extro24

Godot Game Engine

Recommended Posts

Posted (edited)

Godot game engine seems very productive, but I think you would have to create a module with a "node" for CHI in the game engine, using C++.  Enjin coin has done such a module.  Not sure how that would relate to libxayagame.

Edited by extro24

Share this post


Link to post
Share on other sites

So far, I don't know anything about that Godot engine (@RyuMaster Gorskov).  But one thing to note is that with Xaya, you typically build the backend and frontend of your game separately.  The backend part, which is handling the blockchain and using libxayagame, corresponds to the server of a centralised game.  So when people talk about "game engines", then what they typically are up to is the frontend.  That, however, can be built in whatever framework you want anyway, and has no need to use libxayagame itself.

My (uninformed) guess here is that the situation is different with Enjin, as they don't really have a proper blockchain backend at all, and their integration is mostly about just using blockchain assets in a centralised game / displaying them in the frontend.

Share this post


Link to post
Share on other sites
Posted (edited)

After Unreal and Unity it seems the Godot engine is the third best known.  There is a lot of hype about it, since it is completely free: https://www.youtube.com/watch?v=IPCv6F-IgXU.

 

To create a game you call and place various types of objects like KinematicBody, RigidBody, StaticBody etc in the Scene and then you create and associate scripts and attributes in the Inspector.  I suppose you would want to call an object of type "Coin" from the Scene Menu, with the parameters of "Coin" set in the Inspector.  Parent would be "Chi", new coin name "Crystals", number created 10 000, texture would be "Blue Silver" etc.  There would be a script (in GDSCript, similar to Python) written about when and how the coin would be captured by the player and added to his/her wallet.  

But the module "Coin" would have to be written in C++ and added to Godot (which is written in C++).  That module, I think, would then interact with libxayagame, as you have suggested.  Here is a video about creating custom modules in C++ in the "modules" folder of the Godot source:  https://www.youtube.com/watch?v=LFtNGsjM8Js

 

Edited by extro24

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

Your use of this site is governed by our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.