[Page 2] My learning method, What about yours?

Hello again,

Following the last post, you probably feel more excited to join the game development process :)
We should finish reading this post together and share your thought right before start developing our game, alright?

In this post, I will demonstrate to you my methodology of learning how to program and how to create my own games, I think it will seem to be similar to others.

1. Must be passionate and hard-working in what I am doing
2. Break the big "cake" into small pieces and try to completely finish one before try to "eat" another piece.
3. Read docs, wiki, and help sections from the engine's home page. In this case, it is Cocos2D-x Index by title
4. Hand-coding each example (I meant, re-typing the entire example, do not copy & paste the code)
5. Watch online video tutorials on YouTube
6. Create our very own programming style yet following the world-unified-standard. Confuse, hah? It means the code must be clear and the format should be readable. Variables names, functions' names should be meaningful and written in English even though your first language may not; it is because I observe that almost all the code examples, documentations are in English, and there are many other people around the world can understand and help you when you need (it is just my suggestion)

So, these methods above may be enough to help us begin to learn.
What is your approach of learning? Share it in the comment section below, so we all can see it and I will pick the yours to re-post on this blog post :)

Thank you, and see you in the next page Install Cocos2D-x to develop our games.
Happy coding

[Page 1] Mobile Game Development For Beginners

Hello to all of you,

In early 2014, Flappy Bird was brewing the Game Development Communities worldwide. It's such a strong push to many passionate-indie game developers to be motivated and believed their games can be one day "sparkling" in the top of App Store Marketplaces. Also, there must be many young people had "wished to be like him", "I could have been able to do it", and you know what, me too. However, to become a true game developer whose games get the players' attentions is not the blue-road-to-heaven, the road ahead of you and I is definitely going to have many "thorns" to hurt. I guarantee that, hehe !!

But, don't be discouraged my friends, you will be very proud of your achievement if the way you have gone through. "There are no big dreams nor dreamers who dream small." Just be who you want you to be, and you will become it.

Long story short, let's dive into the solution.

So, we want to create a game that can entertain us as well as bring us some money.
I have been using the cross-platform game engine called Cocos2D-x to develop my simple mobile games.
*cross-platform: means the game after development can be played in many different devices, it can be on your iPhone, Android tablet or a Windows Phone, etc.

Supported programming languages: Lua, JavaScript and C++
I use C++ to develop my games.

Why do I use Cocos2D-X with C++ to create my games? (FYI: there are plenty of multi-platforms mobile engines that allows to create apps and games as well)

At first, when beginning to learn how to make a mobile game, I also tried a lot of tools and engines but finally picked the Cocos2D-x for the following reasons (my very own opinions):

+Cross-platform, writing code once, running it on several operating systems, and many different types of devices (tablet, phones, etc.)
+Support both Windows OS and MacOS, as well as popular and powerful IDE such as Eclipse, Microsoft Visual Studio and XCode.
+Portability, it uses C++, Lua, and JavaScript which are relatively common and easy to learn even for beginners. I chose C++ which I have been taught in my college.
+Open-source, most of other good engines charge you money to personalize your apps (games), others require you to leave the company logo in your apps. However, those are great if you purchase the full version (pro, paid versions). In my opinion, they are good in case you have a start-up studio or a company.
+Great community, and many available tutorials and code examples for us to learn.

Who would be the best fit to follow this game series' blog?

+Enthusiastic with app development (not only games)
+Basic knowledge of computer programming. C++ is preferred for game development
+Basic knowledge of physics
+Knowing graphic design is an asset :)
"Code is the bone, Game-play is the soul, Graphic is the appearance"
+A Windows computer (prefer, I use to develop my game) or a Mac is still okay. If you have a weak computer, you should have a dedicated device (it could be your phone or your tablet, using it for development, testing as well as deployment)
+Time and patience

