Log In  

Cart #portal_golf-3 | 2021-09-30 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

Chain portals together to collect all the gold!

Portal Golf is a physics puzzle game with portals. Place portals around the level in order to get the ball to collect every gold bar. You have no control over the movement of the ball and can only place portals before you start the run. Try to use as few portals as possible to earn medals, or just fill the whole level with portals and have fun!

Detailed Instructions are in-game


  • Left click on any wall with a white edge to add a portal
  • Left click and drag an existing portal to move it somewhere else
  • Right click to delete an existing portal
  • Press C to start or stop a run

If you need more help, I made an in-depth guide over here

Note that the game plays much more smoothly on desktop than web - consider downloading it. This is the full version of a game jam game I made last year. Follow me for more gamedev! https://twitter.com/MaxBize

P#97092 2021-09-09 07:01 ( Edited 2021-10-04 01:41)

would like to play it but you didn't remove the include ;p

P#97093 2021-09-09 07:03

@SmellyFishstiks OOF! Fixed it

P#97094 2021-09-09 07:08

Incredible work!

P#97101 2021-09-09 14:25

Excellent portal mechanics. I wanted to make a Portal-like game. I'm gonna check out your code :)

P#97105 2021-09-09 17:48

@professir thanks!

@qequ I apologize for the how messy the code is :P Here's a quick orientation: the ball is actually called 'cash', all of the ball's movement code is in rigidbody_t:update, and all of the portal management code is in portal_manager_t:update. The movement physics is based on this article and the portal stuff is all homegrown. I have somewhat detailed commit messages on github which might help. Feel free to ask questions here or DM me on Twitter. Happy exploring!

P#97107 2021-09-09 18:15

I first heard about this game on Reddit a year ago but only recently got round to making a video for it. I really liked this a lot:


P#118746 2022-10-07 21:02

@inphanta thanks for sharing the recording! I always love watching people play my games :D

You were playing it on hard mode! You can click and drag portals to move them or right click to delete them - no need to reset every time you want to make a change

Also, you somehow managed to hit a bug I've never seen before by placing a portal off screen at the start of level two!

P#118773 2022-10-08 06:33

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2023-09-24 19:58:24 | 0.063s | Q:26