[EN] Blender : Animation Tab

This article discusses how to create a basic animation from Blender (We used version 3.0) to create the movement of the robot arm as shown in Figure 1. The content of this article introduces Animation Tab, model preparation, and put on the skeleton and Key Frame animation as a basic guide for those interested in creating further animations.

Figure 1 Mechanical arm example
Read More

[EN] Unity3D The great game maker

This article introduces Unity3D, a very popular game creation program. Because there are so many facilities needed to make a game. Called quite complete, such as the manipulation of three-dimensional objects, gravity, system movement of objects, can create games on multiple platforms for example. Controlling objects requires knowledge of a programming language which can be practiced.

Figure 1 Unity’s logo
Read More

[EN] Blender : Low Poly Man

This article is a record of the process of forming a low polygon with Blender, a free distribution software, and revealing the code. It is currently version 2.93.6 LTS, starting from the box and cutting off the left side. After that, use a Mirror Modifier to make the left and right sides the same. Making adjustments to only the right side, causing the left side to affect as well. After that, arrange the shape as shown in Figure 1.

Figure 1 Forming from the body
Read More

[EN] Simple MineSweeper

This article is an experiment to create a Simple MineSweeper as shown in Figure 1, using an ESP32 microcontroller board with a 1.8″ REDTAB st7735 display. The display resolution is 128×160, the same hardware as Simple Tetris [Part 1, Part 2 and part 3] mentioned earlier, still using MicroPython as the main. The explanation starts step by step from screen generation, randomization, counting, motion control, scrolling the options frame turn off visibility, establishing a relationship between identifying where the bomb is likely to be, picking open and counting points at the end of the game.

Simple MineSweeper is one of the first games we’ve been imitating to study ideas and develop programming techniques since the DOS era and the GUI-based Windows operating system DOS, which was written and worked on the DOS operating system at the time, change the mode to graphics mode to contact with mouse and draw pixels by yourself (It’s the same thing as writing on the ESP32 microcontroller board, but it doesn’t have an operating system to use) So let’s get started.

Figure 1 simple mineSweeper
Read More

[EN] Simple Tetris Ep.3

The final article on making a Simple Tetris game using MicroPython and an esp32 microcontroller, as written in parts 1 and 2 of the first two articles, is described in the article below. Readers learn to design data structures, drawing the seven types of falling objects and controlling them to move left, right, and rotate. The second article has the object fall from above and keep the object’s position state. And in this article, the falling objects can be stacked along with moving left, right, and rotating the object will check for collisions with previous objects that have fallen before. Also, check if the object falls to the bottom if there are any rows without spaces. If any rows with no spaces are found, they will be deleted. And finally added a section to check the end of the game in case there is no place for objects to fall and move again as in Figure 1, ending our simple game making process.

Figure 1 Our game in this article
Read More

[EN] Simple Tetris Ep.2

From the previous chapter, we have drawn the background, random objects, object drawing, left and right moving and rotating. In Part 2 of the article, which is the preceding final chapter of the Tetris series, the topic is about creating a backdrop as a grid data structure. If an object falls to the bottom, it converts that object to a table of data as shown in Figure 1, and improves the way the object falls and controls/renders the new object by using a timer without checking for collisions from moving left / right, checking if the falling object overlaps the previous object, rotation and row cutting, which will be discussed in the last article or Simple Tetris Ep.3

Figure 1 The game in this article
Read More

[EN] Simple Tetris Ep.1

This article introduces how to write a simple Tetris game by displaying it in a grid of 10 widths and a height of 16 as shown in Figure 1. Using esp32 microcontroller board connected to ST7735 display and 8 switches for controlling. Importantly it is written in Python via MicroPython compiled using the st7735_mpy library. In this article, we talk about storing 7 types of objects that fall, to support the display and rotation of objects with moving objects left and right. The controls and logic of the Tetris game will be discussed in the next article.

Figure 1 Sample game in this article
Read More

[EN] Collecting flags in a maze

This article is an example of writing a game. Move the character to walk in the maze to collect flags that are randomly positioned as shown in Figure 1, where the character will walk in the specified channel and can’t penetrate the wall. With a warning sound when trying to walk in an impossible location and when walking in any direction will change the image of the character to turn the face to that direction. In addition, pressing A will randomize the position of the new flag, pressing B will randomize the player’s position, and pressing D will exit the program. The board for use is still dCoreML4M as before, let’s get started.

(Figure. 1 The game in this article)
Read More

[TH] Blender : Animation Tab

บทความนี้กล่าวถึงการทำเอนิเมชันแบบพื้นฐานจากโปรแกรม Blender (ผู้เขียนใช้รุ่น 3.0) ในการสร้างการเคลื่อนไหวของแขนกลดังภาพที่ 1 โดยเนื้อหาของบทความนี้แนะนำเกี่ยวกับ Animation Tab, การเตรียมโมเดล, การใส่โครงกระดูก และการทำเอนิเมชันแบบ Key Frame เพื่อเป็นแนวทางพื้นฐานสำหรับผู้ที่สนใจสร้างเอนิเมชันต่อไป

ภาพที่ 1 ตัวอย่างแขนกล
Read More

[TH] Unity3D สุดยอดโปรแกรมสร้างเกม

บทความนี้แนะนำเกี่ยวกับโปรแกรม Unity3D ซึ่งเป็นโปรแกรมสร้างเกมที่ได้รับความนิยมอย่างมาก เนื่องจากมีสิ่งอำนวยความสะดวกที่จำเป็นในการสร้างเกมอย่างมากมาย เรียกได้ว่าครบถ้วนเลยทีเดียว เช่น การจัดการวัตถุสามมิติ ระบบแรงโน้มถ่วง การเคลื่อนที่ของวัตถุ สร้างเกมได้หลายแพลตฟอร์ม เป็นต้น แต่อย่างไรก็ดี การควบคุมวัตถุต่างๆจำเป็นต้องใช้ความรู้ทางด้านภาษาโปรแกรม ซึ่งสามารถฝึกฝนได้

ภาพที่ 1 Unity
Read More