This article discusses bringing a Unity-developed WebGL-style game onto a server running Ubuntu operating system in the Google Compute Engine.
Developing a game with Unity, we can code a game once and create a game on multiple systems, whether it’s Windows, Android or the web, etc. Before we can put our game on the server, we need to modify it. Build target to WebGL first by going to File > Build Settings and selecting Platform as WebGL as shown in Figure 1.
In browsers, compressed files are encoded to reduce data usage, we need to select the compression that the browser supports in Player Settings > Publishing Settings > Compression Format. If we don’t want compression, it can be set to Disabled.
Then build and select the location to store the files, we will get the files roughly as shown in Figure 3.
The game will be able to run on the web, allowing us to upload all the files to the server immediately. But don’t forget the location or URL that can be accessed from outside as well. By the way, we upload the file in apache to be able to access it.
After uploading and specifying the URL location, we can play the game right away. Everyone can go and try it out at https://www.jarutex.com/www/html/lab/
Uploading games to the server is easy. Since the games obtained from Unity are HTML files, they can be used in the browser immediately. But the thing to be concerned about is compression. If the browser does not support the required compression, our game will not work.
(C) 2022, By Jarut Busarathid and Danai Jedsadathitikul
This article uses the GPIO of the PIC18F458 microcontroller connected to an ADC module or an analog-to-digital converter module for reading voltage levels in the 0 to 5V range from the input signal. This allows the system designer to consider the details of the voltage from the circuit, such as from the variable resistor, resistors change their values according to the brightness or microphone values, for example, to process these values or enter the next working condition, such as reading the voltage to report the result as a voltage in the Lo, Hi or unstable level, etc. On the computer architecture experiment board, there are 4 sets of adjustable resistor circuits as shown in Figure 1 makes it possible to study programming to use the ADC module and be able to apply it in the future.
This article is the application of GPIO of PIC18F458 to operate the circuit of 8 LEDs arranged in the same position as the numbers shown in Figure 1 by using 8 LED to be rearranged and called 7-Segment that can be applied to display numbers and another number of characters. In addition, the experimental board has installed a 7-Segment of 4 digits, allowing you to write a program to control the display of 4 digits of data.
After creating the project and basic programming code from the previous article using MPLAB X IDE, this article is the use of a microcontroller to be used as a signal output unit or Output and input signal or Input through the port of PIC18F458 both port A, B, C and D through circuit LED and Switch.
This article uses the MPLAB X IDE development kit (Figure 1) for use with Microchip’s 8-bit microcontrollers in C language through a translation tool called XC8 as a baseline for the next article’s use. The procedure for developing a program with this tool is as follows:
Create a project file and set the microcontroller chip type to PIC18F458.
Generate a C language file for the XC8 translation Pack.
Generate information about microcontroller settings to be pasted into the program code.
Compile the program.
Bring the resulting file to upload to the board via PICKit2 tool or later.
In the previous article, we introduced the boards used in computer architecture labs and the software used in practice. This time, we will discuss the features and diagrams inside the PIC18F458 from Microchip‘s documentation as a basis for programming the capabilities of the microcontroller in the next article (The details of the PIC16F877 can be read from this article.).
This article is a continuation of the article on how to take care of the body for people who work in front of the computer for a long time or people who have problems from sitting for a long time. This talks about the piriformis muscle, its symptoms, causes, and how to relieve it.
This article describes Queue Data Structures previously written in the Python Queue Data Structure article and is frequently used with the MicroPython example, but this article is written in C via Arduino IDE to use with microcontroller board LGT8F328P, SAM-D21, ESP8266, ESP32 and ESP32-S2 as shown in Figure 1 by using an example of the array structure and a single link list as a queued data structure. This article is probably the last article on JarutEx.