Pages

Thursday, August 30, 2018

Scarecrow: Work in Progress (31-08-2018)



Finally, here is an update of the Scarecrow Python game programming progress. A lot of things have been added recently and these are a few of them: breakable objects, briefing screen, fire traps, lifts, music and sound effects. Breakable objects such as walls will break down after some time when player steps on them. When they break, they will fall down and turn into the dust. Briefing screen shows information about what player must do to complete quests (objectives). Fire traps move around in circles and player will lose a life when collided with this kind of trap. Luckily, the player has now three lives. Animated heart icons symbolize player lives. A little trigonometry is used for creating fire traps. If player dies, a short lasting shield will be activated to protect the player from traps and other objects for a little while. The shield can be seen as flickering effect. Lifts can move horizontally and vertically. The game currently contains two music tracks - one is for main menu and another is used during gameplay. This is added to make the game more fun. Also, player death sound effect is added into the game. More sound effects need to be added for various actions and objects. So, this is it for now.

Scarecrow: Work in Progress (31-08-2018)



Finally, here is an update of the Scarecrow Python game programming progress. A lot of things have been added recently and these are a few of them: breakable objects, briefing screen, fire traps, lifts, music and sound effects. Breakable objects such as walls will break down after some time when player steps on them. When they break, they will fall down and turn into the dust. Briefing screen shows information about what player must do to complete quests (objectives). Fire traps move around in circles and player will lose a life when collided with this kind of trap. Luckily, the player has now three lives. Animated heart icons symbolize player lives. A little trigonometry is used for creating fire traps. If player dies, a short lasting shield will be activated to protect the player from traps and other objects for a little while. The shield can be seen as flickering effect. Lifts can move horizontally and vertically. The game currently contains two music tracks - one is for main menu and another is used during gameplay. This is added to make the game more fun. Also, player death sound effect is added into the game. More sound effects need to be added for various actions and objects. So, this is it for now.

Sunday, August 26, 2018

Scarecrow: Work in Progress (26-08-2018)



These are some screenshots of my current Python game project. Most of the graphics are made in Inkscape and particle effect system is created using GIMP.

I want to share the links to the useful programs for graphic design with you:
https://www.gimp.org/
https://inkscape.org/

Scarecrow: Work in Progress (26-08-2018)



I am currently working on my new platform game: Scarecrow. This game is based on my previous Python project called "Platformer Game". I improved the graphics including GUI and all other game images in Inkscape as well. Intro begins with a sunset logo. The sun is going down and then suddenly evil force appears. The GUI menu has sound effects (when user interacts with the buttons by mouse or keyboard, sound is being played). Maps are created in Notepad - they are pretty much the same thing as in my mentioned project. Decision is not yet made about gameplay but I got some good ideas. The game is planed to be released only on PC Windows platforms. Maybe, if there is a great success, it could be released to another platforms such as Android. There is still a lot of work left to be done. Currently, this game project contains 31 Python files. Here is the list of the files (in alphabetical order):
1. BackgroundObject.py
2. Button.py
3. Collision.py
4. ControlScreen.py
5. Counter.py
6. CreditsScreen.py
7. Fonts.py
8. Game.py
9. GameCompletedScreen.py
10. GameObject.py
11. GameOverScreen.py
12. HUD.py
13. Images.py
14. InfoScreen.py
15. IntroScreen.py
16. LevelCompletedScreen.py
17. MainMenuScreen.py
18. MapLoader.py
19. Menu.py
20. Particle.py
21. ParticleSystem.py
22. Pickup.py
23. Player.py
24. ProgressBar.py
25. QuitScreen.py
26. Scene.py
27. Screens.py
28. Sounds.py
29. TitleScreen.py
30. TrapObject.py
31. Values.py

The game is exported to executable file using PyInstaller tool. No, it is not yet available for download. I am just doing some tests. I hope you like my new short game demo.

Sunday, August 19, 2018

Calculator 1.0.0.0




Download: https://goo.gl/Fv1Lq6

Calculator demo with basic mathematical operations created in Python programming language using Kivy library.

Click Counter 1.0.0.0




Download: https://goo.gl/2cSCoa

Yesterday I learned about Kivy and here is my first program made with it. Kivy is open source Python library for rapid development of applications that make use of innovative user interfaces, such as multi touch apps. It is cross-platform, business friendly and GPU accelerated. Kivy runs on Linux, Windows, OS X, Android, iOS, and Raspberry Pi. It is possible to run the same code on all supported platforms. Best of all, it is 100% free to use and it can be used for commercial products, also.

Click Counter is my small program which I made using Kivy library. It has less than 100 code lines. The program counts how many times user has clicked the button and displays the result on label and progress bar. Widgets I used for this program are: button, label, progress bar and popup. PyInstaller allows you to package program data files and all required DLLs into stand-alone executable file. You can download and try my demo program, if you want.

You can find more info about this project on the official website: https://kivy.org/

Saturday, August 18, 2018

Platformer Game 1.0.0.0


Download: https://goo.gl/UK3opA

Platformer Game is my very first game created in Python programming language. The project contains only about 500 lines of code and 8 Python modules (in alphabetical order): Counter, Game, GameObject, MapLoader, Pickup, Player, Sounds and Values. Class inheritance is implemented for some game objects such as player and pickup items. Values module has important game data like screen resolution and other settings. The project is compiled into stand-alone executable file using PyInstaller (a program that freezes Python programs/packages into stand-alone executables). The executable file can contain all required data files (images, sounds and music) and also DLL files. Game music requires libogg.dll, libvorbis.dll and libvorbisfile.dll. There is no need to worry about audio playback because all required DLLs are packed into the executable. The executable file size is less than 9 MB. Version info and custom icons can be easily set with a little piece of code for the compiled file. The game uses custom font and game graphics are created in Inkscape. The levels of this game are created in Notepad where each letter represents game object such as player, wall and coin. Well, this is only a small demo game which I made in 2 days. I hope you'll like it.

