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 | 29 | 30 |
Tags
- ruby2d
- react
- 개발노트
- Java
- 루비
- Android
- OTLanguage
- ruby
- OAuth
- RaspberryPi
- boj
- C
- plugin
- error
- gnuplot
- JS
- Godot
- IntelliJ
- Baekjoon
- maven
- Spring
- Shell
- Vane
- CPP
- jetbrains
- Python
- GitHub
- gradle
- kotlin
- rubymine
Archives
- Today
- Total
목록GD (1)
PersesTitan(페르) 기술블로그

첫 프로젝트 생성 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