In my search to make some simple examples (there are two on the forum atm)
I've got the idea of a pong, it's simple ! but... already seen many times.. so... a solo / rotative one !
And it turns out that it is not simple to make it work properly (mathematically mostly), and from an example it became a minigame ! Behold ... the Circular Pong !
You can make it show geometric information with "g"
"escape" will reinit the game
"left" and "right" will make you accelerate/decelerate
Keep the ball inside the circle as long as you can
Just one last thing... repeat to yourself "i am calm, i am peaceful" when you playing it
[minigame] Circular Pong
- pakoskyfrog
- Citizen
- Posts: 62
- Joined: Mon Feb 04, 2013 12:54 pm
- Location: France
[minigame] Circular Pong
- Attachments
-
- circularPong v0.2.love
- The game (easier :P)
- (2.72 KiB) Downloaded 230 times
Last edited by pakoskyfrog on Sun Feb 24, 2013 6:35 pm, edited 1 time in total.
- Hexenhammer
- Party member
- Posts: 175
- Joined: Sun Feb 17, 2013 8:19 am
Re: [minigame] Circular Pong
Really cool idea. But hard!
Re: [minigame] Circular Pong
The momentum of the paddle makes it very tricky to control. Nice concept though.
- Roland_Yonaba
- Inner party member
- Posts: 1563
- Joined: Tue Jun 21, 2011 6:08 pm
- Location: Ouagadougou (Burkina Faso)
- Contact:
Re: [minigame] Circular Pong
That's original. You might have to work more on the controls, but I do love the idea, though.
- pakoskyfrog
- Citizen
- Posts: 62
- Joined: Mon Feb 04, 2013 12:54 pm
- Location: France
Re: [minigame] Circular Pong
When i tweaked the controls, i tried to make the game short, since you have to beat your own best time on each try.
But i think i can make the deceleration faster than the acceleration, it should help a bit
I will work on that after what i'm doing !
But i think i can make the deceleration faster than the acceleration, it should help a bit
I will work on that after what i'm doing !
Re: [minigame] Circular Pong
Looks like a cool idea, but it runs so fast that I can't do anything before the ball goes out...
- pakoskyfrog
- Citizen
- Posts: 62
- Joined: Mon Feb 04, 2013 12:54 pm
- Location: France
Re: [minigame] Circular Pong
Well... it's a fast paced and precision game... Personally, i manage to stay alive around 30 sec and one minute.
And you have to think about decelerating at half way, so you don't just pass in front of the ball and miss it
And you have to think about decelerating at half way, so you don't just pass in front of the ball and miss it
Re: [minigame] Circular Pong
I understand that, I mean, it's running so fast on my PC that I don't have time to press a key before the ball gets out of the screen... It's running at ~750 FPS... When I tried to record a video with FRAPs so you could see what I mean, it slowed down to 150FPS and it's playable at that speed. Obviously, I don't want to have to be recording the screen everytime I want to try your game.pakoskyfrog wrote:Well... it's a fast paced and precision game... Personally, i manage to stay alive around 30 sec and one minute.
And you have to think about decelerating at half way, so you don't just pass in front of the ball and miss it
Perhaps you could incorporate DT into the movement so that it isn't any more (or less) impossible for me then for everyone else?
- pakoskyfrog
- Citizen
- Posts: 62
- Joined: Mon Feb 04, 2013 12:54 pm
- Location: France
Re: [minigame] Circular Pong
If you had looked inside the code you would have seen :
I got a master's degree in physics... I would be a shame on me to not use an acceleration/velocity/position system
I don't know how you manage to get that much FPS, and it should have an impact on acceleration... unless...
Hmmm, my bad. I though i did something that i didn't (okay, shame on me )
Go back on the first post to have the corrected version.
i also tweaked the controls (eg, you decelerate now twice as much as you accelerate)
Code: Select all
function love.update(dt)
-- platform moving ?
if platform.pushLeft then
platform.omega = platform.omega + platform.acc*dt
elseif platform.pushRight then
platform.omega = platform.omega - platform.acc*dt
end
platform.angle = platform.angle + platform.omega*dt
I don't know how you manage to get that much FPS, and it should have an impact on acceleration... unless...
Hmmm, my bad. I though i did something that i didn't (okay, shame on me )
Go back on the first post to have the corrected version.
i also tweaked the controls (eg, you decelerate now twice as much as you accelerate)
- Hexenhammer
- Party member
- Posts: 175
- Joined: Sun Feb 17, 2013 8:19 am
Re: [minigame] Circular Pong
It's much more playable now. Nice way to mindlessly kill time.
Who is online
Users browsing this forum: Ahrefs [Bot], Amazon [Bot] and 9 guests