Finished! ...Mostly...

Ok, so I'm finally done, even if the game's polish isn't quite there. I've definitely hit the wall this evening, not helped by some issues packaging up a pyinstaller Windows version :o Overall I'm happy with how it turned out - the game's actually playable and kinda fun, can't wait to see what other people think of it.

Instructions:

  1. Run the executable if you're on Windows, or install Python and Pygame and run python alien_toy_factory.py 
  2. If you have a controller with at least one axis and a couple of buttons (ie. something like an Xbox or Playstation controller), and its recognised by Pygame, that's the most fun way to play. Up to four players should be able to play. 
  3. Keyboard controls are WASD+space/LAlt for player 1, and arrow keys+RShift/Return for player 2.
  4. Hit space/RShift to pick something up and put it down
  5. For conveyors you can hold space/RShift and push in a direction to set which way it goes. 
  6. Build a conveyor and machine system to convert the raw materials on the left side into products for the loading docks on the right side. 
  7. There's a simple help system at the top, which shows recipes for all of the machines unlocked so far. 

Caveats/known issues: 

Debug keys:

Have fun, and let me know if you run into problems or encounter any show stoppers.

(log in to comment)

Comments

Looks nice!

But it takes me about 10 minutes to figure out what's going on. Your game screenshot (with book production) would be helpful if I saw it before playing.

README.md in your final.zip (Pure Python version) and README.md on github are different. 

Please reupload your final source package with this file updated.

Thanks, I've updated the README in the final zip file. Hopefully now that I've updated the screenshot, other people will realise what the game's about.
I'm a little confused.  After 10 minutes of playing around I finally figured out how to make those vertical conveyors, but I don't know how to get it to move past this:

Hi rdb,


The input port is on the top of the machine, not the side. That's the extra bit that's added with the coin/ingot when you click the machine together. If you extend up another one, then across and down, it should start working.

Level 5 has a two bug.

1) Machine produces motherboards instead of motors. I changed it in data.py.

2) Looks like there is not enough conveyors :(

Level 6 looks OK, but after producing 53 phones I looked in logs to see
loaded a phone - -42 more to go
Well, I made a steady supply only at phone number 40 :)


Hmm, not sure on level 5. According to the data, you should have 'machines': "DE EFI FGJI AB", which allows you to build machines for a bowl and motor, then the final blender machine. You *can* build a motherboard machine - that's DFGI - but it won't help you finish the level :D


The phone one looks like a bug. I have a check at the beginning of the game.update() function to see if the remaining products are > 0, but clearly that's not being triggered for some reason.

And yeah, I didn't have enough time in the end to thorougly playtest everything. I put in what I thought was a reasonable number of conveyors plus a margin for error, but it's probably short in a few places. (You can always scavenge a few from close to the ore chutes if you're a little bit low).

ps. If you're keen and using the source version, you can uncomment the line 197 of pyweek.py - that'll tell you what the game thinks is left to build (though it'll just spam it repeatedly), and might give me a clue as to what the bug is.