Skip to content

nonunknown/gdextension-creator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GDExtension Project Creator

this is a script (currently only for linux) where you execute a script that generates a base project for your gdextension, it setups all base files needed for the most basic of gdextension.

News

  • fix bug: create_project.sh not renaming the .gdextenstion file

Installation

How to use

  • open terminal at godot-cpp folder
  • type: ./create_project.sh
  • You will be asked for project name which will be the folder name and the resulting build file names
  • Then it will ask the class you want to extends like: Control,Node3D,Node
  • at last it will tell you to moodify build.sh and move.sh
  • build.sh will build your project
  • move.sh where is OUTDIR change to the project you want the output files to be

Extra

I've added inside the base folder a script called create_class.sh which means when you create a project the script is copied to your project folder, the name itself describes what it does, it create a new class and already reagister it on register_types.cpp which means you can add classes faster now:

  • on terminal type ./create_class.sh
  • Will be asked for class name
  • Then which class your class extends from i.e Control,Node....
  • Done

HELP

If you understand windows .bat, and want to convert the .sh scripts for windows, your PR is very welcome!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published