Page 1 of 3

Döts - A silly ripoff

Posted: Sat Nov 06, 2010 1:24 am
by thelinx
So I saw this video on youtube and I was like I can totally make that in LÖVE, so I did.

döts.love
For regular LÖVE (Linux, Mac OS X, Windows)
(12.29 KiB) Downloaded 628 times
ndöts.love
For nLÖVE (Caanoo)
(12.16 KiB) Downloaded 575 times
Disclaimer: This game has no menus, lacks score display, lacks music, et.c.
I also have no plans to finish it. To top everything off, the code was written when I was tired. Expect mindfuck.

Re: Döts - A silly ripoff

Posted: Sat Nov 06, 2010 9:37 am
by Robin
Wow. :awesome:

Error: state 'over' not found. Tired, much?

Re: Döts - A silly ripoff

Posted: Sat Nov 06, 2010 4:54 pm
by thelinx
Robin wrote:Wow. :awesome:

Error: state 'over' not found. Tired, much?
I just couldn't bother :brows:

Re: Döts - A silly ripoff

Posted: Sat Nov 06, 2010 5:20 pm
by Robin
Aw. :cry:

Re: Döts - A silly ripoff

Posted: Sat Nov 06, 2010 6:37 pm
by SiENcE
Fun to play!

Re: Döts - A silly ripoff

Posted: Sat Nov 06, 2010 11:05 pm
by zac352
... Did you use a perpendicular function for bouncing the balls?

Code: Select all

if x<0 or x>width then
vx=-vx
end
if y<0 or y>height then
vy=-vy
end
Your code:

Code: Select all

if x ~= self.position.x or y ~= self.position.y then
		local r = math.atan2((winmid - self.position):reverse())
		self.directionAngle = r + (math.random()-0.5)*math.pi
		self.directionVector = Vector:new(math.cos(self.directionAngle), math.sin(self.directionAngle))
	end
You were right when you said "mindfuck". O_O

Re: Döts - A silly ripoff

Posted: Sat Nov 06, 2010 11:20 pm
by Robin
zac352 wrote:You were right when you said "mindfuck". O_O
If you look closely, you'll see that his version introduced a random element, presumably to make the whole deal more interesting and/or silly.

Re: Döts - A silly ripoff

Posted: Sun Nov 07, 2010 12:06 pm
by thelinx
What Robin said.

Re: Döts - A silly ripoff

Posted: Sun Nov 07, 2010 1:10 pm
by thelinx
Even though I said I wouldn't work on this, I did.

I added a primitive menu along with two extra gamemodes, "extreme" and "epilepsy".

Also, there's now a game over screen.


CATCH THOSE DÖTS

Re: Döts - A silly ripoff

Posted: Sun Nov 07, 2010 1:22 pm
by Robin
Crazy! :crazy:

It fails, though. Collision is really inaccurate (sometimes I'm making this nice little Venn diagram with the yellow dude, without scoring a point). Also, in epilepsy mode, if you end on black, the score is unreadable.