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 :
Download
__________________________________________
All feedback especially for the code is welcome.
greets
Simply Pong!
Simply Pong!
Last edited by Larsii30 on Sun Sep 23, 2012 2:36 pm, edited 1 time in total.
Re: Simply Pong!
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...
Serious, game don't run here . Just a grey background without nothing happenning! No key input also...
Re: Simply Pong!
oh seriously ?
Hopefully you mean it ironic
If not I'm a bit confused.
Hopefully you mean it ironic
If not I'm a bit confused.
Re: Simply Pong!
Sorry, i'm being serious. Hang's without change in 0.8. Crashes 0.8 JITLarsii30 wrote:oh seriously ?
Hopefully you mean it ironic
If not I'm a bit confused.
I didn't found any path problem or something in your code. Also isn't badly packed for OSX. Can't explain.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Simply Pong!
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.
Otherwise, except for the AI being too good, it seems fine.
Re: Simply Pong!
I'm not familiar with OSX and löve, so is there something handled in another way maybe ?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.
Hm. I can't find anything.
Thanks for feedback, bartbes
Re: Simply Pong!
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.
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.
Re: Simply Pong!
well the "ö" is all the magic ? haha
Nice research, thank you!
Nice research, thank you!
Re: Simply Pong!
I edited my post. In t.title is bad. No problems with t.identity.Larsii30 wrote:well the "ö" is all the magic ? haha
Nice research, thank you!
EDITED: Also sorry for anything said in joke form I said before and was clearly misinterpreted.
Re: Simply Pong!
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.
Who is online
Users browsing this forum: No registered users and 3 guests