Make your own levels for Hug Me I'm Cold!
Hug Me I'm Cold is a very simple game, and one of the things I'm sad about is that we didn't have much time to make new levels for it. Fortunately, it's really easy to make a level!
You can check out the game here: https://ldjam.com/events/ludum-dare/40/hug-me-im-cold
(This is totally not advertisement because we need more votes)
The mechanics are simple: For each level, you have to collect a tent and a log and take them to the campsite. There are also sweaters lying about which you can pick up to make you warmer, but the more you wear, the slower you move!
Rather than test my own level design and make more levels, we'd like to see what you could do! Here's a guide for editing one of the existing levels and changing it. Post in the comments with your proudest creation, and vote on other people's levels!
How to open up a level
NB: I don't know if Windows line-endings (carriage return) will play nice with the game and I can't test right now. Let me know in the comments if you have trouble with it.
MacOS
- Unzip the zip file.
- Right-click on the app file and click "Show Package Contents."
- Scroll down and open the directory "Resources"
- Open "StreamingAssets"
- Open "Levels"
- Right-click on one of the levels (one of the files with a file name of JUST the number, 0-6) and open with a text editor. Do not try to add your own; the game will only hold up to 6 levels (at the moment).
- Follow the instructions below.
Windows
- Unzip the zip file.
- Open the HugMeImCold_Windows directory.
- Open "HugMeImCold_Data"
- Scroll down and open the directory "StreamingAssets"
- Right-click on one of the levels (one of the files with a file name of JUST the number, 0-6) and open with a text editor. Do not try to add your own; the game will only hold up to 6 levels (at the moment).
- Follow the instructions below.
How to build a level
Making a Hug Me I'm Cold level is as simple as entering numbers in the text file. There's a code for what each number means:
- ground = 1,
- playerSpawn = 2,
- tree = 3,
- wood = 4,
- tent = 5,
- campsite = 6,
- sweater = 7,
- wall = 8
You should probably start by filling the level with ground (1), and make sure the whole level is surrounded by walls (8). If you don't, the player will be able to leave the level and drift off into the void! You should also make sure each number is separated by a space, and that every line of the file has the same number of characters.
Replace ground (1) with other numbers to put in different items. I found it easiest to work with the files by find-and-replacing all the 1s with a full stop, making the level, and then turning the full stops back into 1s.
Don't place more than one player spawn (2). You'll end up with more than one player!
Make the level as big or small as you want, as long as it has at least one campsite, one tent, and one wood.
Save the file and run the game*.
*If you're on windows and the level doesn't work, it might be because of windows line endings. If you're in a code-focussed text editor, try changing your settings to UNIX line endings. If you're not...I'm not 100% sure, but this link might help: https://kb.iu.edu/d/acux