mastodon.world is one of the many independent Mastodon servers you can use to participate in the fediverse.
Generic Mastodon server for anyone to use.

Server stats:

8.1K
active users

#pygame

2 posts2 participants0 posts today

Hey! I've been creating a #game #engine #framework in #vala

Its ECS based, and its called Veggies (eat your veggies!). 🥦

My reasoning for this framework is to have a game framework alternative to #csharp. I'm not liking the encroachment #microsoft has over #gamedev and #indiedev

The video is the well known bunny mark demo. Renders up to 16000 bunnies before being under 30 fps. Still needs a lot of optimization.

I'm taking ideas from frameworks like #pygame, #pine, #FNA and #excaliburjs

What's the simplest way to visually convey text, aside from morse code blinking?

I'm doing some experiments in #pygame to work out just how low-res I can go with scrolling text and still be legible.

These three animations show text scrolling across a simulated display with 1px, 2px and 3px width. I'm using a 5x3 pixel font from adafruit.

I think 2px is *barely* readable.

Imgur link because I can't upload the WEBMs to my masto instance for some reason.

imgur.com/a/0nRBdc8

goYSDA: Как мы в ШАДе переизобрели и сделали непрерывную игру Го, выкинув из него сетку

Привет, Хабр! Все мы знаем Го — глубокую, медитативную игру на доске 19x19. Камни, пересечения, территории... А что, если выкинуть саму сетку и разрешить ставить камни куда угодно в пределах доски? Мы в команде YSDA (Yandex School of Data Analysis или Школа Анализа Данных, ШАД) задались этим вопросом и решили проверить. Получилось азартно, хаотично и, что самое главное для нас как разработчиков, — чертовски интересно с точки зрения алгоритмов. В этой статье я расскажу, как мы реализовали эту идею на Python и Pygame, с какими геометрическими головоломками столкнулись и как Диаграмма Вороного помогает считать очки в реальном времени, превращая статичную доску в живое поле битвы. Погрузиться в игру →

habr.com/ru/companies/datafeel

ХабрgoYSDA: Как мы в ШАДе переизобрели и сделали непрерывную игру Го, выкинув из него сеткуПривет, Хабр! Все мы знаем Го — глубокую, медитативную игру на доске 19x19. Камни, пересечения, территории... А что, если выкинуть саму сетку и разрешить ставить камни куда угодно в пределах доски? Мы...

kitfucoda.medium.com/my-pygame

My journey into graphical application building started unexpectedly after a friend's game jam project piqued my interest. Exploring Python ports of Processing eventually led me to Pygame, a lower-level library that surprisingly sparked my curiosity. What began as a plan to "build a reasonably functional Tic-Tac-Toe version over a weekend" soon revealed the depth of Pygame's foundational nature and the need for custom architectural solutions.

Pygame's synchronous and non-thread-safe nature posed immediate challenges for building interactive applications. Initial attempts to use asyncio.to_thread led to unexpected SIGSEGV errors, highlighting the need for a different approach. The solution emerged through iterative debugging and a suggestion from my coding companion, the chatbot, to incorporate asyncio.sleep(0). This critical addition allowed asynchronous tasks to finally run effectively, enabling a refactored main loop that separates event processing and display updates.

Managing shared data and dispatching events concurrently presented its own set of hurdles. Drawing heavily from my experience in JavaScript web development, I designed an immutable application registry, leveraging asyncio.Queue to defer changes to elements and the game state. This approach ensures all updates are processed predictably, avoiding race conditions and making it possible to register and dispatch events across the application in a robust, web-inspired manner.

As the code matured through refactoring, a clear architectural structure began to emerge. Extracting game-specific logic into a separate module became trivial, and a review with Gemini confirmed that the design could evolve into a reusable mini-framework. The Application dataclass even showed resemblances to an Entity-Component-System, adding a new concept to explore. While time may be limited, the curiosity to further develop this separation and implement web-like system events persists, motivated by a desire to build robust solutions.

Medium · My Pygame Evolution: Embracing Asyncio and Immutability for Scalable DesignBy KitFu Coda

project-anime.com/1209899/ [8bit] 新機動戦記ガンダムW OP1 – JUST COMMUNICATION / TWO-MIX | ファミコン・シューティングゲーム風 Gundam Wing ##AnimeMusic #8bit #8bitMusic #Anime #AnimeSong #aseprite #bgm #chiptune #Famicom #FamiStudio #GUNDAM #GundamWing #JustCommunication #mecha #NES #pixelART #PyGame #python #Soundtrack #twomix #アニソン #アニメ. #ガンダムW #ガンダムウィング #チップチューン #ドット絵 #ファミコン #機動戦士ガンダム水星の魔女第2クール [8bit] 新機動戦記ガンダムW OP1 – JUST COMMUNICATION / TWO-MIX | ファミコン・シューティングゲーム風 Gundam Wing TVアニメ『新機…

Continued thread

Bu Zelda in Python projesini çözüp devam ettirmek, geliştirmek, değiştirmek ve kendi zevkine göre uyarlamak isteyen varsa Google Drive linki aşağıda.

Şu hâliyle mevcut Python sürümünde çalışmıyor!

Eskiden Python 11 sürümleri ile çalışıyordu, ama artık eski sürümleri kullanmayı da bilemediğim için deneyemedim.

Sâdece "Pydroid 3 - IDE for Python 3" Android emülatörde hâlâ çalışıyor!

#Python #PyGame #ZELDAinPython
_______
• Oyunum: drive.google.com/drive/folders

Google DriveOyunum – Google Drive

Retro oyunları görünce aklıma minik Zeldam geldi!

Yazık oldu!

Eğer benim gibi danışabileceğiniz kimseniz yoksa Python projelerine başlarken iyi düşünün

Çünkü ben daha yeni Python öğrenmeye başlamış ve nasıl yapacağımı bilmeden proje geliştirmeye çalışırken Python değişti!

Evet değişti ve artık eski kodların bâzı komutları geçersiz oldu

Çözmesi kolay bir sorun olduğunu biliyorum, ama cevabını bulamadığım için proje durdu!

#Python #PyGame #ZELDAinPython #game #games

youtube.com/watch?v=rXHu1tZrp9