Andrei Clinciu
- 2017-02-13T16:12:00Z
- 3 min to read
Why should you learn and love to use Linux as a development platform?
This question will for sure be something any serious developer asks himself.
Yes, you could use Windows or Mac but why Linux for development?
The biggest reason is that everything is Open Source. This means you have access to binaries and the code to see how something works. Naturally, not anyone using Linux will look at all the source code. But compiling your own binaries from source is an essential skill.
read more
Andrei Clinciu
- 2017-01-05T20:11:00Z
- 5 min to read
This is Example 2 in the series about learning to program by making games with Tcl and Tk.
https://andreiclinciu.net/introduction-getting-started-first-steps-learn-to-code-by-making-games-tcl/
Today we will be creating a Tic tac Toe game.
Again as in the previous example https://andreiclinciu.net/number-guessing-game-tcl-tk/ we will be doing this in multiple versions
Version 1
I won't explain everything, but what we will do is very simple:
- We draw a 3x3 grid of buttons
- When we click a button it switches by changing it to X or O
- depending on the previous setting, registering this in the global gameboard variable
- Switching X or O after each click, disabling the command ( so you can't click 10 times)
- Initialize the Gameboard
read more
Andrei Clinciu
- 2016-12-07T18:42:00Z
- 1 min to read
Linux is very stable and there are very few apps that can freeze the desktop. With the gaining popularity Linux has especially since the gaming industry is moving toward Linux it's quite necessary to know a few tricks.
As I've recently discovered Cinnamon has some issues. But running apps in Wine can also cause problems.
There is a very easy way to fix it without rebooting and losing all your open apps, files and tasks
read more
Andrei Clinciu
- 2016-11-26T16:34:00Z
- 1 min to read
GraphicsMagick is an enhanced version of ImageMagick which is a Image library used by many applications and websites to edit images.
The main strength of GraphicsMagick is the power it can harness on multicore devices via OpenMP.
You can download binaries and the source code from http://www.graphicsmagick.org/
read more
Andrei Clinciu
- 2016-11-19T15:15:00Z
- 5 min to read
This is a Game Coding Tutorial
If you got here by sheer luck please read through the introduction at : https://andreiclinciu.net/?p=80&preview=true
The Game:
We will start with a simple game where the player guesses a random number between 1 and 100 (or anyother maximum value) generated by the computer.
We'll start small and as we code we will add more functionalities along the way, this will make it easier to understand the process and changes.
You'll see that at every revision and version we will change specific things, and even change the way we did something in a previous version.
It's very important to understand that programming is not something static but a dynamic action of changes and improvements.
As we advance with our games we'll explain the changes less and less and we won't talk about previous concepts unless there is a catch.
In normal projects you need to think out the project on beforehand with all the requirements and then start coding. Requirements can change, and the code will change too so always review the old version with the newer version and see what we've added.
read more
Andrei Clinciu
- 2016-11-12T18:24:00Z
- 3 min to read
These guides and tutorials will be written in Tcl/Tk. There are multiple reasons for this.
NOTE: This guide is a little bit "outdated" (it's from 2016) since then I have long been working on Phaser games in HTML5, CSS3 and JavaScript in 2017. Maybe I will also post the Phaser games someday too. For now follow along with the Tcl/Tk ones.
But learning to make games in Phaser is more difficult than doing them in Tcl/Tk because you need to understand HTML/CSS javascript and phaser, Whilst with Tcl/Tk you just need to know the basis of Tcl and Tk which are pretty easy. I recommend after you have a basic of programming knowledge to go after C/C++ based games and/or JavaScript games.
Tcl goes perfectly together with Tk, a toolkit for drawing User Interfaces.
Tk by itself may seem a little outdated compared to modern alternatives but it's the perfect choice for beginners who have no previous knowledge of programming.
read more
Andrei Clinciu
- 2016-04-16T15:16:00Z
- 4 min to read
Fossil is a great SCM Source Control Management system.
git remains by far the most used version source control system.
I still prefer to use Fossil for projects where I'm the only developer or we have a very small team of people working on a project. Fossil beats any other source control system. It's even better than git in many instances.
You should start using fossil for your next projects.
I'll explain why Fossil is so great. We'll be reviewing some of the awesomeness of Fossil
read more
Andrei Clinciu
- 2016-01-01T00:00:00Z
- 4 min to read
There is a very powerfull user Interface wrapped around youtube-dl which will allow you to download mass video's from youtube.
https://github.com/MrS0m30n3/youtube-dl-gui/releases/download/0.4/youtube-dl-gui-0.4-win-portable.zip
Any person that uses a pc for more than 2 hours a day should learn to use the command line. Why? Consider these reasons:
- Powerfull - The commandline is actually your friend, using It wisely will not only teach you to do your job faster and have fun while doing it!
- Endless functionalities - Most programs have an user interface which is actually hiding how the fun stuff works. And to do multiple things you would need to download 100 different programms. In the command line you have unlimited options
- Win Time - You can spend hours when you want for example to download 100 links with most programs which work 1 by 1
- Security - Most programs are not open source so you don't know if you're downloading a virus or a good working program
We will be using youtube-dl which is a Python script that can download video's from Youtube.com.
read more