"Pixel Map Creator" Development #4 - 2021.10.08

이미지
I finally figured out how to build the Unity program and run it on my Android phone. It was originally missing the NDK, SDK, and JDK, which I managed to install.  The Screen.width and Screen.height works perfectly, and the camera size adjusts to the phone size. The pixels are now squares instead of squished rectangles.  I also made it so that whenever I draw, there will be a one-pixel border. Doing the border was nearly impossible with my original method of setting tiles, so I had to completely change my method of setting tiles.  There are some thin black lines, and I can't figure out why they are there. I will try to fix it soon.

"Pixel Map Creator" Development #3 - 2021.10.03

이미지
Programming Previously, I had a problem where the tilemap's size ratio gets weird when run by a mobile device. I think I have the solution for this now, which is to adjust the orthographic camera's size according to the screen size, using Screen.width and Screen.height . However, I can't test it out right now because for some reason I can't download JDK, which is essential for running the program on Android. So I decided to make something else until that problem is fixed; I made different brush sizes that could be adjusted using a slider. This was easier than I had thought, since simply making the tile bigger and placing it worked.  I also made it so that the user can't draw outside a border. Next, I will try to make an eraser and a paint bucket tool, which would more complex to make.  Github:  https://github.com/YellowHowler/PixelMapCreator

"Pixel Map Creator" Development #2 - 2021.10.3

이미지
Research Since the game would be for an Android device, I needed to know how to make Android games using Unity. To learn how to do this, I watched a few videos: "Making an IOS/Android game in UNITY - Beginner Tutorial - #1" by Blackthornprod ( https://www.youtube.com/watch?v=CGleQZVgdN4&t=40s&ab_channel=Blackthornprod ) "TOUCH CONTROLS in Unity!" by Brackeys ( https://www.youtube.com/watch?v=bp2PiFC9sSs&list=WL&index=1&ab_channel=Brackeys ) "Controlling Cross-Platform Characters with Unity Input System | Tutorial" by Unity ( https://www.youtube.com/watch?v=5tOOstXaIKE&t=207s&ab_channel=Unity ) Setup After watching the videos, I installed Android Studio and set up the Unity project so that it could run for Android devices. I also installed "Unity Remote 5," which is a mobile application that allows watching previews of a Unity project using a mobile device. Programming I copy-pasted some codes from my painting test and ...

"Pixel Map Creator" Development #1 - 2021.10.02

이미지
 Day 1 of working on my Unity project, "Pixel Map Creator." Research The project will require a feature I never programmed in Unity before: drawing. Users will be able to draw their custom maps on a canvas-like area. In order to make this happen, I will have to do some research on how to program this using Unity. After watching "Implement Drawing and Saving in Unity 2018 HD" by DitzelGames on Youtube ( https://www.youtube.com/watch?v=DCD8Pt1zf4c&ab_channel=DitzelGames ), I thought about how to make this work: 1. Detect if the user is touching the screen. When developing, I will have to detect the mouse button . 2. Constantly instantiate (or create) a game object in the position of the mouse cursor (or touch). These will be the pixels.  3. Merge the created objects into one so that I won't have to deal with a bunch of game objects.  The first two were simple, but I had no idea how to do it in a 2D project.  Then, I discovered something called a tilemap , and...

"Pixel Map Creator" Development #0 - 2021.10.02

이미지
I have always been interested in fantasy worldbuilding. Upon exploring various platforms related to worldbuilding, I discovered that there is a whole community of people with a genuine interest in worldbuilding. I wanted to create a tool that people of this community and the general public could enjoy.  Map building is a crucial process in worldbuilding. Having a well-organized map of your world helps you to visualize your world in an appealing way.  I've also drawn maps of my world before, using Medibang Paint Pro, one of the painting programs I use: There are several websites for worldbuilding and map building. My personal favorite is Inkarnate (https://inkarnate.com/), which is excellent for creating fantasy maps. However, I found them rather hard to use, which is why I just drew my maps in a painting program.  It is also inconvenient that these websites are suitable for computers only; it would be convenient if I could draw my maps during short breaks using my phone....