Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- IntelliJ
- Spring
- 루비
- gnuplot
- rubymine
- Python
- gradle
- ruby
- RaspberryPi
- C
- Java
- Android
- kotlin
- maven
- GitHub
- CPP
- jetbrains
- plugin
- 개발노트
- JS
- Godot
- Shell
- Baekjoon
- boj
- OTLanguage
- react
- ruby2d
- Vane
- error
- OAuth
Archives
- Today
- Total
목록GD (1)
PersesTitan(페르) 기술블로그
[GDScript] 캐릭터 이동 구현
첫 프로젝트 생성 Area2D 추가 -> Area2D 이름 변경(Player) -> AnimatedSprite, CollisionShape2D를 추가 Script Player -> 인스팩터 -> Script -> 새 스크립트 extends Area2D export var speed: int var screensize func _ready(): screensize = get_viewport_rect().size pass func _process(delta): var p = Vector2() if Input.is_action_pressed("ui_right"): p.x += 1 if Input.is_action_pressed("ui_left"): p.x -= 1 if Input.is_action_presse..
Language/GDScript
2023. 4. 22. 19:24