cobak
@cobak
Students
86
Reviews
13
Course Rating
4.6
์์ธ๋ํ๊ต ์ ๊ธฐ์ ๋ณด๊ณตํ๋ถ ์กธ์
ํ์ฌ ์คํํธ์ ์ ์ฌ์ง์ค์ธ ๊ฒ์ ๊ฐ๋ฐ์์ ๋๋ค
์ด๋ ค์ด ์ฝ๋ฉ, ์ฌ์์ง ๋๊น์ง ๋ฐ์น๊ธฐ!
cobak7@naver.com
Courses
Reviews
gaeto9
ยท
Head-Butting Game Development with Godot Engine!! - From Basic Concepts to Real-World Game Production All at Once!Head-Butting Game Development with Godot Engine!! - From Basic Concepts to Real-World Game Production All at Once!wisbeom
ยท
Head-Butting Game Development with Godot Engine!! - From Basic Concepts to Real-World Game Production All at Once!Head-Butting Game Development with Godot Engine!! - From Basic Concepts to Real-World Game Production All at Once!studyeveryday
ยท
Head-Butting Game Development with Godot Engine!! - From Basic Concepts to Real-World Game Production All at Once!Head-Butting Game Development with Godot Engine!! - From Basic Concepts to Real-World Game Production All at Once!mirae
ยท
Head-Butting Game Development with Godot Engine!! - From Basic Concepts to Real-World Game Production All at Once!Head-Butting Game Development with Godot Engine!! - From Basic Concepts to Real-World Game Production All at Once!matiz882258
ยท
Head-Butting Game Development with Godot Engine!! - From Basic Concepts to Real-World Game Production All at Once!Head-Butting Game Development with Godot Engine!! - From Basic Concepts to Real-World Game Production All at Once!
Posts
Q&A
54.(์ฌํ) ๋ณด์ค ๊ตฌํ(2) -state Machine
์๋ ํ์ธ์.AnimationTree๊ฐ ์์ฃผ ๊ฐ๋จํ ๋ฐฉ์์ด๊ธฐ๋ ํ๊ณ godot ์์ง์ ๋ด์ฅ๋ ๊ธฐ๋ณธ ๊ธฐ๋ฅ์ด์ด์ ์๊ฐ๋ฅผ ํ์์ต๋๋ค.๊ผญ AnimationTree๊ฐ ์ ๋์ ์ธ ์ฅ์ ์ด ์๋ ๊ฒ์ ์๋๊ณ ,์์ฒด์ ์ผ๋ก state machine์ ๋ง๋ค๊ฑฐ๋๋ค๋ฅธ ๊ฐ๋ฐ์๋ค์ด ๋ง๋ ์ ๋์จ(ํ์ฅ ํ๋ฌ๊ทธ์ธ)์ ํตํด ๊ตฌํํ๊ธฐ๋ ํฉ๋๋ค.์๋๋ godot์์ ๋ง์ด ์ฐ์ด๋ Beehave๋ผ๋ ์ ๋์จ์ ์๊ฐํฉ๋๋ค.https://godotengine.org/asset-library/asset/1349์ฌ์ฉ๋ฒ์ ์ตํ๊ณ ๋๋ฉด state machine์ ๋ง๋ค๋ ์ ์ฉํ๋ค๋ ํ๋ค์ด ๋ง์๋ฐ,์ค๊ธ์ ์ด์์ ๊ฐ๋ฐ ์๋ จ๋๋ฅผ ๊ฐ์ถ์์๋(์์ ๊ฐ์ด ์ข ๋ถ์์ ๋) ํ๋ฒ ์์๋ณด์๋ฉด ์ข์๊ฒ ๊ฐ์ต๋๋ค.์ด๋ฐ ์ ๋์จ๋ค์ ๋์์ด ๋ ์ ์์์๋ ๋ถ๊ตฌํ๊ณ ์์ฐํ ์ธ๋ถ ํ๋ก๊ทธ๋จ์ด๋ฏ๋ก ๊ฐ์์ ๋ฃ์ง๋ ๋ชปํ์์ต๋๋ค. (์ค์ ์ ๊ฐ ์ฌ์ฉํ์ง๋ ์์ต๋๋ค) ๊ฐ์ฌํฉ๋๋ค!
- Likes
- 0
- Comments
- 2
- Viewcount
- 71
Q&A
21. Dictionary ํ์ฉ ์ ์ฅ&๋ก๋
์๋ ํ์ธ์.ํด๋น ๊ฐ์ 21.์ ๋์ ๋๋ฆฌ๋ง ์ฌ์ฉํด์ ์ ์ฅ/๋ก๋๋ฅผ ๊ตฌํํ ๊ฒ์ ๋๋ค. ^^; ์ ์ฅ์ ์ฐ์ธ store_var() ํจ์์ ๋์๋ง ๊ฒ์์ ๋๋ฌ๋ณด์๋ฉด๋์ ๋๋ฆฌ๋ฅผ ํฌํจํ ๋ชจ๋ Variant๋ฅผ ์ ์ฅํ ์ ์๋๋ฐ Variant๋ ๋์ ๋๋ฆฌ, ์ด๋ ์ด๋ฅผ ํฌํจํ ๋ชจ๋ ๋ฐ์ดํฐ ํ์ ์ ๋ปํ๋ค๊ณ ๋์์์ต๋๋ค.์ฆ save_data: Array ํํ๋ ์์ฑํ์ฌ ์ผ๋ง๋ ์ง ์ ์ฅ ๊ฐ๋ฅํฉ๋๋ค.enum๋ ๋ด๋ถ์ ์ผ๋ก๋ ์ ์๊ฐ(int)์ด๋ฏ๋ก ๋น์ฐํ ์ ์ฅ ๊ฐ๋ฅํฉ๋๋ค. ๋์ ๋๋ฆฌ๋ก ์๊ฐํด๋๋ฆฐ ์ด์ ๋๋์ ๋๋ฆฌ ์ ์ฅ์ด godot ์ด์ธ์ ๊ฒ์ ๊ฐ๋ฐ์์๋ ๋๋ฆฌ ์ฐ์ด๊ณ ๊ถ์ฅ๋๋ ๋ฐฉ์์ด๊ธฐ ๋๋ฌธ์ ๋๋ค. ("Json" ๊ฐ๋ ์ฐธ์กฐ) ์ถ๊ฐ ์ง๋ฌธ์ ์ ๊ฐ ์ ์ดํด๋ฅผ ๋ชปํ๊ฒ ๊ฐ์ต๋๋ค๋ง,์น์ 5. ์ํฐ ๊ฒ์ ์น์ ์์ Array, Enum, Dictionary ๋ชจ๋ ์ฌ๊ธฐ์ ๊ธฐ ํ์ฉ์ ํฉ๋๋ค. ๊ฐ์ฌํฉ๋๋ค!
- Likes
- 0
- Comments
- 2
- Viewcount
- 90
Q&A
66๊ฐ. INPUT ๊ด๋ฆฌ
์๋ ํ์ธ์!๋ง์ํ์ ๋๋ก ๋ถ์คํฐ, ์ ๋ํ ๋ฐ์ฌ๋ ๊ฐ๋์ฉ๋ง ์ ๋ ฅํ๋ฏ๋กprocess๊ฐ ์๋ unhandled input(๋๋ input)์ ๋ฃ์์ต๋๋ค.66๊ฐ์์ ์บ๋ฆญํฐ ์กฐ์ ๊ด๋ จ์ unhandled input์ ์ฐ๊ฒ ๋ค๊ณ ์ ๊ฐ ๋ถ๋ฅ๋ฅผ ํ์ง๋ผ, unhandled input์ ๋ฃ๊ฒ ๋์๋ค์. ์์ธ๋ฌplayer ์ด๋์ ์๋ ์ญ๋์ ์ผ๋ก ์์ง์ด๋ค ๋ณด๋process์ ๋์ด๋ ์ฑ๋ฅ ๋ญ๋น๊ฐ ์๊ฒ ๋ค๋ ํ๋จ์ด ๋ค์ด process์ ๋จ๊ฒจ๋์์ต๋๋ค. ๋ค์ ๋ณด๋var direction์ ๋ฐ๊นฅ์์ ์ ์ธํ๊ณ ,process์ ์๋ direction = Input.get_vector("move_left", ... ,"move_down") ํ ์ค์unhandled input์ผ๋ก ๊ฐ์ ธ์ค๋ ๊ฒ ์คํด์ ์์ง๋ฅผ ์ต๋ํ ์์จ ๊ฒ ๊ฐ๋ค์. ๊ฐ์ฌํฉ๋๋ค!
- Likes
- 0
- Comments
- 2
- Viewcount
- 62
Q&A
31๊ฐ ์ง๋ฌธ
์๋ ํ์ธ์.๋ฌธ์์ฃผ์ ๋ด์ฉ์ด ์ ์ ๋ฆฌ๋ ์ฌ์ดํธ๋ ์ ์ญ์ ์๋ ๋ฐ๊ฐ ์๋ค์.๊ด์ฌ์ด ๊ฐ๋ ๋ ธ๋๋ฅผ ๋๋ฌ ์ธ์คํํฐ ํญ์ ํ์ธํ๋ ๋ฐฉ๋ฒ์ด ๊ฐ์ฅ ์ง๊ด์ ์ธ ๊ฒ ๊ฐ์ต๋๋ค.(์ฌ์ง) ์์ธ๋ฌ Claude๋ฅผ ํตํ ai ๋ต๋ณ ๋ด์ฉ์ ๊ณต์ ํฉ๋๋ค. ํ๋ฆฐ ๋ถ๋ถ์ ์์ด ๋ณด์ด๋ค์. ๐ ๋ ธ๋-๋ฆฌ์์ค ๊ด๊ณ ์์ธ ์ ๋ฆฌ๐จ2D ๊ทธ๋ํฝ ๊ด๋ จ(์ฌ์ง)(์ฌ์ง)(์ฌ์ง)(์ฌ์ง)(์ฌ์ง)๊ฐ์ฌํฉ๋๋ค
- Likes
- 0
- Comments
- 2
- Viewcount
- 66
Q&A
69๋ฒ ๊ฐ์์์ ์๋ฌ ๋ฐ์ ๋ณด๊ณ
์์ง๋ง ์น๋ช ์ ์ธ ๋ฒ๊ทธ๋ค์ ์ ๋ณดํด์ฃผ์ ์ ๊ฐ์ฌํฉ๋๋ค์ถ๋ก ํ์ผ์ ์ฌ๋ฆฌ๋๋ก ํ๊ฒ ์ต๋๋ค.
- Likes
- 0
- Comments
- 2
- Viewcount
- 79
Q&A
๋ ธ๋์ ๋ด์ฅ ์๊ทธ๋ ์ด์ฉ ๊ด๋ จ ๋ฌธ์
'๊ตณ์ด' ๋ง์ต๋๋ค ใ ใ ๊ฐ์ธ ์ทจํฅ์ ๋๋ค๋ง, ์๋ฌด๋๋ ๊ฐ๋ ์ฑ๊ณผ ๋๋ฒ๊ทธ ์ฉ์ดํจ์ด ์ ์ผ ํฐ ์ด์ ๊ฐ์ต๋๋ค. ๋ ๋ค๋ฅธ ๊ฐ์ธ์ ์ธ ์ด์ ๋ก๋๊ฒฝ์ฐ์ ๋ฐ๋ผ ๋ฐํ์์ disconnect ๋ฉ์๋๋ฅผ ์ธ ์ผ์ด ์๋๋ฐ์ด๋ฅผ connect ๋ฉ์๋์ ํจ๊ป ๊ด๋ฆฌํ๋ฉด ์ผ๊ด์ฑ์ด ๋๊ปด์ ธ์๊ท์ฐฎ์๋ ์ ์ด์ ์๋ connect๋ฅผ ์ ํธํฉ๋๋ค.(๋ฌผ๋ก ์๋ํฐ์์ ์ฐ๊ฒฐํ ๊ฒฝ์ฐ์๋ disconnect๋ฅผ ํ์ฉ ๊ฐ๋ฅํฉ๋๋ค^^) ๊ฐ์ฌํฉ๋๋ค!
- Likes
- 0
- Comments
- 3
- Viewcount
- 79
Q&A
46. ์์์ฌ(3) ์์ ์ง๋ฌธ
์๋ ํ์ธ์.ํ์ด์ฌ์ super()๊ณผ ๋ค๋ฅด๊ฒ, super() ๊ตฌ๋ฌธ์ด ๋ค์ด๊ฐ ํด๋น ๋ฉ์๋(๋ถ๋ชจ ํด๋์ค)๋ง ์คํ๋๋ค๊ณ ๋ณด์๋ฉด ๋ฉ๋๋ค.๋ฐ๋ผ์ ๋ถ๋ชจ ํด๋์ค์ ๋ฉ์๋๋ฅผ ์คํํ๊ณ ์ถ์ผ๋ฉด ์ผ์ผ์ด super()๋ฅผ ์จ์ผํ๋ฉฐ,on_area_entered์์ super()์ ์ฐ์ง ์์ ๊ฒฐ๊ณผ๋ถ๋ชจ ํด๋์ค์ pass ๊ตฌ๋ฌธ ์กฐ์ฐจ ์คํ๋์ง ์๋๋ค๊ณ ๋ณด์๋ฉด ๋ฉ๋๋ค.super()์ ์จ๋ดค์ pass๊ฐ ์คํ๋๋๊น ์๋ฏธ์๋ค๊ณ ๋ณด์๋ฉด ๋๊ฒ ๋ค์.ํ์ด์ฌ์์์ super(). something() ์์ผ๋ก ๋ฐ๋ก ํธ์ถ์ ํ๋ค๋ ์ ๊ณผ ์ฐจ์ด๊ฐ ์์ต๋๋ค.๊ฐ์ฌํฉ๋๋ค!
- Likes
- 0
- Comments
- 2
- Viewcount
- 75
Q&A
3. ๋ฏธ๋ ์ํฐ๊ฒ์ > ๋ ์ด์ ์ฌ ์์ global_position ๊ณผ position ์ฐจ์ด??
์๋ ํ์ธ์๊ธ๋ก๋ฒ ์ขํ๊ฐ ๋ก์ปฌ ์ขํ๋ณด๋ค ์ง๊ด์ ์ด๊ณ ์ดํดํ๊ธฐ ์ฌ์์์ฌ์ฉํ ๊ฒ์ด์ง ๋ณ๋ค๋ฅธ ์๋ฏธ๋ ์์ต๋๋ค! ^^;์ปค๋ฆฌํ๋ผ ์์ผ๋ก๋ ๋ค์ชฝ์์ ๋ก์ปฌ ์ขํ๊ณ๋ฅผ ์ค๋ช ํ๊ธฐ ๋๋ฌธ์ ๊ธ๋ก๋ฒ ํฌ์ง์ ์ ๋จผ์ ์ฌ์ฉํ์ต๋๋ค.๊ฐ์ฌํฉ๋๋ค!
- Likes
- 0
- Comments
- 2
- Viewcount
- 80
Q&A
์๋๋ก์ด๋, iOS๋น๋
์๋ ํ์ธ์!์ฐ์ ๊ณ ๋ ์์ง์์ ๋ชจ๋ฐ์ผ ๊ฒ์ ์ง์์ด ์์ง ๊ทธ๋ ๊ฒ ์ข์ง๋ ์๋ค๋ ์ ์ ์๋ ค๋๋ฆฌ๊ณ ์ถ๋ค์.์ธ์ฑ ๊ฒฐ์ ๋ ์ ๋๋ชน์ ์ฐ์ค ๋ ์ด๋ณด์๊ฐ ๊ตฌํํ๊ธฐ ๋ง๋ง์น ์๊ณ ,ํนํ ios ์ชฝ์ด ์๋์ ์ผ๋ก ๋ ๋น์ฝํฉ๋๋ค. ๊ท๋ชจ๊ฐ ์์ ๋ชจ๋ฐ์ผ ๊ฒ์์ ๋ง๋ค์ด์ ์๋๋ก์ด๋์์ ์คํ๋๋ .apk๋ฅผ ๋น๋ํ๊ณ ์ถ์ผ์๋ค๋ฉดhttps://www.youtube.com/watch?v=dCLYMF32ZBE์ ๊ฐ๋จํ ์์์ ์ฐธ๊ณ ํ์๋ฉด ๋์์ด ๋ ๊ฒ ๊ฐ์ต๋๋ค.ํ์ง๋ง (๋ณดํต์ ๊ฒฝ์ฐ) ๊ด๊ณ ๋ ์ธ์ฑ ๊ฒฐ์ ๋ฅผ ์ฐ๋ํ๊ณ ๊ตฌ๊ธ ํ๋ ์ด์ ์ถ์๋ฅผ ํ๊ณ ์ถ์ผ์๋ค๋ฉดgradle์ด๋ผ๋ ๊ฒ์ ๋น๋ ํ์ฌ .aab๋ฅผ ๋น๋ํ์ฌ์ผ ํฉ๋๋ค.https://docs.godotengine.org/en/stable/tutorials/export/android_gradle_build.htmlgradle build๋ ์ ๊ณต์ ๋ฌธ์๋ฅผ ์ฐธ๊ณ ํด์ฃผ์๋ฉด ๋ ๊ฒ ๊ฐ์ต๋๋ค.(android ๋น๋ ํ ํ๋ฆฟ ์ค์น๋ฅผ ํ์๋ฉด ๋๋๋ฐ ๊ฐ์ ๋ด์ฉ๊ณผ ๊ฝค ์ ์ฌํฉ๋๋ค) ios์ ๊ฒฝ์ฐ xcode๋ฅผ ์ด์ฉํด์ ๋น๋๋ฅผ ํด์ผ ํ๋๋ฐ,https://www.youtube.com/watch?v=x_ZFAV2id3I์์ ๊ธด ์์์ macOS๋ฅผ ํตํด ๋น๋๋ถํฐ ์ฑ ์คํ ์ด ๋ฑ๋ก๊น์ง ์์ธํ ๋์ ์์ด์์ฐธ๊ณ ํ์๋ฉด ๋ ๊ฒ ๊ฐ์ต๋๋ค. ๊ณ ๋ ์์ง๋ ์๋ ๋น ๋ฅด๊ฒ ๋ฐ์ ํ๋ค ๋ณด๋,๋ชจ๋ฐ์ผ ๊ฐ๋ฐ ์ํ๊ณ๊ฐ ์ข์์ง๋ ๋๋ก๋ชจ๋ฐ์ผ ๊ฒ์ ๊ฐ์ ์ ์๋ ๊ณ ๋ คํ๊ณ ์์ต๋๋ค.^^๊ฐ์ฌํฉ๋๋ค!
- Likes
- 0
- Comments
- 1
- Viewcount
- 159
Q&A
์ฐ์ฃผ์ ํ์
์๋ ํ์ธ์๊ฐ์ 12๋ถ ๋ถ๊ทผ์ ์ค๊ฐ ์ฝ๋๋ฅผ ๋ง์ํ์๋ ๊ฒ ๊ฐ๋ค์!ํด๋น ์ฝ๋๋ ๋๊ฐ์ ๋ฐฉํฅ(๋ฐฉํฅ ๋ฒํผ 2๊ฐ)์ ๋๋ฅธ ์๊ฐ๋ฝ์๋์์ ๋ผ์ผ ๋๊ฐ์ ์ผ๋ก ๋ฉ์ถ๊ฒ ๋๊ณ ,๋ ์๊ฐ๋ฝ์ ๋ผ๋ ๋ฐ ์กฐ๊ธ์ด๋ผ๋ ์ค์ฐจ(60๋ถ์ 1์ด ์ด์)๊ฐ ์๊ธฐ๋ฉด์กฐ๊ธ์ด๋ผ๋ ๋ฆ๊ฒ ๋ ์๊ฐ๋ฝ ๊ธฐ์ค์ผ๋ก get_vector๊ฐ ๋ฐ๋๊ธฐ ๋๋ฌธ์์ฐ์ฃผ์ ์ด ๊ทธ์ชฝ์ผ๋ก ๋ฐ๋ผ๋ณด๊ฒ ๋ฉ๋๋ค.์ด๋ ์ค๋ฅ๊ฐ ์๋ค๊ธฐ ๋ณด๋ค๋ _process ํจ์๊ฐ 1์ด์ 60๋ฒ ์ฐ๋ฆฌ ํค๋ณด๋์ ์ ๋ ฅ์ ๋ฐ๊ธฐ ๋๋ฌธ์์๊ธฐ๋ ๋ถ๋์ดํ ํ์.. ์ด๋ผ๊ณ ์ดํด๋ฅผ ํ์๊ณ ๋์ด๊ฐ๋ฉด ๋ ๊ฒ ๊ฐ์ต๋๋ค.๊ฐ์ฌํฉ๋๋ค!
- Likes
- 0
- Comments
- 2
- Viewcount
- 104




