Share your repls and programming experiences

← Back to all posts
Portal on Repl.it
MadMath123 (344)

Hello people of Repl.it! I made this game for a contest off of Repl.it, and I thought I would share. Any suggestions? Feedback? Please let me know! ;)
BTW, I'm not so good at coding, sometimes the player disappears, IDK how to fix

Edit: Press R to restart!

Edit 2: HOW IS THIS FIFTH? Thank you for the support!

UPDATE IS COMING ALONG! Taking more time then expected.

Comments
hotnewtop
Whippingdot (657)

Very POG but

My character has ascended to heaven lul

MadMath123 (344)

@Whippingdot yea that happens lol, think ill make a fix

MadMath123 (344)

@Whippingdot Press R to restart, I mean. That placement of portals should work. I will see what I can do to fix the portal, though.

MadMath123 (344)

@WhippingDot Can you still replicate the glitch?

MadMath123 (344)

@Whippingdot OK, I'll make an update. I've looked and I think I know the next best solution.

ShaheenUmair (6)

This game is amazing! it deserves to be on the monthly repl's

SudhanshuMishra (250)

He's too fat to fit inside this portal ...

MadMath123 (344)

@SudhanshuMishra You need to jump, it's weird that way -- it's annoying to fall through when you run on top of it

SudhanshuMishra (250)

@MadMath123 I jumped somewhat like 20 times lol ... anyways noice game bro

Brendan23 (166)

@MadMath123 awesome! is it just the demo?

MadMath123 (344)

@Brendan23 Nah, this is all there is. At least, so far. If you like, you can give me ideas, or levels! Also, I know what the cubes glitch, I'm not really sure why :P

Brendan23 (166)

@MadMath123 I have a suggestion, for one of the levels make the player thing "out of the box" literally. like outside the usual playing area.

MadMath123 (344)

@Brendan23 Sounds cool! I'll try that.

MadMath123 (344)

@Brendan23 Cool! I think I have a level running, right after the tutorial. Check it out! It's not the best, since players can't really see what's going on -- but it masks my ugly solutions, so it works!-

Brendan23 (166)

@MadMath123 I don't get what happens to the player, does it just disappear?

MadMath123 (344)

@Brendan23 I made a restart feature, press 'R'.

IGamer123 (76)


I glitched through the wall

RishabhRanjit (20)

@MadMath123 Nice Game. I'll being willing to help if you need any!

RishabhRanjit (20)

@MadMath123 I think I know what the glitch is....

MadMath123 (344)

@RishabhRanjit Oops, I need to take that down! (The NEED HELP part)

RishabhRanjit (20)

@MadMath123 Oh ok.

This game is really good though.

Keep it up!

AstrumDeorum (136)

Level 1 post-tutorial:
I made the classic Infinite Fall thing.
Stood on the right end.
He fell super fast and then teleported to the area by the door.
I sure do love falling so fast I phase through solid objects

MadMath123 (344)

@AstrumDeorum Haha, tthat happens :) (: Press 'r' to restart, and you're halfway to one of two solutions I found

AstrumDeorum (136)

@MadMath123 nah, I easily jumped to the door doing that.
There's a level later on I got stuck on, but in all, this was rather impressive. Keep it up.
I'd recommend maybe slowing down portal falls because I think Python dislikes it when an object moves faster than the speed of light and puts them somewhere else to stop them.

MadMath123 (344)

@AstrumDeorum What level? Also, thanks for the compliment! This is in js, not python, though.

AstrumDeorum (136)

@MadMath123 sry, JS, right. Still, I think it dislikes extreme speed.
As for the level, I don't remember, it was like 2 hours ago.

alpha2442 (2)

How do you beat the level where all of the moveable crates are stacked up in this shape:
x
x
xx
xx
xxx
xxx
xxxx
xxxx

(also in line 204 of the js file)

MadMath123 (344)

@alpha2442 Hint: Try shooting a portal below the boxes and above them. What does that do? (no solutions unless you ask again!)

alpha2442 (2)

@MadMath123 yeah i figured it out
how about the last level

MadMath123 (344)

@alpha2442 The last few levels are a reward to the player for completing the game. They're a playground to do what they want, and a place for me to debug. You'll know when you get there.

MadMath123 (344)

@ch1ck3n its down rn, lemme fix it

cjcjc (0)

i cant pass the 3rd level(the first one with the red blocks)

MadMath123 (344)

@cjcjc yea, its down right now. ill put it back for yall.

MadMath123 (344)

@Bunnytoes i was working on it, but i pushed it back for you guys, try now

Bunnytoes (146)

@MadMath123 I finished it and got really far

MadMath123 (344)

@Bunnytoes WDYM? did you get the level with the cubes in a 'W!' shape?

Bunnytoes (146)

@MadMath123 I got to the level with the chest in a corner

MadMath123 (344)

@Bunnytoes That's supposed to be the door, but I think you won! IDK tho, a lot of levels have it in the corner.

Brendan23 (166)

@MadMath123 how do I pass this level?

MadMath123 (344)

@Brendan23 This is the one you asked for. What if you shoot a portal between the glass?

Brendan23 (166)

@MadMath123 yeah, lol. I can't figure out how to pass the level I asked for. also, I'll try that.

MadMath123 (344)

@Brendan23 Solution: Put a portal on one of the white boards. Then, shoot into the hole. When the portal disappears from where you put it, you have a portal by the win box. Then, put a portal on the box on the floor, and hop in!

proryan (75)

I cant pass this level :(

proryan (75)

@MadMath123 I got that level but got stuck somewhere else... Good Game!

FallenAngel6 (31)

One of the levels is impossible...

FallenAngel6 (31)

@MadMath123 Nvm, I'm stuck on the level with 3 white blocks and door on other side

G0RG3 (64)

Whered he go :c

MadMath123 (344)

@YashasShah I broke it, sorry, next update WILL have a fix

kwe (57)

wow thats very cool, what did you use to make it? (i assume its p5.js but i can't tell)

kwe (57)

thanks, and again very cool game!

Brendan23 (166)

@MadMath123 what happens in the last level? is there a way to pass it or does it just stay in that level forever?

MadMath123 (344)

@Brendan23 The reward for beating the game is two "playground" levels. The levels with no black blocks are the final two.