0
点赞
收藏
分享

微信扫一扫

Godot 导出 Android apk

河南妞 2022-04-24 阅读 60
Godot

1、安装godot

Godot Engine - Download | Windows

2、安装godot并添加场景

   模型资源:Poly Haven

3、添加GDScript脚本使物体运动起来

        如果我们想旋转物体:

extends MeshInstance3D


# Called when the node enters the scene tree for the first time.
func _ready():
	pass # Replace with function body.


# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
	rotate(Vector3(1.0, 0.0, 0.0), 0.01)

4、配置Android环境

      4.1 配置sdk:

     

举报

相关推荐

0 条评论