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:
- Run the executable if you're on Windows, or install Python and Pygame and run python alien_toy_factory.py
- 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.
- Keyboard controls are WASD+space/LAlt for player 1, and arrow keys+RShift/Return for player 2.
- Hit space/RShift to pick something up and put it down
- For conveyors you can hold space/RShift and push in a direction to set which way it goes.
- 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.
- There's a simple help system at the top, which shows recipes for all of the machines unlocked so far.
Caveats/known issues:
- cross over conveyors are not the most intuitive things in the world. I didn't have time to come up with a way to set the direction of both conveyors, so the second is just one clockwise from the first.
- I haven't added sound, and probably won't at this stage. It's been a pretty big effort to get this far :D
- I haven't thoroughly tested all of the levels, so some of them might be actually impossible to do ;)
- There probably should be an intro screen for each level, but again, time's running out.
Debug keys:
- F1 will show the first machine help page
- F3 will reduce the product requirements for the level by one
- F4 will increase the product requirements (if you're having too much fun to stop, I guess...)
- F5 will immediately finish the level
- the number keys along the top (1-8) will switch levels at will
Have fun, and let me know if you run into problems or encounter any show stoppers.
(log in to comment)
Comments
Please reupload your final source package with this file updated.
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.
1) Machine produces motherboards instead of motors. I changed it in data.py.
2) Looks like there is not enough conveyors :(
loaded a phone - -42 more to goWell, I made a steady supply only at phone number 40 :)
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).
yarolig on 2018/10/27 14:35:
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.