Controls:
W/A/S/D: Move
Space: Jump
Enter: Start game
Escape: Quit

Gameplay:
Collect all coins.

Friday, August 17, 2018

Platformer Game 1.0.0.0 (Gameplay Video)



Download: https://goo.gl/UK3opA

Platformer Game is my very first game created in Python programming language. The project contains only about 500 lines of code and 8 Python modules (in alphabetical order): Counter, Game, GameObject, MapLoader, Pickup, Player, Sounds and Values. Class inheritance is implemented for some game objects such as player and pickup items. Values module has important game data like screen resolution and other settings. The project is compiled into stand-alone executable file using PyInstaller (a program that freezes Python programs/packages into stand-alone executables). The executable file can contain all required data files (images, sounds and music) and also DLL files. Game music requires libogg.dll, libvorbis.dll and libvorbisfile.dll. There is no need to worry about audio playback because all required DLLs are packed into the executable. The executable file size is less than 9 MB. Version info and custom icons can be easily set with a little piece of code for the compiled file. The game uses custom font and game graphics are created in Inkscape. The levels of this game are created in Notepad where each letter represents game object such as player, wall and coin. Well, this is only a small demo game which I made in 2 days. I hope you'll like it.

Controls:
W/A/S/D: Move
Space: Jump
Enter: Start game
Escape: Quit

Gameplay:
Collect all coins.

Sunday, August 12, 2018

Popcorn (Remake) 1.0.0.0


Download for Android: https://goo.gl/ZvZNpj
Download for desktop: https://goo.gl/6LdECb

A game remake of my previous game with the same name that was released a few months ago. The rules of the game are same: tap the circles to score. Bigger circles will give you more score than smaller circles. If you miss the tap, you will lose one score. This game lasts only 30 seconds. This game version brings much better gameplay with improved sound and graphic effects.

Popcorn game is created in Java programming language and it is available for both desktop and Android devices. Collision detection uses Pythagorean theorem. The reason for using the mentioned theorem is to create perfect collision detection for circles. Anyway, here is a picture of game comparison between remake and old version of the game. I hope you like this one more.



I have created and published over 50 apps on Google Play Store, click here to view my developer profile: https://play.google.com/store/apps/developer?id=Nihad+Liu+Karajko

Popcorn (Remake) 1.0.0.0 (Gameplay Video)



Download for Android: https://goo.gl/ZvZNpj
Download for desktop: https://goo.gl/6LdECb

A game remake of my previous game with the same name that was released a few months ago. The rules of the game are same: tap the circles to score. Bigger circles will give you more score than smaller circles. If you miss the tap, you will lose one score. This game lasts only 30 seconds. This game version brings much better gameplay with improved sound and graphic effects.

Popcorn game is created in Java programming language and it is available for both desktop and Android devices. Collision detection uses Pythagorean theorem. The reason for using the mentioned theorem is to create perfect collision detection for circles.

I have created and published over 50 apps on Google Play Store, click here to view my developer profile: https://play.google.com/store/apps/developer?id=Nihad+Liu+Karajko

Tuesday, August 7, 2018

Traffic Light (HTML/JavaScript)



New small open source project available on GitHub. I have been often creating traffic related software, so here is a traffic light for vehicles created in HTML/JavaScript. The traffic light states are stored into an array of frames (numbers that signify each state). There are five traffic light states in total. The timer interval is set to 100 milliseconds. This traffic light can be easily created in less than 100 lines of code. The canvas is responsive (it can fit to different screen sizes). That feature is realized with a combination of CSS and JavaScript. JavaScript code uses window resize event for handling size changes.

Try it online at: https://nihadliu.github.io/traffic-light/

Visit my GitHub profile: https://github.com/nihadliu

Monday, August 6, 2018

Space Scape 1.0.0.0 (HTML/JavaScript)



My another open source game project released on GitHub. Space Scape is originally created in C++ programming language but this is a basic shooter game version created in HTML/JavaScript. Sound effects and fonts are used for polishing the game. The game screen is responsive, which means that it can fit to different computer screens. I used combination of CSS and JavaScript to achieve this functionality. I hope this small project can be helpful to you in learning and creating something new. The project itself is not so complex, it has only around 600 code lines.

Gameplay:
Red enemy space ships are coming from the top of the screen. You have to destroy them to get score. The game level will be increasing after some time and more and more enemies will be coming down. Do not crash, you have only one life.

Controls:
W/A/S/D: Move
Space: Shoot

Play online at: https://nihadliu.github.io/space-scape/

Visit my GitHub profile: https://github.com/nihadliu

Wednesday, August 1, 2018

Racing Game 1.0.0.0


My first open source game project released on GitHub. The game is created 4 years ago in HTML/JavaScript language.

Gameplay:
There are 5 vehicle types in the game: player, bus, car, motorcycle and tractor. Avoid obstacles on your way and hurry up, you can run out of fuel. Luckily, there are fuel pickups but if you crash, you will lose some of it. You start at the last position: 61st. Try to reach the first place but drive carefully, the stage is not so easy as you think.

Controls:
W/A/S/D: Move
Backspace/Escape: Back

Play online at: https://nihadliu.github.io/racing-game/

Visit my GitHub profile: https://github.com/nihadliu