Skip to content

Project-Wak/Project-wak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



- ์ด ๋‹ค์šด๋กœ๋“œ ์ˆ˜


- ๊ฒŒ์ž„ ๋‹ค์šด๋กœ๋“œ



- ๋””์Šค์ฝ”๋“œ







- Preview

preview_1 preview_2 preview_3

์Šค์ผ€์ผ๋„ ํฌ๊ฒŒ ์ œ์ž‘ํ–ˆ๊ณ  ํ€„๋ฆฌํ‹ฐ๋„ ์ข‹๊ณ  ๋น„์ฃผ์–ผ๋„ ๊ต‰์žฅํžˆ ์ข‹์€๊ฑฐ ๊ฐ™์•„์„œ ๊ฐœ์ธ์ ์œผ๋กœ ์ ค ๋ง˜์— ๋“œ๋Š” ํ”„๋กœ์ ํŠธ

์œ ํŠœ๋ฒ„ '์šฐ์™๊ตณ' ํŒฌ๊ฒŒ์ž„์œผ๋กœ ์ œ์ž‘ํ•จ

1์ธ ๊ฐœ๋ฐœ๋กœ ๋งŒ๋“ค์—ˆ๊ณ , ์Œ์•… ๋นผ๊ณ  ๊ทธ๋ฆผ๋ถ€ํ„ฐ ์ฝ”๋“œ๊นŒ์ง€ ์‹น๋‹ค ํ˜ผ์ž ์ž‘์—…ํ•จ;;

์™„์„ฑ ํ•˜๊ธฐ ์ „์— ๋Œ€๋žต 100๋ช… ์ •๋„์˜ ํ…Œ์Šคํ„ฐ๋“คํ•œํ…Œ ๋ฒ ํƒ€ํ…Œ์ŠคํŠธ๋ฅผ ์ง„ํ–‰ํ–ˆ์Œ.

(์ฝ”๋“œ ๊ด€๋ จ ์„ค๋ช…๊ธ€์€ ์•„๋ž˜ ์ฐธ๊ณ )





- ์ฝ”๋“œ ๊ด€๋ จ ์„ค๋ช…๊ธ€

โ–ผ ๋ณด์Šค ์›€์ง์ž„


๋ณด์Šค ์›€์ง์ž„์€ ๋‹ค๋ฅธ ํ”„๋กœ๊ทธ๋žจ ์ด์šฉ ์•ˆํ•˜๊ณ  ์ „๋ถ€ ์ฝ”๋“œ๋กœ ์ผ์ผํžˆ ์งฐ์Šต๋‹ˆ๋‹ค.

[๊ด€๋ จ ์ฝ”๋“œ๋‚ด์šฉ์€ ObjectํŒŒ์ผ -> (๋ณด์Šค ์ด๋ฆ„ ex. obj_wak_doo)ํŒŒ์ผ ์ฐธ๊ณ ํ•ด์ฃผ์„ธ์š”]

https://github.com/ABER1047/Project-wak/tree/main/objects/obj_worm

โ–ผ ์Œ‰๋ฒŒ๋ž˜๋‘ ์›€์ง์ž„ (ํ…Œ๋ผ๋ฆฌ์•„์‹ ์ง€๋ ์ด ์•Œ๊ณ ๋ฆฌ์ฆ˜)


[๊ด€๋ จ ์ฝ”๋“œ ๋‚ด์šฉ์€ ํ•ด๋‹น ์†Œ์Šค ํŒŒ์ผ ์ฐธ๊ณ ํ•ด์ฃผ์„ธ์˜ (๋ฌผ๋ก  ๋ณด๋‹Œ์ด ๋งŒ๋“ ๊ฑฐ)]

https://github.com/ABER1047/Worm

โ–ผ ๋ ˆ์ด์ง€ ๋ชจ๋“œ ์ค€๋น„ ์ƒํƒœ๋•Œ ๋‚˜์˜ค๋Š” ์•„์šฐ๋ผ, ํ˜น์€ ๋ถˆ ์ดํŽ™ํŠธ์˜ ์™ธ๊ณฝ์„  ํšจ๊ณผ


์ „์ฒด์ ์ธ ์•Œ๊ณ ๋ฆฌ์ฆ˜์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.