You may ask, there are many online game-tutorials or blog posts, why do I still need to create this game series?
My answer:
This blog is used not only to help some of you (who may read this) to learn how to create simple mobile games but also is the back-up pages for me to store everything I have been learning digitally, making it easier for me to access anytime and anywhere I want. Everything I know, I learn, I do, I practice, I make mistakes, I will write on this blog as a form of document. I think it will help me to review as well as to learn from other people as well. I may be wrong, I may be making mistakes, you- the reader may be giving me the solution and contribute to the blog, this blog is not only belong to me, all of the resources and learning curve in here can be yours as well :). We love sharing, don't' we?

Thank you for reading,
Be prepared to fight, and to conquer the passion :)
With loves,

See my learning method and share yours in Page 2


Complexity level: easy
#The continue part of HOW TO INSTALL WORDPRESS

This post is applied to many other web hosting services, such as DreamHost, Hostgator, GoDaddy, etc.
I demonstrate this method to the free 000webhost service in this example.

What you need: your favorite internet browser with your full-Wordpress-package-installation in your web hosting server. Learn more at HOW TO INSTALL WORDPRESS.ORG TO YOUR WEB HOSTING FROM SCRATCH

What you do:
1. Access your website (or blog) via your domain name, last time, I create a free web hosting from 000webhost. You will see something like this

2. Fill in the required information and click "Install Wordpress" button
It will lead you to the login page, enter the username and password that you've recently created to sign in the Wordpress control page or Dashboard they called.

3. Now, you have successfully install WordPress in your web server. Try to open your website in the browser. Your will see the default page. If you are happy with the default interface, then go with it. Otherwise, follow the next step to find your best fit.

4. Back to Dashboard, choose "Appearance" tab in the left hand side.
Choose "Add New" to search for thousands of WordPress themes or templates.

5. There are many different cool themes that you can freely install into your website.
Due to we are about to create a free website (free blog), so I suggest we should go with the free option for now. As being said, when you have your content ready to get views and popular on the internet, then consider the paid options.
For this, I prefer the theme call Dazzling, you can search for it in the search box in the Dashboard or download it outside.

6. After that, click "Install"

7. After the installation process, choose Active to make the theme live in your site.
Now, we have a free pretty website.

Install useful plugins in my WordPress site.

Congratulations, your website is now up and running,


Complexity level: Intermediate

#The continue part of HOW TO START A BLOG FOR FREE

This post is applied to many other web hosting services, such as DreamHost, Hostgator, GoDaddy, etc.
I demonstrate this method to the free 000webhost service in this example.

Tools you need: FPT client software, I recommend FileZilla, Wordpress

1. After you login to 000webhost CPanel, scroll down until you see the "Files" category, then choose "View FPT Details" option.
 2. You will see something like this

3. Download and Install a FPT software to upload or download files from the your computer to the web server. I recommend FileZilla, click here to go to its homepage. Download and Install it

4. Open the software, and go to the menubar, choose File -->  Site Manager. Click "New Site" button
5. Fill all the information, in this case, Host, User, and Password (select Normal option from the Logon Type dropdown menu) and click "Connect" button

6.  Now you successfully access your web server via FPT software
7. Go to Wordpress.org to download the latest version of Wordpress software package
At the time I write this post, the latest Wordpress version is 3.8.1

8. After download complete, extract the file by right click and choose "Extract All" option
9. Go to the extracted folder, rename the file wp-config-sample.php to wp-config.php
(remove -sample)

10. Paused. Now, go back to your web hosting CPanel (000webhost in this example)
Browes to the "Software/Services" category, choose "MySQL" option
11. Fill in all the required fields and click "Create Database"

12. You will have the database created (The database is used for store your posts or content in your website)

13. Now, open the file we renamed in step 9 (the wp-config.php) with your favorite text editor. For example, I used Notepad++ (use can use the built-in Notepad text editor on Windows machine)

