<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Watcharaphon on Medium]]></title>
        <description><![CDATA[Stories by Watcharaphon on Medium]]></description>
        <link>https://medium.com/@6231305020?source=rss-72c738c306c6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*_J__tay2X8g3OFJ_.jpg</url>
            <title>Stories by Watcharaphon on Medium</title>
            <link>https://medium.com/@6231305020?source=rss-72c738c306c6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 22:50:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@6231305020/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[สร้างเกมง่ายๆ ด้วยมือของเรา — Unity]]></title>
            <link>https://medium.com/@6231305020/%E0%B8%AA%E0%B8%A3%E0%B9%89%E0%B8%B2%E0%B8%87%E0%B9%80%E0%B8%81%E0%B8%A1%E0%B8%87%E0%B9%88%E0%B8%B2%E0%B8%A2%E0%B9%86-%E0%B8%94%E0%B9%89%E0%B8%A7%E0%B8%A2%E0%B8%A1%E0%B8%B7%E0%B8%AD%E0%B8%82%E0%B8%AD%E0%B8%87%E0%B9%80%E0%B8%A3%E0%B8%B2-unity-d3dcdc559055?source=rss-72c738c306c6------2</link>
            <guid isPermaLink="false">https://medium.com/p/d3dcdc559055</guid>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[game-design]]></category>
            <category><![CDATA[unity]]></category>
            <category><![CDATA[games]]></category>
            <dc:creator><![CDATA[Watcharaphon]]></dc:creator>
            <pubDate>Tue, 15 Dec 2020 14:29:06 GMT</pubDate>
            <atom:updated>2020-12-15T14:29:06.457Z</atom:updated>
            <content:encoded><![CDATA[<h3>สร้างเกมง่ายๆ ด้วยมือของเรา — Unity</h3><p>เพื่อนๆหลายๆคน คงเคยมีความรู้สึกสนุกเวลาเล่นเกม ดื่มดำบรรยากาศไปกับฉาก หรือแม้กระทั่งมีเวลาที่ดีร่วมกันกับผู้เล่นอื่นๆภายในเกม ความรู้สึกเหล่านี้ถูกเติมเต็มไปในตัวของกระผมและนักพัฒนาอีกหลายๆท่าน จนเกิดขึ้นเป็นความฝันที่อยากจะพัฒนาและสร้างโลกในอุดมคติขึ้นมานั่นเองครับ โดยในวันนี้กระผมก็จะมาสอนเทคนิคเบื้องต้นเล็กๆน้อยๆ สำหรับผู้ที่สนใจหรืออยากพัฒนาเกมครับ</p><figure><img alt="picture from https://www.pinterest.com/pin/514325219929521727/" src="https://cdn-images-1.medium.com/max/1024/1*LMla5LZ-okoue3AiCSg_Vg.jpeg" /><figcaption>picture from <a href="https://www.pinterest.com/pin/514325219929521727/">https://www.pinterest.com/pin/514325219929521727/</a></figcaption></figure><blockquote><strong>ทักษะที่ควรจะต้องมีก่อนที่จะเริ่มพัฒนา</strong></blockquote><p>เมื่อจะเป็นนักพัฒนาเกมแล้ว ควรจะต้องมีความสามารถหรือทักษะ เหล่านี้ เพื่อให้เกิดผลดีในระยะยาวครับ ซึ่งได้แก่…</p><h3>1. Creativity</h3><p><strong>Creativity หรือ ความคิดสร้างสรรค์ </strong>— เป็นทักษะขั้นพื้นฐานสำหรับริเริ่มโลกเสมือนของเรา ยิ่งมีความแปลกใหม่ ยิ่งเป็นผลดีครับ</p><h3><strong>2. Passion for video games</strong></h3><p><strong>Passion for video games หรือ แรงจูงใจ</strong> — สิ่งนี้เปรียบเสมือนจิตวิญญาณของ<br>ตัวนักพัฒนาครับ ในระยะเริ่มต้น ความตื่นเต้น ความแปลกใหม่ อาจทำให้เกิด<br>แรงขับเคลื่อนมหาศาล แต่เมื่อเวลาผ่านไปสักระยะหนึ่งอาจเกิดความเบื่อหน่าย ท้อแท้ ดังนั้น จงหาสิ่งจูงใจเพื่อไม่ให้ไฟในตัวของเรามอดดับไปกลางทางครับ</p><h3>3.Wide-ranging knowledge of gaming trends</h3><p><strong>กระแสความนิยม</strong> — นักพัฒนาควรจะต้องรู้ ณ ปัจจุบันกระแสเกมที่ได้รับความนิยมเป็นเกมแนวแบบไหน เพื่อที่จะได้นำมาปรับใช้กับการพัฒนานั่นเองครับ</p><h3><strong>4.Strong analytical frame of mind</strong></h3><p><strong>การคิดเชิงวิเคราะห์ </strong>— การจำแนก วิเคราะห์ข้อมูล ของเกมที่เราพัฒนาอย่างละเอียด ถี่ถ้วน และแบ่งออกมาเป็นส่วนๆ อาทิเช่น กลุ่มเป้าหมายที่ต้องการ,<br>ภาพรวมของเกมที่เราต้องการ เป็นต้น</p><h3><strong>5.Ability to work as part of a team</strong></h3><p><strong>ทักษะการทำงานเป็นทีม</strong> — เป็นดั่งหัวใจของการพัฒนาครับ โดยทักษะนี้ โดยรวมแล้วขึ้นอยู่กับทักษะการสื่อสารในชีวิตประจำวัน อาทิเช่น การรับฟังปัญหาของผู้อื่นอย่างตั้งใจ หรือ การตอบโต้สมาชิกในทีมอย่างจริงใจ เป็นต้น</p><h3><strong>6.Proficiency in programming languages</strong></h3><p><strong>ความชำนาญการเขียนโปรแกรม </strong>— ใช่ว่าการไม่เคยเขียนโปรแกรมจะทำให้ไม่สามารถพัฒนาเกมได้นะครับ เพียงแต่หากมีพื้นฐาน จะสามารถประหยัดเวลาใน<br>การพัฒนาในช่วงแรกได้พอสมควรเลยล่ะครับ โดยภาษาคอมพิวเตอร์นิยมที่นำมาถูกพัฒนาเกม ได้แก่ <strong>C, C++, C#, JAVA</strong></p><p><strong><em>หลังจากอารัมภบทมานาน มาเริ่มขั้นตอนแรกกันเลยครับ</em></strong></p><p><strong>หมายเหตุ: สามารถข้ามขั้นตอนนี้ไปได้หากทำการติดตั้งส่วนเสริมและ Unity Hub เรียบร้อยแล้ว</strong></p><h3><strong>Unity Hub</strong></h3><ol><li>เปิดโปรแกรม Unity Hub (หากยังไม่ได้ติดตั้ง สามารถดาวน์โหลดได้ที่ <a href="https://unity3d.com/get-unity/download">https://unity3d.com/get-unity/download</a> )</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/95/1*RZHPEk6Cf1yjl-8zVbAC6Q.png" /><figcaption>Unity Hub icon</figcaption></figure><p>2. เมื่อเข้าโปรแกรมมาจะเห็น Interface ตามรูปที่ปรากฎขึ้น</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8cAgOToO0xLWQezHs38Nqw.png" /><figcaption>Unity Interface</figcaption></figure><p>3.เลือก Icon Account (ทางด้านขวาของฟันเฟือง) เลือกคำสั่ง Sign in</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/141/1*3Bf--5hmVxA55REeFnZuEQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y_zeaL1ICdupsXi2utOH9g.png" /></figure><p>4. ทำการล็อคอิน (สามารถ Log-in โดย Facebook, Google)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/981/1*VKg1_BIIISdB2e9-X4l5Ww.png" /></figure><p>5.เมื่อ Log-in สำเร็จแล้ว ให้กลับไปที่ Icon Account อีกครั้ง จากนั้นเลือก Manage License</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/466/1*1JU801ivGN5TIK5ROrvzlw.png" /></figure><p>6. เลือก Activate License จากนั้นเลือก Unity Personal (สามารถเลือกหัวข้อย่อยใดก็ได้ภายใน Unity Personal)</p><p><strong>หมายเหตุ : Unity Personal มีอายุ 15 วัน หากมีความต้องการที่จะต่อ License ต้องกลับมาทำหัวข้อที่ 6 ซ้ำ</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pbvSPjXCgMcf_iITh5D8Rg.png" /></figure><p>7.จากนั้นกลับมาที่ หน้าหลัก แล้วเลือกหัวข้อ Install ดังรูปทางด้านล่าง</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hRHYLFWxqcgHO1zBw3AE7Q.png" /></figure><p>8.เลือกหัวข้อ Add จากนั้นเลือกไปที่ Recommended Release</p><p><strong>หมายเหตุ : ในกรณีนี้ กระผมได้ทำการติดตั้งไปก่อนแล้วจึงทำให้ไม่สามารถกดเลือกได้</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GPvYWCe0dNboFqZFFQ73Sg.png" /></figure><p>9. กด Next จนกระทั้งโปรแกรมทำการดาวน์โหลดและติดตั้งเสร็จเรียบร้อย</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6fok8MakcG0hNbMjZ284bA.png" /><figcaption>หากต้องการส่วนเสริมสามารถติ๊กเลือกได้ตามต้องการ</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W_nDAiIA4RGo-d3KtAwh6A.png" /></figure><p>10. เมื่อติดตั้งเสร็จสมบูรณ์จะปรากฎเวอร์ชั่นและไอคอนดั่งรูปภาพ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rT9quzxaFOCkWPSZmIzACg.png" /><figcaption>ติดตั้งสำเร็จเรียบร้อย~~</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rbrj9N5VX3G7kBH1HgFlhw.jpeg" /><figcaption>picture from <a href="https://www.pinterest.com/pin/541628292665776427/">https://www.pinterest.com/pin/541628292665776427/</a></figcaption></figure><h3><strong>Create Project and Import Assets</strong></h3><p>ขั้นตอนนี้เป็นขั้นตอนการสร้างโปรเจกต์และทำการเพิ่มส่วนเสริมต่างๆลงไปในตัว<br>โปรเจกต์</p><ol><li>เปิดโปรแกรม Unity Hub จากนั้นเลือกปุ่ม New</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8cAgOToO0xLWQezHs38Nqw.png" /></figure><p>2.เลือก Template 3D ดังรูป ตั้งชื่อ โปรเจกต์ และเลือกตำแหน่งเก็บข้อมูลของโปรเจกต์ จากนั้นกดไปที่คำสั่ง Create</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D2WMy2hOJm6d5lnoX_qx1A.png" /></figure><p>3.เมื่อโปรแกรมทำการสร้าง โปรเจกต์ ขึ้นมาแล้วจะได้เป็นรูปร่างหน้าตาดังรูป</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3emfivPYUUPFrfXioPJSig.png" /></figure><p>4.เพิ่ม Unity Standard Assets ที่ <a href="https://assetstore.unity.com/packages/essentials/asset-packs/standard-assets-for-unity-2018-4-32351">https://assetstore.unity.com/packages/essentials/asset-packs/standard-assets-for-unity-2018-4-32351</a> โดย Log in ใน Account เดียวกันกับ Unity Hub</p><p><strong>Assets เปรียบเสมือน เลโก้ ที่ต่อเสร็จแล้วและนำมามัดรวมกันไว้หลายๆชิ้น<br>ทำให้ผู้พัฒนาไม่จำเป็นที่จะต้องมานั่งสร้างอนิเมชั่น โมเดล และต่างๆอีกมากหมาย โดยมีทั้งเวอร์ชั่นฟรีและเสียเงิน</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*94IzHPcGulX4hhWlHGdTpg.png" /></figure><p>เลือก Add to My Assets จากนั้นเลือก Open in Unity</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IScM97qrIA7wY9_JQjiJHQ.png" /></figure><p>ตัวโปรแกรม Unity จะโผล่ขึ้นมา ดังภาพ เลือกคำสั่ง Import จากนั้นเลือกคำสั่ง Download</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OnQPtRCgfPuhGY5k-FLsVg.png" /></figure><p>เป็นอันเสร็จสิ้นการสร้างโปรเจกต์และนำ Assets เข้ามาใช้งานครับ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AwU4xaCfuf2Nx0f4u-w9WQ.jpeg" /><figcaption>picture from <a href="https://www.pinterest.co.uk/pin/251146116699282436/">https://www.pinterest.co.uk/pin/251146116699282436/</a></figcaption></figure><h3><strong>Create Terrain and Characters 3D</strong></h3><p>โดยในหัวข้อนี้จะเป็นการสร้างภูมิประเทศแบบคร่าวๆและนำตัวละครจาก Assets มาวิ่งเล่นภายในโปรแกรมครับ</p><h3><strong>Terrain</strong></h3><p>1.เลือกหัวข้อ Game object &gt; 3D Object &gt; Terrain</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WBFNiWIMjBQw5FQ5qCHk1g.png" /></figure><p>2.เปลี่ยนแปลง Terrain หรือ ภูมิประเทศ โดยเลือก Paint Terrain และปรับค่าในช่องบาร์ให้กลายเป็น Raise or Lower Terrain</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ncptNmZW3wKI9tAuSSDqgg.png" /><figcaption>Terrain หรือ ภูมิประเทศ ยังไม่ถูกเปลี่ยนแปลง</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R9w_7Pms99o8mThm0QZelg.png" /><figcaption>Terrain หรือ ภูมิประเทศ ถูกเปลี่ยนแปลง</figcaption></figure><h3><strong>Tree</strong></h3><ol><li>สร้างต้นไม้โดยเลือก Paint Tree จากนั้นเลือก Edit Trees&gt;Add tree</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iB9n7NgpgAAzwzBCP767qw.png" /></figure><p>2.กดไปที่ตำแหน่งดังรูปภาพ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CVwVOYKcsBKoCliFEl6KZQ.png" /></figure><p>3.จากนั้นเลือกต้นไม้ที่ต้องการ เมื่อทำการเลือกสมบูรณ์ คลิกเลือกไอคอนรูปต้นไม้ทางด้านขวามือ จากนั้นคลิกวางบนตำแหน่งที่ต้องการบน Terrain</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WptmldjWkRXU2lUrNolK-Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dV6-fPZ_mc8Iian6B_Pqew.png" /><figcaption>หลังเปลี่ยนแปลง</figcaption></figure><h3><strong>Character</strong></h3><p>มาถึงส่วนสุดท้ายของ Blog ส่วนนี้เปรียบเสมือนหัวใจหลักของตัวโปรเจกต์นั่นเองครับ</p><ol><li>เลือก Project ในมุมซ้ายล่างจากนั้นเลือก Characters&gt;ThirdPersonCharacters&gt;Prefabs</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Nz7NG8L8YVd7M2WpONDSKA.png" /></figure><p>2.ลาก ThirdPersonController ไปไว้ใน Terrain จะได้ดังรูป</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pGdo5gEK98SHvBht7B0RGw.png" /></figure><p>3.กดที่หัวข้อ ThirdPersonController จากนั้นทำการ Copy ค่า X และ Z</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j0Kc-SL_kmSXwYuJ_CP8Dg.png" /></figure><p>4.เลือกหัวข้อ Main Camera จากนั้นนำค่า X และ Z ที่ Copy จากหัวข้อที่ 3 ไปใส่ในค่า X และ Z ของ MainCamera</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J2MvkYjbBj1eFEiGI5387A.png" /></figure><p>5.เลือกคำสั่ง Movetool เพื่อปรับองศาของมุมกล้องที่จะแสดงภายในเกมโดยจะเห็มุมมองตัวอย่างที่ทางด้านล่างขวา</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9B4ELuF_W2B2p097eObz_w.png" /></figure><p>6.เมื่อได้มุมกล้องที่ต้องการแล้วให้นำหัวข้อ Main Camera ไปไว้ใน ThirdPersonController</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4HIgxQ2bUToA3L6sJmNl7w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IxjpaPsPUaoKYHkNHWCfOQ.png" /><figcaption>นำ Main Camera มาไว้ใน ThirdPersonController เสร็จสมบูรณ์</figcaption></figure><p>7.กด Play เพื่อทดสอบ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m23R6YnQXRzIRvoAPEiwFg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9tU3GHoAilBVLPD7ACq9kg.png" /></figure><p>ก็จบกันไปแล้วนะครับสำหรับเทคนิคและการสร้างเกมเบื้องต้นเล็กน้อย โดยกระผมหวังเนื้อหาจาก Blog นี้จะเป็นประโยชน์กับผู้อ่านไม่มากก็น้อยนะครับ หากมีเนื้อหาผิดประการใดตัวกระผมต้องขออภัยมา ณ ที่นี้ด้วยนะครับ ขอบคุณครับ</p><p><strong>References</strong></p><p><a href="https://targetjobs.co.uk/careers-advice/job-descriptions/455349-video-game-developer-job-description">Video game developer: job description</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FlBICuYF4OHk%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DlBICuYF4OHk&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FlBICuYF4OHk%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d1d0d598d1ef8d423bac5e8ee87e050d/href">https://medium.com/media/d1d0d598d1ef8d423bac5e8ee87e050d/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Feg9PxcNPGB4%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Deg9PxcNPGB4&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Feg9PxcNPGB4%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/ba579656ecc02710734a63f9ea471bbb/href">https://medium.com/media/ba579656ecc02710734a63f9ea471bbb/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d3dcdc559055" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>