Page 1 of 1

Trap the Balls Game

Posted: Sun Mar 12, 2017 11:12 pm
by mtdev
Right mouse to change direction blocks get drawn (up / down or left / right)
Left mouse to draw line

Don't let a ball collide with your line as it is drawing and see how high of a score you can get.

edit: added an image in play
bug.PNG
bug.PNG (66.62 KiB) Viewed 5415 times

Re: Trap the Balls Game

Posted: Tue Mar 14, 2017 1:14 am
by bgordebak
I don't know what's the problem, but when I click on start this happens:

Re: Trap the Balls Game

Posted: Tue Mar 14, 2017 4:25 am
by mtdev
:oops: Hmm, just some copy & paste code from some of the shaders I am playing with for the backgrounds. Admittedly, a few of them are rather obnoxious but it's a learning experience

Removed the code from the 2 shader files and the backgrounds still work. Thank you for trying it. Hopefully you have time to give it another shot and it works this time.

Re: Trap the Balls Game

Posted: Tue Mar 14, 2017 5:04 am
by bgordebak
Nope, same as before. BTW, the last file you uploaded is a windows executable. I had to run it on Wine. Upload love files if possible.

Unfortunately, I can't help you since I don't know anything about shaders. :(

EDIT: And this may be a Linux issue, I don't know. If it works on your computer, wait for other people to chime in.

Re: Trap the Balls Game

Posted: Tue Mar 14, 2017 5:19 am
by mtdev
:x Thanks again. Re uploading with the love file. I was wondering why the 2nd version was so much bigger :crazy: . Going to also test it from my Ubuntu machine in a bit.

edit -- It works from my linux system. For anyone else who gives this a spin, note that the included highscore file (creatively named 'hs') needs to be in the same directory as the .love file or it errors. Not sure why but if you know how to fix that, please share :cool:

Also, I swapped out the mouse cursor and disabled a few of the backgrounds that I now realize are particularly annoying after the initial "cool a working shader" adrenaline has worn off.

Re: Trap the Balls Game

Posted: Tue Mar 14, 2017 5:44 am
by bgordebak
It works now. And it's a good game.