4 ms·
I've just started mixing shaders with Pygame
- tonetheman 4y agoThis is really amazing looking.
- 3tigerooozan3 4y agoVery fun game, good job
- chii 4y agoNice aesthetics with the water-color and splashing to reveal. Reminds me of "untitled goose game"
- coeneedell 4y agoThis is lovely, my friend. My own experience with shaders was in building a custom spectrum analyzer and I found it so very enriching and different from what I usually program (ML and Data pipelines). Really really nice work!
- tboerstad 4y agoCool, do you have a link? That was also my first, and only, shader experience (www.soniplot.com)
- coeneedell 4y agoIt was just a plug-in for Glava (https://github.com/jarcode-foss/glava https://github.com/jarcode-foss/glava) not really worth sharing imo.
- tboerstad 4y agoThanks,TIL about Glava!
- heyitsguay 4y agoCan you share anything about your stack or process? This looks beautiful!
- deleted 4y ago[deleted]
- reassembled 4y agoDaFluffyPotato's channel is filled with lengthy explanation videos and dev log streams showing the processes his code, pixel art and music composition. If I recall he also makes code available via Patreon.
- dukeofdoom 4y agoLove your youtube channel. However, you should consider releasing a version of the game without this effect being on by default. Maybe it's just my mammalian brain scared of snakes...but not being able to see clearly where you're going is disorienting, unnerving and doesn't feel comfortable.
- rcstank 4y agoIt’s a game…
- Waterluvian 4y agoHow?! How did you get PyGame not to be so brutally slow? Is it basically that all the graphics are done separately and pygame only offers up IO and game loop? This is just brilliant and wonderful and beautiful. The premise of this game is just amazing.
- deleted 4y ago[deleted]
- reidrac 4y agopygame isn't that slow if you use pygame 2 that depends on SDL2 (2D hardware acceleration, yay!) or go with OpenGL directly. I used to do a lot of amateur gamedev with Python (pygame and pyglet). If most of the work happens on the GPU or external libraries, it is usually OK if you aren't doing anything stupid.
- kaoD 4y agoIf you offload graphics to the GPU (which is what shaders are), there's surprisingly little CPU work left in a 2D platformer game. Think of (fragment) shaders as programs that run in the GPU per-texture-pixel. There is some initial CPU/memory-bound work setting everything up (e.g. uploading textures to GPU RAM, compiling the program, sending vertex buffers...) and then per-frame you just call the shader with some parameters (e.g. character's current position) and the GPU does the rest. In-CPU you mostly do the non-parallelizable work such as collisions, game logic, keyboard input, etc. which can be very light for a simple 2D platformer.
- andai 4y agoThe author made a video about optimizing pygame performance here: https://youtu.be/3hGcW77M-84 https://youtu.be/3hGcW77M-84
- TazeTSchnitzel 4y agoThe original PyGame used software rendering and thus was very slow, but I believe a relatively recently released new version uses hardware (GPU) rendering. That's probably where the shader support comes in too.
- kramerger 4y agoHis YT channel if you are looking for more technical info https://m.youtube.com/@DaFluffyPotato/videos https://m.youtube.com/@DaFluffyPotato/videos
- fnands 4y agoReally liking the watercolour aesthetic!
- PicassoCTs 4y agoshaders are great fun: https://shaderfrog.com/app/view/6473 https://shaderfrog.com/app/view/6473 but i heavily dislike that they offer not writeback to fbos and pass structure by default. Lots of things impossible thus. Its freaking swarm of embedded devices, just give me the controls already
- rubatuga 4y agoThis reminds me of another Python GPU project, bringing in WebGPU shaders. https://github.com/pygfx/wgpu-py https://github.com/pygfx/wgpu-py
- jKwZmFpLrNhG 4y agoShaders look amazing!
- tmaly 4y agoI have my brother in law visiting. We were just trying to figure out what littlebigsnake browser game uses. Turns out unity can compile to WebGL. This totally blew my mind.
- ngcc_hk 4y agoCan you use it with ren’py?