Simply Pong!

Show off your games, demos and other (playable) creations.
User avatar
Larsii30
Party member
Posts: 267
Joined: Sun Sep 11, 2011 9:36 am
Location: Germany

Simply Pong!

Post by Larsii30 »

Hey everyone,

it's been a while ago when I opened my last topic ... so I thought I could share something I've done yesterday to
do something else then Fallin' Sky 2. I decided to do some Arcade classics like Arkanoid, Space Invaders or Snake
to see where I am with my programming skills. atm I think I still got a lot of work to write nice and efficient code.

My first pong :
Image

Download
__________________________________________
simplyPong.love
(27.93 KiB) Downloaded 138 times
All feedback especially for the code is welcome.
greets :)
Last edited by Larsii30 on Sun Sep 23, 2012 2:36 pm, edited 1 time in total.
coffee
Party member
Posts: 1206
Joined: Wed Nov 02, 2011 9:07 pm

Re: Simply Pong!

Post by coffee »

Hey Larsii30. How da hell you screwed up with pong? ;P
Serious, game don't run here . Just a grey background without nothing happenning! No key input also...
User avatar
Larsii30
Party member
Posts: 267
Joined: Sun Sep 11, 2011 9:36 am
Location: Germany

Re: Simply Pong!

Post by Larsii30 »

oh seriously ? :o
Hopefully you mean it ironic :o

If not I'm a bit confused.
coffee
Party member
Posts: 1206
Joined: Wed Nov 02, 2011 9:07 pm

Re: Simply Pong!

Post by coffee »

Larsii30 wrote:oh seriously ? :o
Hopefully you mean it ironic :o

If not I'm a bit confused.
Sorry, i'm being serious. Hang's without change in 0.8. Crashes 0.8 JIT
I didn't found any path problem or something in your code. Also isn't badly packed for OSX. Can't explain.
Screen shot 2012-09-23 at 10.56.10 AM.png
Screen shot 2012-09-23 at 10.56.10 AM.png (16.45 KiB) Viewed 3759 times
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Simply Pong!

Post by bartbes »

I couldn't help but notice your ball's direction variables are useless, as in, you would normally represent them as negative/positive velocities.
Otherwise, except for the AI being too good, it seems fine.
User avatar
Larsii30
Party member
Posts: 267
Joined: Sun Sep 11, 2011 9:36 am
Location: Germany

Re: Simply Pong!

Post by Larsii30 »

coffee wrote:
Sorry, i'm being serious. Hang's without change in 0.8. Crashes 0.8 JIT
I didn't found any path problem or something in your code. Also isn't badly packed for OSX. Can't explain.
I'm not familiar with OSX and löve, so is there something handled in another way maybe ?
Hm. I can't find anything.

Thanks for feedback, bartbes :)
coffee
Party member
Posts: 1206
Joined: Wed Nov 02, 2011 9:07 pm

Re: Simply Pong!

Post by coffee »

I solve your problem! I went to your GIT and downloaded your FallingSky 2. Well when decompressing noticed a unicode problem in some file. So I searched for unicode/foreign accentuation problems in your PONG code. Actually osx don't seem to like like your config file text. I deleted it and your game run without problems.

Probably is better you avoid the ö/ß in t.title from now on. No problem in t.identity.

Code: Select all

function love.conf(t)
	
	--Titeleinstellungen
		t.title = " Pöng "
		t.author = " Lars L. "
	
	--Bildschrimgröße und Grafikeinstellungen
		t.screen.fullscreen = false
		t.screen.width = 512
		t.screen.height = 512
		t.screen.vsync = false
		t.screen.fsaa = 0
		t.modules.joystick = false
		t.modules.audio = true
		t.modules.event = true
		t.modules.physics = false
		t.modules.sound = true
	
	--Filesystem
		t.identity = "Pöng"
end
Last edited by coffee on Sun Sep 23, 2012 11:37 am, edited 1 time in total.
User avatar
Larsii30
Party member
Posts: 267
Joined: Sun Sep 11, 2011 9:36 am
Location: Germany

Re: Simply Pong!

Post by Larsii30 »

well the "ö" is all the magic ? :D haha
Nice research, thank you!
coffee
Party member
Posts: 1206
Joined: Wed Nov 02, 2011 9:07 pm

Re: Simply Pong!

Post by coffee »

Larsii30 wrote:well the "ö" is all the magic ? :D haha
Nice research, thank you!
I edited my post. In t.title is bad. No problems with t.identity.

EDITED: Also sorry for anything said in joke form I said before and was clearly misinterpreted.
User avatar
Lafolie
Inner party member
Posts: 809
Joined: Tue Apr 05, 2011 2:59 pm
Location: SR388
Contact:

Re: Simply Pong!

Post by Lafolie »

It's usual for an updated .love to be posted after bugfixes so that we can play the game :)
Do you recognise when the world won't stop for you? Or when the days don't care what you've got to do? When the weight's too tough to lift up, what do you? Don't let them choose for you, that's on you.
Post Reply

Who is online

Users browsing this forum: No registered users and 63 guests