[過去ログ]
【ゲームエンジン】Godot Engine (1002レス)
【ゲームエンジン】Godot Engine http://mevius.5ch.net/test/read.cgi/gamedev/1517415805/
上
下
前
次
1-
新
通常表示
512バイト分割
レス栞
このスレッドは過去ログ倉庫に格納されています。
次スレ検索
歴削→次スレ
栞削→次スレ
過去ログメニュー
800: 名前は開発中のものです。 [] 2020/07/02(木) 13:39:36.84 ID:kDnXyHP9 extends KinematicBody2D func _process(delta): var velocity = Vector2() var speed = 400 if Input.is_action_pressed("ui_right"): velocity.x += 1 if Input.is_action_pressed("ui_left"): velocity.x -= 1 if Input.is_action_pressed("ui_down"): velocity.y += 1 if Input.is_action_pressed("ui_up"): velocity.y -= 1 if Input.is_action_pressed("ui_accept"): speed = 200 if velocity.length() > 0: velocity = velocity.normalized() * speed position += velocity * delta これで上と右とシフト押せば右斜め上方向にゆっくり移動すると思うんだけどそれができない シフトの代わりにスペースとかエンター押すとできる http://mevius.5ch.net/test/read.cgi/gamedev/1517415805/800
メモ帳
(0/65535文字)
上
下
前
次
1-
新
書
関
写
板
覧
索
設
栞
歴
あと 202 レスあります
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.010s