[minigame] Circular Pong

Show off your games, demos and other (playable) creations.
User avatar
pakoskyfrog
Citizen
Posts: 62
Joined: Mon Feb 04, 2013 12:54 pm
Location: France

[minigame] Circular Pong

Post by pakoskyfrog »

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 !
screenshot with geometrics
screenshot with geometrics
Capture-cirpong.PNG (67.22 KiB) Viewed 5421 times
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 :D

Just one last thing... repeat to yourself "i am calm, i am peaceful" when you playing it :P
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.
User avatar
Hexenhammer
Party member
Posts: 175
Joined: Sun Feb 17, 2013 8:19 am

Re: [minigame] Circular Pong

Post by Hexenhammer »

Really cool idea. But hard! :o
User avatar
markgo
Party member
Posts: 190
Joined: Sat Jan 05, 2013 12:21 am
Location: USA

Re: [minigame] Circular Pong

Post by markgo »

The momentum of the paddle makes it very tricky to control. Nice concept though.
User avatar
Roland_Yonaba
Inner party member
Posts: 1563
Joined: Tue Jun 21, 2011 6:08 pm
Location: Ouagadougou (Burkina Faso)
Contact:

Re: [minigame] Circular Pong

Post by Roland_Yonaba »

That's original. You might have to work more on the controls, but I do love the idea, though.
User avatar
pakoskyfrog
Citizen
Posts: 62
Joined: Mon Feb 04, 2013 12:54 pm
Location: France

Re: [minigame] Circular Pong

Post by pakoskyfrog »

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 !
10$man
Citizen
Posts: 77
Joined: Sun Apr 22, 2012 10:40 pm

Re: [minigame] Circular Pong

Post by 10$man »

Looks like a cool idea, but it runs so fast that I can't do anything before the ball goes out...
User avatar
pakoskyfrog
Citizen
Posts: 62
Joined: Mon Feb 04, 2013 12:54 pm
Location: France

Re: [minigame] Circular Pong

Post by pakoskyfrog »

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 ^^
10$man
Citizen
Posts: 77
Joined: Sun Apr 22, 2012 10:40 pm

Re: [minigame] Circular Pong

Post by 10$man »

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 ^^
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.
Perhaps you could incorporate DT into the movement so that it isn't any more (or less) impossible for me then for everyone else?
User avatar
pakoskyfrog
Citizen
Posts: 62
Joined: Mon Feb 04, 2013 12:54 pm
Location: France

Re: [minigame] Circular Pong

Post by pakoskyfrog »

If you had looked inside the code you would have seen :

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 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 :P )
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)
User avatar
Hexenhammer
Party member
Posts: 175
Joined: Sun Feb 17, 2013 8:19 am

Re: [minigame] Circular Pong

Post by Hexenhammer »

It's much more playable now. Nice way to mindlessly kill time.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Amazon [Bot] and 9 guests