{"@attributes":{"version":"2.0"},"channel":{"title":"cemuka","link":"https:\/\/cemuka.github.io\/","description":"Recent content on cemuka","generator":"Hugo -- gohugo.io","language":"en-us","lastBuildDate":"Sun, 18 Jul 2021 20:04:27 +0300","item":[{"title":"Introduction to quill, a minimal unity ui framework with lua modding support | devlog_0","link":"https:\/\/cemuka.github.io\/posts\/introduction-to-quill\/","pubDate":"Sun, 18 Jul 2021 20:04:27 +0300","guid":"https:\/\/cemuka.github.io\/posts\/introduction-to-quill\/","description":"Motivation As a developer we craft interface elements and since so many visual element involved in the process, our engine would have a graphical view or tool for help you to handle shapes, color and layout. After that, when you add logical behavior to these elements you have to deal a reference hell.\nIn unity, visual ui objects can be created in canvas and can be modified via their component. Later you would save those as a prefab and reference them to another component."},{"title":"Exploring TCP Network in Unity","link":"https:\/\/cemuka.github.io\/posts\/unity-exploring-tcp-network\/","pubDate":"Sun, 04 Apr 2021 20:04:27 +0300","guid":"https:\/\/cemuka.github.io\/posts\/unity-exploring-tcp-network\/","description":"UPDATE I also made another project built on Telepathy and MessagePack.\nhttps:\/\/github.com\/cemuka\/Telegraph\nUnity TCP Server\/Client I have checked out several network libraries to use with unity. Then I wanted to make a simple one from scratch.\nI found some tutorials and repos along the way and they helped a lot. But mostly, they were too complicated or abstracted. I just needed a dune buggy.\nSo, I tried my best to keep it simple and lean."},{"title":"Create an Item Editor with UI Elements without uss and uxml in Unity","link":"https:\/\/cemuka.github.io\/posts\/unity-ui-elements-editor\/","pubDate":"Sat, 27 Feb 2021 20:04:27 +0300","guid":"https:\/\/cemuka.github.io\/posts\/unity-ui-elements-editor\/","description":"So you wanna do some editor scripting? I&rsquo;ve been following UI Elements since its preview release. Often, I tried from their examples repo but couldn&rsquo;t dig in so much and this time I&rsquo;ll make a little editor tool walkthrough.\nUI Elements UI Elements is the new kid in town for Unity developers. I give it a go their Recently released some official beginner resources here but I didn&rsquo;t like that uss and uxml stuff."},{"title":"Download Images From a Url Endpoint in Runtime with Unity","link":"https:\/\/cemuka.github.io\/posts\/unity-runtime-sprite-from-a-url\/","pubDate":"Sat, 07 Dec 2019 20:04:27 +0300","guid":"https:\/\/cemuka.github.io\/posts\/unity-runtime-sprite-from-a-url\/","description":"In this tutorial, we will make a GET HTTP method to download an image and use it in the scene. I&rsquo;ll use this 600x600 image from JSONPlaceholder .\nFirst, making a client. Create a script Client.\nusing UnityEngine; using UnityEngine.Networking; using System.Collections; public class Client : MonoBehaviour { IEnumerator GetTextureRequest(string url) { using(var www = UnityWebRequestTexture.GetTexture(url)) { yield return www.SendWebRequest(); if (www.isNetworkError || www.isHttpError) { Debug.Log(www.error); } else { if (www."},{"title":"Making a REST service using Node and Express to use with Unity - Part 4","link":"https:\/\/cemuka.github.io\/posts\/unity-node-part-4\/","pubDate":"Sun, 10 Nov 2019 14:04:27 +0300","guid":"https:\/\/cemuka.github.io\/posts\/unity-node-part-4\/","description":"So far, we have managed to receive and send data between nodejs server and unity client. But it was limited to display only on console. This part, I&rsquo;d like to build some GUI stuff to make it more pleasing to look at! Unity ninjas love to make some GUI stuff after all \ud83d\ude0e.\nI love Scriptable Objects in Unity. If you missed or dodged it, check out my completed series about MVC with Scriptable Objects in Unity."},{"title":"MVC in Unity with Scriptable Objects Part 3","link":"https:\/\/cemuka.github.io\/posts\/unity-mvc-part-3\/","pubDate":"Thu, 24 Oct 2019 20:04:27 +0300","guid":"https:\/\/cemuka.github.io\/posts\/unity-mvc-part-3\/","description":"Here is the last part of the MVC project.\nI&rsquo;ve tried to make a schema to illustrate the workflow of MVC in unity.\nIn a unity app, MonoBehaviour objects live in a scene, so you could see what objects in the hierarchy. But these objects can&rsquo;t communicate with each other directly. MVC pattern in unity is a useful solution to that problem.\nLet&rsquo;s try to write it simply:\nUser input &ndash;&gt; Controller &mdash;&ndash;createView(ModelData)&mdash;&ndash;&gt; View &mdash;&ndash;display(ModelData)"},{"title":"MVC in Unity with Scriptable Objects Part 2","link":"https:\/\/cemuka.github.io\/posts\/unity-mvc-part-2\/","pubDate":"Sun, 29 Sep 2019 20:04:27 +0300","guid":"https:\/\/cemuka.github.io\/posts\/unity-mvc-part-2\/","description":"This part we will start to make some view elements to visualize item objects and an info panel to display item stats. A very basic inventory system as you guess. I&rsquo;ll focus on inventory panel for this part and we will complete this series with finishing info panel in the next part.\nBut first let&rsquo;s overview for this part:\n Visual components for Item Info and Inventory Item View Prefab in Inventory Populate inventory with Item View Debug."},{"title":"Making a REST service using Node and Express to use with Unity - Part 3","link":"https:\/\/cemuka.github.io\/posts\/unity-node-part-3\/","pubDate":"Tue, 24 Sep 2019 14:04:27 +0300","guid":"https:\/\/cemuka.github.io\/posts\/unity-node-part-3\/","description":"Greetings to all unity ninjas!\nThis part we&rsquo;ll make a POST request from a unity client to the node server. We haven&rsquo;t made a database, yet, so I&rsquo;ll make an array for now.\nStart with server-side. In app.js, remember that we had a single enemy object, this part, I&rsquo;ll make an array and populate with some enemy.\nlet enemies = [ { &#34;id&#34;: 0, &#34;name&#34;: &#34;orc&#34;, &#34;health&#34;: 100, &#34;attack&#34;: 25 }, { &#34;id&#34;: 1, &#34;name&#34;: &#34;wolf&#34;, &#34;health&#34;: 110, &#34;attack&#34;: 25 } ]; Next, tell express to support JSON-encoded bodies."},{"title":"MVC in Unity with Scriptable Objects Part 1","link":"https:\/\/cemuka.github.io\/posts\/unity-mvc-part-1\/","pubDate":"Mon, 16 Sep 2019 20:04:27 +0300","guid":"https:\/\/cemuka.github.io\/posts\/unity-mvc-part-1\/","description":"Welcome to the first part of MVC in Unity with Scriptable Objects. I&rsquo;ll make this part Scriptable Objects only and it will remain plain and simple.\nFirst, hear from unity:\n A class you can derive from if you want to create objects that don&rsquo;t need to be attached to game objects.\nThis is most useful for assets which are only meant to store data.\n Then we should ask."},{"title":"Making a REST service using Node and Express to use with Unity - Part 2","link":"https:\/\/cemuka.github.io\/posts\/unity-node-part-2\/","pubDate":"Sun, 08 Sep 2019 20:04:27 +0300","guid":"https:\/\/cemuka.github.io\/posts\/unity-node-part-2\/","description":"Hello fellow developers! Thanks for all good vibes for part-1. We will deep dive into unity again.\nHere&rsquo;s the github project, if you want to follow along with blogpost.\nI&rsquo;ve decided to make another series, Unity MVC with Scriptable Objects, to boost up our ninja rest communication skills with unity in our development. Follow me on this, I&rsquo;ll update when it&rsquo;s ready!\nLast part, we have started small. This part we will meet JsonUtility class to parse our data."},{"title":"Making a REST service using Node and Express to use with Unity - Part 1","link":"https:\/\/cemuka.github.io\/posts\/unity-node-part-1\/","pubDate":"Tue, 03 Sep 2019 20:04:27 +0300","guid":"https:\/\/cemuka.github.io\/posts\/unity-node-part-1\/","description":"Making a game with unity is super cool. But what about online features like saving some data to a database like user info, progress, items, enemies&hellip;? You may familiar with node and rest api, but to sending a request from unity and handling received data is a bit itchy in unity.\nSo let&rsquo;s throw a blog series with unity and node. Then we gonna host it on heroku!\nIn this part we&rsquo;ll make our &ldquo;Hello World&rdquo; project."},{"title":{},"link":"https:\/\/cemuka.github.io\/about\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/cemuka.github.io\/about\/","description":"Hi there \ud83d\udc4b My name is Cem. I am a Unity Developer.\n\ud83d\udd2d Work  I\u2019m currently working on TFM: The First Men | Mostly UI, tool and gameplay programming as a Unity Developer. I&rsquo;m developer of Village Defence.  \ud83c\udf31 Hobbies I invest my free time on research about several topics.\nTCP network Network is a big one, such a long quest(much xp). From protocols to hardware, I found it hard to step in and it may require a long journey to master your knowledge."}]}}