Build your Home

TheCakeFlavor's picture
back.jpg
Game File (Linux): 
Game File (Mac): 

This description was originally intended for ludum dare audiences. It is hosted here for completeness and for because I don't have a file host.

A tribute to juliette's destroy your home. Join the community over at glorioustrainwrecks.com
https://www.glorioustrainwrecks.com/node/5279

The game:
in this game you have a lot of bricks and a slingshot and an empty field. you must use your expert slingshot skills to build a home for you to live in. click to equip the brick, click again to launch the brick, and once a brick has landed you can click again to equip a new brick. When the bricks go vertically off the screen, the vertical coordinate is negative. That's because this is a "vi deo game".

On Windows, you have to click start.bat in order to start the game.
On Linux, you need to run the executable yourHome.
If you're running from source, use either python 2 or 3, the game has been tested on both.

Also there's no sound in this game, I know.

The development:
I started making this game 24 hours before the deadline so it's more of a tech demo than anything. I can make games very quickly usually, but I had problems with compiling this time because of an obscure bug.
Note to pygame developers: the documentation says you can use None in a font object and the game will just use a default font. This causes issues with pyInstaller and pyg and gives all sorts of weird undiagnosable bugs. Just bundle a font with your game and call it a day.

Other notes: it turns out building a projectile motion engine is not easy. I got lost in negative signs and trig functions for a while. Probably my code is not a good reference if you want to build your own.

Assets and Credits:
I made the slingshot and the brick using openscad, and you can find my openscad files bundled into the game directory for your convenience. Openscad really clicks with me as a way to make 3d models without remembering a million keyboard shortcuts.

The background is an image by Scott Webb from pexels.com that I ran a lot of Gnu IMP filters on. The license for the image says I don't have to do any attribution but I figure I might as well mention that it's not mine.
https://www.pexels.com/photo/green-grass-field-under-white-clouds-1048039/

FreeSansBold is a part of the GNU Freefont project. If my use of it makes my work licensed under the GPL, then it is. If my use of it does not make my work licensed under the GPL, then it isn't licensed under the GPL. Here's a link for that, in case I have to put a link somewhere: https://opensource.org/licenses/GPL-3.0

Pygame is a library by which I can make games in python. The way it's structured makes a lot of sense to me but does make developing in it a bit harder. To see what I mean, my source code is in every download as "yourHome.py".

pyg.exe is this magic file where I can use it to run python on windows without making anyone install anything or using pyInstaller. It's made by Radomir Dopieralski and I really want to shake this guy's hand in person for saving me hours of my life. This magic spell and pygame itself is licensed under the LGPL, so maybe that applies too?
https://bitbucket.org/thesheep/pyg.exe/wiki/Home
Licensing is a nightmare.

Fotocopiadora helped me test this game and makes really cool games like mouse sector. Find them at @cometbook on twitter and https://www.glorioustrainwrecks.com/user/10891 on glorious trainwrecks.

Me:
I made this game. You can find me everywhere as thecakeflavor or other names like that.
https://www.glorioustrainwrecks.com/user/24764
through this link you can find other video games I made. Some of them took me even less time to make than this game! (But a lot of them took me significantly longer amounts of time)

Made For: 
An event

Comments

sergiocornaga's picture

What a great surprise! I

What a great surprise! I didn't manage to build a canonical home, but I did reinforce my slingshot.

everythingstaken's picture

Oh

I didn't realize for a while what you meant until I realized what the easiest way to build a home was. I like the general concept, I almost wish it were more easy to build a home, but I like the joke of how long it takes for the bricks to travel most of the time.

pensive-mosquitoes