Using The Python Library to Create Simple Game Animations

Main Article Content

Adi Sadli

Abstract

The development of the game world which has recently been growing rapidly, has aroused the interest of some young people, to become a Maker Game (Game Developer), why this job is in great demand because it looks very cool. Maybe it has crossed our minds when playing games on PC or Mobile how they can make this game.


As for Python, it is not only used for programming using Machine Learning models, but also for making games, even the well-known game engines that are commonly used to create complex 2D/3D games such as Unity use Python as a programming language other than C# or C++.


Python is the most popular programming language or it would not hurt to say that it is the next generation programming language. In every emerging field in computer science, Python is actively present. Python has an extensive library for various fields such as Artificial intelligence (Pytorch, TensorFlow), Machine Learning (Numpy, Pandas, Matplotlib) and Game development (Pygame,Pyglet).


In this opportunity, we will know a little about creating a simple game using the Pygame library (Python library). Pygame is a Python module that is designed for game application development. Pygame is one of the most used libraries/modules. This advantage of pygame allows us to create a game with complete features. Pygame is portable, can run on almost all operating systems. To note, Pygame has been downloaded more than a million times, and millions of visits to the official website. Pygame is released by the GNU General Public License (GPL) so that we can make a game application that is free, open source, shareware, freeware and commercial games.


Learning python, of course, must be done gradually and focus on areas of learning that are of interest because of the large number of python modules or libraries with their functions and uses. To become a game developer, we must know the basics of making games, one of which is how to create animations on a game object.


Making this game animation only revolves around how to make an object consisting of sprites or several images into animation and use the up, down, left and right arrow keys to move the object. The objects in the game consist of objects commonly called player and opposite.

Article Details

How to Cite
Sadli, A. (2022). Using The Python Library to Create Simple Game Animations. International Journal of Management Science and Information Technology, 2(2), 21–31. https://doi.org/10.35870/ijmsit.v2i2.699
Section
Articles

References

Ridwan Fadjar , 2013. Learn Basic Python Programming , West Java, Indonesia

Belajarpython , Python . viewed August 12, 2021, https:// learningp ython.com/tutorial/apa-itu-python

Hendri, 2003, Quickly Proficient in Python , IlmuKomputer.com.

Pythonindo, 2019, Object Oriented Programming in Python. viewed August 18, 2021, https://www.pythonindo.com/pemrograman-orientasi-objek-di-python/

WebApp, 2021, List of 10 Best Python IDEs and Code Editors of the Year . viewed August 10, 2021 , https://appkey.id/pembuatan-application/mobile-programming/python-ide

Youtube, 2021, Learn Python by Building Five Games - Full Course . view: 01 August 2021, https://appkey.id/pembuatan-application/mobile-programming/python-ide

Askpython, 2021, Easy Games in Python, viewed 05 July 2021, https://askpython.com/python/examples/easy-games-in-python

Pygame, 2021, GettingStarted , viewed August 10, 2021, https://pyga me.org/

Codepolitan, 2021, Learn How to Make 2D Games with Python and Arcade, viewed June 14, 2021, https://www.codepolitan.com/learning-how-to-make-game-2d-with-python-dan-arcade-5adff78d1db9b/

Abdul Kadir, 2019, Easy Steps to OpenCV & Python Programming, Jakarta, Elex Media Komputindo

Romzi, Muhammad & Kurniawan, Budi 2020, 'Python Programming Learning With Algorithmic Logic Approach', Journal of Informatics Engineering Mahakarya , vol. 3, no. 2, hh. 37-44.

Ramsari, Nopi & Ramadhan, Gilang 2018, 'The Naila's Survival 2d Side Scrolling Game Based on Android', FIKI Journal of Information and Communication Technology, vol. 8, no. 2.

Kevin & Amelia Ananda 2017, 'Macromedia Flash-based English Game Application using the waterfall method', Indonesia: Simki-Techsain , Vol 01 No 07.

Martono & Teguh, Kurniawan 2015, 'Game Development Using Game Engine Game Maker', Indonesia: Journal of Computer Systems (JSISKOM), vol 5 No 1.

Mahardhika & Putra, Alfian. 2015, 'Developing 2D Adventure Android Game MR Potato Using Unity' . Indonesia: Go Infotech Scientific Journal, Volume 21 No.2.

Mestadi, Walid et al, 2018, 'An Assessment of Serious Games Technology: Toward an Architecture for Serious Games Design' . Morocco: Hindawi, International Journal of Computer Game Technology, Volume 2018, Articel ID 9834565.

Adi, Munadi 2014, 'Development of an Educational Game Knowing the Heroes of the Indonesian Nation's Heroes'. Indonesia: Scientific and Computer Journal (KOMPUTA), ISSN 2089-9033.

Putri, Bellia Dwi Cahya 2016, 'Design of Flash-Based Gobak Sodor Multiplayer Game Applications in Local Networks. Journal of Technology and Computer Systems (JTSiskom), Vol 4 No.2.

Soleh, Rachmat 2018.' User Experience Analysis of Multiplayer Online Battle Arena (Moba) Game Using Game Experience Questionnaire (GEQ) on Game DOTA 2', Journal of Information Technology and Computer Science Development, Vol 2 No.9 ISSN:3067-3076.

Utami, Reny, Purnama Bambang Eka & Sukadi, 'Creating a Multiplayer Dakon Traditional Game using Java', Indonesian Journal on Computer Science (IJCSS), ISSN: 1979-9390.