water flowing

WaveStopper

Want to do fluid dynamics with fragment shaders.  Should be hard but doable.

github.com/ikanreed/pyweek26

Awards


Tar Bomba
Presented by rdb

0b1010011010
Presented by xmzhang1

Give this entry an award

Scores

Ratings (show detail)

Overall: 2.3
Fun: 1.3
Production: 2.5
Innovation: 3

69% respondents marked the game as not working.
Respondents: 4

Files

File Uploader Date
WaveStopper.zipfinal
Water Simulation 0.1
ikanreed 2018/10/27 04:14
flowdemo.gif
water flowing
ikanreed 2018/10/27 03:44

Diary Entries

Well, my company is making me take python 101 training

So... right now I'm supposed to be learning how triple quote strings and upper() work and bored out of my mind.  Guess I'll take the opportunity to blog about what I hope to accomplish.


  1.  I'd love to make a machine learning game of some kind.  Bit of a pipe dream in the timeframe we have, but maybe the theme will make an obvious case to fill out?
  2. Art is going to be hell, I'm so used to having teammates who are good at it.  This year, I'm alone.  Unless I drag my wife into it, and I don't know that she'd enjoy that considering she's already doing a seperate game art contest this month.
  3. I want to use my new (kinda expensive) music tools to make some awesome stuff.  Or flail wildly at it, in particular all week and not have any time for code.
  4.  I really want to lean hard into the theme, and make something that really beats a deceased equine organism with whatever connection I come up with.  Some past occasions I've been super light-and-free with theming, and I want to avoid that this time.
  5. Networking?????

Add a comment

Welp, gonna make everyone hate me

I think I've decided to use visual studio to develop my python code this year.  The python plugins are starting to work pretty nicely, and having a GUI wrapper for different installs with info of what's pip-installed in them and able to spit out a requirements.txt automagically is nice.

Add that with shader autocomplete and it's actually a pretty satisfying experience to use Microsoft(TM) Visual Studio(TM) and Microsoft(TM) GitHub(TM) to work on pyglet stuff.


Now to see if I have any hope of coding fragment shader fluid dynamics next week.

Add a comment

Not gonna pull it off.

It's thursday and I'm still on basic simulation.  This is gonna be a serious DNF.

My pressure system is great at filling new spaces appropriately.  It's just terrible about emptying the spaces that flowed into them.

I've tried a "debt" based model that ends up running away to flood the world, and a "doom counter" approach that ends up static and unmoving.  A number of hybrids that behave very boringly.

I've got one last thing I'm going to try before I stop programming for the week and switch to just playing games instead.

Add a comment

It may not look like it

But this took all week, and it looks very good in-program.  There's no time for a game.  All I've got is water simulation.

If anyone ever actually reads this, I developed some really useful re-usable code.

A back-buffer abstraction you can activate using
with backbuffer:
And a GLSL shader uniform parameter provider you can activate using
with UniformProvider(shader_obj, param=value,param2=value2, sampler=pygletTexture):

I made useful and cool things but no game :(  Maybe inspiration will hit me sometime about how to make water pressure into a game, but I've been so focused on making it work, I haven't even begun to think of game ideas.

Beautiful flowing water

9 comments