October 2018 challenge: “Flow”
MrOnion - Copy
Posted by capturts on 2018/10/22 15:03
Just Flow - Day 1 - Treez
Posted by chrisyan2000 on 2018/10/22 13:51
And here goes a randomly generated tree......
Alien Toy Factory - The first proper factory!
Posted by AnthonyB on 2018/10/22 12:40
Ok, time for bed now, but I've just added the first machine to the game, which stamps copper ingots into circuit boards. A couple of conveyor belts and voila! The first working factory. Sure, it's pretty simple, but adding extra types of machine shouldn't be too hard (tm). The more ambitious goal is to have different machine *parts*, ie. 2, 3 or 4 boxes, which make different stuff depending on how you arrange them.
Tomorrow I'll have a clearer day, so I might be able to chew through some more features. Top of the list is making the UI just a little more intuitive, which has been bumped mainly because it's making the game hard to test. If *I'm* finding it annoying to play, what hope does anyone else have? :D
Crossing sea! - Day 1
Posted by yarolig on 2018/10/22 12:23
Gameplay is more important. Now it is time to think about implementing port interface, quests and races. I have a poor ui code. I think I should use it to make a interfaces for quests, cargo and timers.
I enjoyed using the Tiled (https://www.mapeditor.org/) last pyweek. Why not use it again?
I studied about the Perlin noise this summer. I may use it to make a few planets :)
But quests are more important now.
Crossing sea! - Day 1
Posted by yarolig on 2018/10/22 12:08
Searched for a good boat models. 3D model sites listed in http://www.pygame.org/wiki/resources are worthless. Registration required and licenses are not clear. Found a good model with a good license on https://opengameart.org.
I am using https://www.pygame.org/wiki/OBJFileLoader as a library to load the file.
Time Chicken - Hello, world!
Posted by haker23 on 2018/10/22 11:42
Because I gave myself yesterday off. I never claimed to be smart.
python -m pip install pygame
Alien Toy Factory - Loading docks
Posted by AnthonyB on 2018/10/22 11:24
Loading docks are now in the game. Currently they just act as an item sink - they'll accept items pushed into them every ten seconds.
I also added a few more conveyors so that you can actually reach the other side of the screen, which helps. See, playtesting your game is important, kids :)
Crossing sea! - Day 0 evening.
Posted by yarolig on 2018/10/22 10:02
Watched some YouTube videos about flow. Liked one about divirgence and curl. Now I want to make a boat racing game.
Spent some time looking for a good ui library for Python and OpenGL. Everything I found looks unreliable or not convinient. I will make my own ugly ui. Main menu is ready.
Alien Toy Factory - Success!
Posted by AnthonyB on 2018/10/22 07:06
The coins on the conveyor belt go round and round, round and round, round and round...
The coins on the conveyor belt go round and round, Iiiiii fixed the bug!
After some thrashing around, I realised that I'd left a stray "self.grid_y - 1" in one of the conveyor pushing calculations, and conveyors now push things around. Yay me! This is one of the core mechanisms of the game, so I'm glad it didn't take too long to track it down.
From here, I'll need a couple of other things:
- A sink for these items (ie. a loading dock to ship things off to customers)
- Machines that'll convert some combination of items into something else.
Once those are done, then the basic core of the game will be working.
After that it'll just be a Simple Matter Of Programming all the rest of the things - a big list of recipes, fixing the UI, adding machines somehow and then adding displays to those machines so that you know which bits convert or produce or sink what items.
Flowing Magic - Day2 - We haz a model and a view!
Posted by saluk on 2018/10/22 06:01
To test that the model is working, I have a small unit test, and also set up my kivy client to talk to an in memory version of the model. When you drag a card and let go, it passes the request into the model. If there is an exception - which represents some change request that the model has rejected - the view simply animates the card to return to where you dragged it from. Otherwise, we make sure our widgets are updated to the positions that match the model, adding and removing cards if necessary. The animation system makes it easy to have some pleasing player feedback even though the model change was very discrete.