1. ํ…Œ๋‘๋ฆฌ ๋ถ€๋ถ„์˜ ์ƒ‰์„ ๋”ด ์›์„ ํ•˜๋‚˜ ๊ทธ๋ฆผ

2. ๊ทธ ์›์œ„์— ์‚ด์ง xํ”ฝ์…€ ๋งŒํผ ์ž‘์€ ์›์„ ํ•˜๋‚˜ ๋ฎ์–ด์”Œ์›Œ์„œ ๋”๊ทธ๋ฆผ (์ด๋•Œ x๊ฐ’์€ ๋ฏธ์ง€์ˆ˜)

[๊ด€๋ จ ์ฝ”๋“œ ๋‚ด์šฉ์€ Object๋ฐ scriptํŒŒ์ผ -> "set_surf_outline" ๋ฐ "obj_camera", "code", "code_bubble_surf" ์ฐธ๊ณ ]

https://github.com/ABER1047/Project-wak/blob/main/scripts/set_surf_outline/set_surf_outline.gml

https://github.com/ABER1047/Project-wak/blob/main/objects/code_bubble_surf/Draw_0.gml

โ–ผ ๋น—๋ฌผ ํŠ€๊ธฐ๋Š” ํšจ๊ณผ ๋ฐ ์ŠคํŒŒํฌ ํŠ€๊ธฐ๋Š” ํšจ๊ณผ


์ „์ฒด์ ์ธ ์•Œ๊ณ ๋ฆฌ์ฆ˜์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.

1. ํ˜„์žฌ ์ขŒํ‘œ๊ฐ’ (x1,y1)์™€ 1ํ”„๋ ˆ์ž„ ์ดํ›„์˜ ํ˜„์žฌ ์ขŒํ‘œ๊ฐ’ (x2,y2)์˜ ๊ฐ’์„ ํ†ตํ•ด ํ•ด๋‹น ์‚ฌ์ด๋ฅผ ์ž‡๋Š” ์„ ์„ x ํ”ฝ์…€ ๋‘๊นจ๋กœ ํ•˜๋‚˜ ๊ทธ๋ฆฌ๊ธฐ (์ด๋•Œ x๊ฐ’์€ ๋ฏธ์ง€์ˆ˜)

2. (x2,y2)์ขŒํ‘œ๊ฐ’์„ ๊ธฐ์ค€์œผ๋กœ (x1,y1)์ขŒํ‘œ๊ฐ’์—์„œ x์ขŒํ‘œ y์ขŒํ‘œ ๊ฐ๊ฐ z๋งŒํผ x2,y2๊ฐ’์— ๊ฐ€๊นŒ์›Œ์ง€๋„๋ก ์ขŒํ‘œ๊ฐ’์„ ๋นผ๊ฑฐ๋‚˜ ๋”ํ•ด์คŒ (์ด๋•Œ z๊ฐ’์€ for๋ฌธ์„ ํ†ตํ•ด ์ œ์–ดํ•จ)

3. ์ด์ œ 2๋ฒˆ ๋‹จ๊ณ„์—์„œ ๊ตฌํ•ด์ง„ ์ˆ˜๋งŽ์€ ์ƒˆ๋กœ์šด ์ขŒํ‘œ๊ฐ’์„ (x2,y2)์ขŒํ‘œ๊ฐ’๊ณผ ์—ฐ๊ฒฐํ•˜์—ฌ ์„ ์„ ๊ทธ๋ ค์คŒ

4. ๊ฐ ์„ ๋“ค์˜ ํˆฌ๋ช…๋„๋ฅผ ๋Œ€๋žต 0.05์ •๋„๋กœ ์„ค์ •ํ•˜๋ฉด (x2,y2)์— ์„ ๋“ค์ด ๊ฐ€๊นŒ์›Œ์งˆ์ˆ˜๋ก ์ƒ‰์ด ๋” ์ง„ํ•ด์ง์œผ๋กœ์จ ์„ ์ด ์ž์—ฐ์Šค๋Ÿฌ์›Œ๋ณด์ž„

[๊ด€๋ จ ์ฝ”๋“œ ๋‚ด์šฉ์€ "effect_spark" ์ฐธ๊ณ ]

https://github.com/ABER1047/Project-wak/tree/main/objects/effect_spark

โ–ผ ํ™”๋ฉด ํ”๋“ค๋ฆผ ํšจ๊ณผ


