Instead of continuing my necropost 😶, I will make a new thread. So, I have been looking through the source of the game, and so far, here are my discoveries. Firstly, and most importantly, the levelmap. In main.c, there is a level map, that is currently
Code:
Now that we have an editable map, we need to figure out what each number means. Looking through the source again, there are 6 images, wall followed by 0-5, as a png. There are a couple of sprites here that you see in the game, like the spider sprite, 2 (?) walls, and some other walls, like the ladder wall which is the win condition. TheLastMillennial suggested that the codes would be
"0 - floor
1 - wall
2 - radiation
3 - unknown
4 - escape ladder
5 - health "
So, to check, i decided to make a test map for the game, the maps gonna look like this
Code:
I ran it, aaaaaaand it just showed the default map from the original game :/ Will be testing more...
Code:
unsigned char map[MAP_HEIGHT][MAP_WIDTH] = {
"1311111311111131",
"1000000000000001",
"1000000000011001",
"1000000000051001",
"1000000000011011",
"1000000000000011",
"1115102200000011",
"1111102200000001",
"1111100000000001",
"1111111111111001",
"1000000000000001",
"1000000000000001",
"1015110000000001",
"1011111111111111",
"1011000000000001",
"1000011000100001",
"1311111141111131"
};Now that we have an editable map, we need to figure out what each number means. Looking through the source again, there are 6 images, wall followed by 0-5, as a png. There are a couple of sprites here that you see in the game, like the spider sprite, 2 (?) walls, and some other walls, like the ladder wall which is the win condition. TheLastMillennial suggested that the codes would be
"0 - floor
1 - wall
2 - radiation
3 - unknown
4 - escape ladder
5 - health "
So, to check, i decided to make a test map for the game, the maps gonna look like this
Code:
unsigned char map[MAP_HEIGHT][MAP_WIDTH] = {
"1111111111111111",
"1000000000000001",
"1012345000000001",
"1000000000000001",
"1000000000000001",
"1000000000000001",
"1000000000000001",
"1000000000000001",
"1000000000000001",
"1000000000000001",
"1000000000000001",
"1000000000000001",
"1000000000000001",
"1000000000000001",
"1000000000000001",
"1000000000000001",
"1111111111111111"
};I ran it, aaaaaaand it just showed the default map from the original game :/ Will be testing more...