14. In my case, I changed:
database_name_here --> a1542665_DBname
username_here --> a1542665_name
password_here --> mypassword
localhost --> mysql8.000webhost.com

15. Save it and Close it
16. Drag all the files in the wordpress folder into the public_html folder in your web server in the FPT software

17. Wait for couple minutes depends on your internet speed until all files and folders are uploaded successfully to the web hosting server

18. Click here to see how to confirgure Wordpress from the Browser



Complexity level: Easy
What you need: a computer with internet connection (for setting up the environment - website, or blog domain)

What you will be using: 000webhost.com Free Web Hosting Service with Wordpress.org, Free Google Blogger, and Wordpress Free Blog

What you do - to set up the environment:

I/ Go to 000webhost website, complete the registration step by filling in the require fields as the picture below. Note that you will choose the option that said "free subdomain"
II/ Check your email for confirming your sign up process
II/ Log in to 000webhost panel with your email and password that you have created above.
III/ Now, your site is active
IV/ Click go to CPanel - (Website panel or CPanel is where you can control and see all of your website information, such as domain name, storage, bandwidth, etc. I will talk more about these stuffs later.)

V/ Now your raw website is up and running, but there is nothing in it (I mean, when you try to access your website via your domain name, the technologyforbeginners.host22.com address in my case, for example, you will see some default parameter values that you don't need to worry just for now). It's not 'pretty' yet :)

VI/ Now, this step, we are going to make the site prettier by installing theme and add functionalities for you to easier to control your website without programming or coding involved, OK?

First, make your very first website prettier by installing Wordpress CMS (the free and powerful open source Content Manager System)

Then, install several useful functionality controllers to your very first website, such as comment sections and make your contents to be visible to Google Search Engine in order to have more readers or visitors to your awesome website.

*Note: Many Free Web Hosting Services. Most of them will usually provide a subdomain (yoursitename.website.com) or a directory (website.com/yousitename). If you want to expand your blog site in future, you should consider the other paid options. However, for beginners, my advice is to just focusing on something simple and free at first stage. No matter what how bad or good it is, you will lose nothing, right?
I mean, when you think you are ready to "boom" the internet with your posts (or your site's contents), then buying a web hosting is never late. The important key success is your ideas, folks. :)
Therefore, keep your blog posts or website contents locally in your computer is a must.

Have fun on the internet,
by Technology for Beginners


Complexity level: easy
What you need: a slow Windows computer with internet connection
Tools you will be using: CCleaner Portable version, Auslogics Disk Defrag Portable version. Both the tools are free.
What you do:
1. Open your favorite internet browser (such as Internet Explorer, Google Chrome, Safari, Firefox, or Safari, etc.) to search for those tools above or you can directly access via http://www.piriform.com/ccleaner/download/portable (CCleaner Portable version)
and http://downloads.auslogics.com/en/disk-defrag/ausdiskdefragportable.exe  (Auslogics Disk Defrag Portable version)
2. Close all the applications that are currently running in your computers, specially the internet browsers.
3. Go to the folder that contains the files that you downloaded above. Extract the CCleaner Portable version zip file.
4. Run CCleaner.exe to start the program (no installation required). Choose the options you want to clean (I often leave the options by default)
Choose “Analyze” button and wait until the program complete scanning junk files and temporarily shortcut in your computer. After that, click “Run Cleaner” to remove these files.
Finally, close the CCleaner program.
5. Next, double-click to run the Auslogics Disk Defrag Portable software (still, no installation required)
Select all the drives (or partitions in your computer) by check mark if they are unchecked.
Under “Defrag” button, click in the drop-down menu, and choose “Defrag & Optimize (slower, use once a week)”
Wait for the program to finish arranging all the defragment files in the computer.
After all, restart your computer. Now, you have successfully tuned up your system.
For those who do not want read, watch the video below.  (in the video, I accidentally chose “Defrag” option instead of “Defrag & Optimize (slower, use once a week)”)

Thursday, March 13, 2014