GithubHelp home page GithubHelp logo

godotnet_csharp_ioc_simpletemplate's Introduction

GodotNet_Csharp_SimpleDemo

使用CSharp工程化开发Godot 游戏

对应CSDN博客地址

Godot.NET C# 工程化开发(1):通用Nuget 导入+ 模板文件导出,包含随机数生成,日志管理,数据库连接等功能

alt text

Visual Studio项目

运行环境

  • window 10
  • .net core 8.0
  • godot 4.2.1
  • visual studio 2022

Nuget使用

alt text

项目逻辑

  • GD_Extesion:Godot工具类,后面用于导出
    • Assests:资源文件夹
    • Utils:工具类
    • Interfaces:接口类
  • GD_Program:Godot运行逻辑
    • SceneModels:场景脚本实际运行类,IOC装配生成
    • Services:服务类
    • Program.cs:IOC容器位置
  • Godot:Godot引擎生成解决方案
    • Scene:挂载脚本,只用于建立脚本连接关系

项目整体

alt text

项目模板导入

GD_Extension_4_2_1_01.zip就是我导出的项目模板了,直接导入到即可

C:\Users\xxx(你的用户名)\Documents\Visual Studio 2022\Templates\ProjectTemplates

GodotProgram_4_2_1_1.zip这个文件,我感觉这个设计的更加好了。因为我之前想设置三层项目,现在想想两层应该也够用了。

godotnet_csharp_ioc_simpletemplate's People

Contributors

gclove2000 avatar

Stargazers

深淵の鴿子 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.