์ „์ฒด์ ์ธ ์•Œ๊ณ ๋ฆฌ์ฆ˜์€ obj_camera์—์„œ์˜ "shake"๋ผ๋Š” ๋‹จ์–ด๊ฐ€ ํฌํ•จ๋˜์–ด์žˆ๋Š” ๋ณ€์ˆ˜๋“ค์„ ํ™•์ธํ•ด์ฃผ์„ธ์š”

[๊ด€๋ จ ์ฝ”๋“œ ๋‚ด์šฉ์€ "obj_camera" ์ฐธ๊ณ ]

https://github.com/ABER1047/Project-wak/blob/main/objects/obj_camera/Step_0.gml

โ–ผ ๋ ˆ์ด์ € (๋ณด์Šค๊ฐ€ ๋ˆˆ์—์„œ ๋ฐœ์‚ฌํ•˜๋˜ ๋ ˆ์ด์ € ํ˜น์€ ๋งต ์ค‘๊ฐ„์ค‘๊ฐ„ ๋งˆ๋‹ค ๋†“์—ฌ์žˆ๋˜ ์žฅ์• ๋ฌผ)


์ „์ฒด์ ์ธ ์•Œ๊ณ ๋ฆฌ์ฆ˜์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.

1. ์ตœ์ ํ™”๋ฅผ ์œ„ํ•ด ๋ ˆ์ด์ €๊ฐ€ ์ตœ๋Œ€๋กœ ๋ป—์–ด๋‚˜๊ฐˆ ์ˆ˜ ์žˆ๋Š” ๊ฑฐ๋ฆฌ์— ์ œํ•œ์„ ๋‘  (์•„๋งˆ ์ธ๊ฒŒ์ž„์—์„  2500์ •๋„๋กœ ์ œํ•œ์„ ๋’€์Œ)

2. ๋ ˆ์ด์ €๊ฐ€ ๋ฐœ์‚ฌ๋˜๋Š” ์ง€์  (x1,y1)์„ ๊ธฐ์ค€์œผ๋กœ ํŠน์ • ๋ฐœ์‚ฌ ๊ฐ๋„๋กœ ์ญ‰ ํ”Œ๋ ˆ์ด์–ด๋‚˜ ๋ฐ”๋‹ฅ์— ๋‹ฟ๊ฑฐ๋‚˜ ์ตœ๋Œ€ ๊ฑฐ๋ฆฌ๋กœ ๋ป—์–ด๋‚˜๊ฐˆ ๋•Œ๊นŒ์ง€ ๋ฐ˜๋ณต๋ฌธ์œผ๋กœ ์ฒดํฌ

3. ํ”Œ๋ ˆ์ด์–ด๋‚˜ ๋ฐ”๋‹ฅ์— ๋‹ฟ์•˜๊ฑฐ๋‚˜, ์ตœ๋Œ€ ๊ฑฐ๋ฆฌ๊นŒ์ง€ ๋ป—์–ด๋‚˜๊ฐ„ ๊ฒฝ์šฐ ๋ฐ˜๋ณต๋ฌธ ๋น ์ ธ๋‚˜์˜ค๊ธฐ

4. ๋ฐ˜๋ณต๋ฌธ์„ ๋น ์ ธ๋‚˜์˜จ ์ˆœ๊ฐ„์—์„œ์˜ ์ขŒํ‘ฏ๊ฐ’ (x2,y2)๊นŒ์ง€ ์„ ์„ ์ด์–ด์คŒ (ํ•ด๋‹น ์„ ์ด ๋ ˆ์ด์ €)

[๊ด€๋ จ ์ฝ”๋“œ ๋‚ด์šฉ์€ "block_laser" ์ฐธ๊ณ ]

https://github.com/ABER1047/Project-wak/blob/main/objects/block_laser/Step_0.gml

์ด์™ธ์— ๊ถ๊ธˆํ•œ๊ฑฐ ์žˆ์œผ์‹œ๋ฉด ๋””์ฝ”๋กœ ์—ฐ๋ฝํ•ด์ฃผ์‹ฌ ์ž์„ธํžˆ ์„ค๋ช…๋“œ๋ฆฌ๊ฒ ์๋‹ˆ๋‹น

(๋””์ฝ” ์•„์ด๋””๋Š” ์ œ ๊นƒํ—™ ํ”„๋กœํ•„์— ์ ํ˜€์žˆ์–ด์š”!)