Cocos2d
Pygame
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Cocos2d
-
How does writing shader source code work for OpenGL ES?
As others have pointed out, the biggest difference you're seeing is likely due to the _version_ of OpenGL (and hence GLSL) version. That said, there are still important differences. I'd recommend looking at a comparison between the same shader in a project that supports both OpenGL & OpenGLES. For example, here's a shader from cocos2d-x https://github.com/cocos2d/cocos2d-x/blob/v4/cocos/renderer/shaders/positionColor.vert. Note the only difference in this case is the additional precision qualifier (lowp) for v_fragmentColor. Note too how cocos uses preprocessor macros to handle this, so they don't have to maintain separate shader sources. Depending on your goals, you might be interested in tools like Nvidia cg or nvFX that allow for creating shaders in a dialect agnostic way, but ymmv.
- Im learning C++ and want to make a small game with it. What do you suggest me for graphics?
-
Still have nothing to do with VS Code - WHAT SHOULD I DO WITH IT IN TERMS OF MAKING THINGS THAT ARE RELEVANT TO MAKING AN RPG MAKER MV GAME, NOT JUST EDITING NORMAL TEXT!? + DOES USING VS CODE WITH BASIC THINGS IN GITHUB WORTH IT?
Speaking about markdown files on GitHub, I know that there are some repositories that have very stunning README markdown files, such as this one for Cocos2d-x, whcih includes images in conjunction with text. I might do the same for my repository as well. Considering VS Code have an extension for .md files, this might come in handy when I consider using VS Code to contribute to my game projects.
Pygame
-
Freetype.Font.render_to not respecting surface clip
You should report this as an issue on the pygame github: https://github.com/pygame/pygame
- is mc commands a programming launguage tho?
-
What's the equation equivalent to scale_to_length() ?
The source code is in C (available here) essentially evaluate the current length of the vector, calculate the ratio of the parameter new lenght / curremt_length and multiply all coordinates of the vector by this ratio.
- Organizing Particle Effects
-
I’m 13 and trying to learn python.
If you are into games, PyGame could be your choice for 2d traditional-looking ones, but there are also some that allow you to word in 3d environment.
-
why python is not used in game development? And why are the C+ and C# languages favored?
This is not to say it's not possible to build high quality games in Python, for example DaFluffyPotato (YouTube, Steam Developer Profile) is a developer who made a complete game in Python using pygame and documented a lot of the process on his YouTube channel.
-
2D game developing as a hobbie.
I recommend Love2D (Lua) and PyGame (Python).
- Problems with pygame.joystick.init()! Please help!
-
Can't install Pygame on Mac
Resolved https://github.com/pygame/pygame.git to commit 3ce0b9ec80ba4f58cf640e3ea2b9ea188b35692a Preparing metadata (setup.py) ... error error: subprocess-exited-with-error
-
The pygame example files are amazing!
You can see the examples at https://github.com/pygame/pygame/tree/main/examples, and run them by downloading the files or by running python -m pygame.examples.[name of example]. For example, python -m pygame.examples.cursors.
What are some alternatives?
PySDL2
Arcade - Easy to use Python library for creating 2D arcade games.
Godot - Godot Engine – Multi-platform 2D and 3D game engine
Panda3D - Powerful, mature open-source cross-platform game engine for Python and C++, developed by Disney and CMU
RenPy - The Ren'Py Visual Novel Engine
kivy - Open source UI framework written in Python, running on Windows, Linux, macOS, Android and iOS
PyOpenGL - Repository for the PyOpenGL Project
Django - The Web framework for perfectionists with deadlines.
libGDX - Desktop/Android/HTML5/iOS Java game development framework
PySimpleGUI - Launched in 2018. It's 2022 and PySimpleGUI is actively developed & supported. Create complex windows simply. Supports tkinter, Qt, WxPython, Remi (in browser). Create GUI applications trivially with a full set of widgets. Multi-Window applications are also simple. 3.4 to 3.11 supported. 325+ Demo programs & Cookbook for rapid start. Extensive documentation. Examples for Machine Learning(OpenCV Integration, Chatterbot), Rainmeter-like Desktop Widgets, Matplotlib + Pyplot integration, add GUI to command line scripts, PDF & Image Viewer. For both beginning and advanced programmers. docs - PySimpleGUI.org GitHub - PySimpleGUI.com. The Minecraft of GUIs - simple to complex... does them all.