Skip to content
← Back to Community
Do the Maze! (Check description)
Profile icon
Muffinlavania

Welcome to the Maze!

You might have guessed it, I got this idea from @CHRISTOPHERTIPP , go check out his post here

Go through each level, all the while looking for secrets in the walls! This currently has 16 levels, but I plan on it having 30+. You can also change the colors of the walls and of the goal/treasure if you would like!

Controls

You play as the square box, and your goal is to reach the treasure, which is the T!
The Player:
image

To move the player, you can use WASD and the arrows keys to move! Make your way through the many levels and collect the 'T'!

Each level has one secret.

Each of these secrets are in the walls of the maze, they are pretending to be 'X's but they are not......
Collect all of them for a little prize :D

There are many types of wall!

W: Walls that can be 'eaten'(Its fun), they are collapsing walls
X: These are normal walls, but some Xs might just be fake! In some levels(Dont worry it isnt that bad), there are some fake Xs!

In one level there is also a fake treasure :)

Fixes

The secret things were not working, I put them in a .env....
Now it should! Getting all of the secrets will tell you what to do!

Voters
Profile icon
ZetaCommand
Profile icon
TsunamiOrSumth
Profile icon
ch1ck3n
Profile icon
DynamicSquid
Profile icon
Muffinlavania
Comments
hotnewtop
Profile icon
ch1ck3n
Profile icon
Muffinlavania

@ch1cken ummmmm it works fine for me, i dont know what could have happened.. its supposed to say You got them all! Then a sentence on the secret stuff.. :(

Profile icon
Muffinlavania

@ch1cken ok, it should work now!

Profile icon
ZetaCommand

If you wouldn't mind, could you tell me how you got player input without pausing the code? I have looked it up, but have been unable to find it anywhere.

Profile icon
Muffinlavania

@ZetaCommand actually the entire maze technically freezes until each button press....


But the way i did it in my game The Truth is by using the Threading module. Basically Threading allows you to have a function running while the main program runs, so you can put user input in a function and run that, and have it change a global variable.


Threading thing (my example): https://replit.com/@Muffinlavania/how-it-feels-to-use-threading#main.py
(I did it by having a variable saying whether or not a button has been pressed, and variable that says what key you pressed, and in the main program it waits for the variable that says when you pressed a key, then interprets the other variable.)


And if your really confused i can show you lol
oh yea and my game is https://replit.com/@Muffinlavania/The-Truth#main.py if you really wanted it

Profile icon
ZetaCommand

Thank you so [email protected]

Profile icon
Muffinlavania

@ZetaCommand anytimeeeee

Profile icon
NoNameByProgram
Profile icon
NoNameByProgram

Screen Shot 2020-10-02 at 10.15.00 PM
the first dissapoint of this post

Profile icon
Muffinlavania

@NoNameByProgram oh god when did that happen

Profile icon
NoNameByProgram

@Muffinlavania level 6 happened 3 times actually

Profile icon
Muffinlavania

@NoNameByProgram whatttttt lol for me it works fine

Profile icon
NoNameByProgram

@Muffinlavania well it fricked my gameplay up

Profile icon
Muffinlavania

@NoNameByProgram sorrry also i see what you mean

image
If you look closely, you will see this

image
Its just that i forgot to add a character

Profile icon
Muffinlavania

@NoNameByProgram Also are you sure about the level 6 thing? It worked for me no problem

image

Profile icon
NoNameByProgram

@Muffinlavania on some specific parts

Profile icon
DynamicSquid

Cool! It's kinda laggy though due to clearing the screen. Try setting up curses for a smoother console. @CSharpIsGud made a cool tutorial on that

Profile icon
NoNameByProgram

i see you have learned the true wisdom of key inputs

Profile icon
Muffinlavania

@NoNameByProgram dude i released this literally 50 seconds ago, but is it fun?

Profile icon
Muffinlavania

@NoNameByProgram and also yea, getkey for the win

Profile icon
NoNameByProgram

@Muffinlavania secret one complete

Profile icon
NoNameByProgram
Profile icon
Muffinlavania

@NoNameByProgram The secrets are Ys