Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

It's a good jam submission. You've got music, multiple levels and such. It's a good basis.

I didnt die when I ran out of lives. It just respawned me with '-1 lives remaining'.

A 3x3 radius might be a bit short, but perhaps there could be torches in the dungeon that can be picked up to temporarily increase the radius or stationary braziers that can be lit. Perhaps even a rare scrying stone or something that gives a hint about where the key or the door is. Mostly just so there's more stuff to find along the way.

It's a general level design rule that players dont really like empty dead ends or empty halls. They dont all have to contain something but players like it when they have a reasonable chance of finding something. Could be a scroll or an inscription that explains lore or a useful item. 

Ofcourse you can still make a game about wandering mostly empty hallways, it's just not going to appeal to as many people, but it might appeal a lot to fans of that specific niche.

You should also try to restructure your code every now and then. Put things in seperate files, split bigger functions into smaller ones. That brings it's own challenges, need to import the files then and share or not share variables and all that but that's important to learn as a coder.

For example, the level1=[...] to level4=[...] is data and could be in a levels.py or a floorLayout.py. You also declare tot=False on line 37 and on line 51. 

thank you for your mail! yes the radius of the light could be bigger. i am new to python and i dont know how to read  a text-file into a array. can someone help?

Probably something along these lines:

with open('my_data.csv') as file:
    df = file.read()     
    print(df)

site with explaination and examples

The important bit is to use the with statement, because as that site explains, if you do it like that, python will automatically close the file for you when you're done with it. 

After opening the file and loading it's content into python, the next step would be to then fiddle with the data till it matches the format your program desires. It depends on how the data was saved and what it is. I find it helpful to first write code that saves the data and then after I've checked that it creates a file and that the file holds the testdata, then I write the code to load from a file to the game. You can use file.write or use a library like pickle.

So that would be:

with open('my_data.csv') as file: 
    file.write(yourData)

thank you very much! i try it for the next time