Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Wed Dec 13, 2017 11:29 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Pong Projects
PostPosted: Sun Aug 28, 2011 9:41 pm 
Offline
User avatar

Joined: Thu Feb 16, 2006 10:04 pm
Posts: 262
I know, I know, there are a gabillion pong like projects, but it's still a challenging thing to program, right? I've got a few laying around, so I thought I would update a few and share them via my blog. They are really not complete games ( I might have time to complete a game), but core classes that you could possibly use for simulation type games using physics and AI.

See my signature. Thank you!

_________________
Thomas C.
Real Studio Blog
http://bigdaddysurf.com/blog/

https://itunes.apple.com/us/app/maui-dragstrip-2013/id604516033?mt=8
https://itunes.apple.com/us/book/how-to-waterstart/id576214730?mt=11


Top
 Profile  
Reply with quote  
 Post subject: Re: Pong Projects
PostPosted: Fri Sep 02, 2011 12:46 am 
Offline
User avatar

Joined: Thu Feb 16, 2006 10:04 pm
Posts: 262
My second pong project adds walls to bounce off of and a ball class able to feel it's way around the playing field.

Image

See my blog link for the project. Thank you.

_________________
Thomas C.
Real Studio Blog
http://bigdaddysurf.com/blog/

https://itunes.apple.com/us/app/maui-dragstrip-2013/id604516033?mt=8
https://itunes.apple.com/us/book/how-to-waterstart/id576214730?mt=11


Top
 Profile  
Reply with quote  
 Post subject: Re: Pong Projects
PostPosted: Sun Sep 04, 2011 8:12 pm 
Offline
User avatar

Joined: Thu Feb 16, 2006 10:04 pm
Posts: 262
Just added my third version.

Image

_________________
Thomas C.
Real Studio Blog
http://bigdaddysurf.com/blog/

https://itunes.apple.com/us/app/maui-dragstrip-2013/id604516033?mt=8
https://itunes.apple.com/us/book/how-to-waterstart/id576214730?mt=11


Top
 Profile  
Reply with quote  
 Post subject: Re: Pong Projects
PostPosted: Tue Sep 06, 2011 10:05 am 
Offline
User avatar

Joined: Fri Nov 10, 2006 4:10 pm
Posts: 1855
Location: Michigan, USA
I was actually just thinking of making a network pong game... for no other reason than the experience.

I'd like to run your project, but unfortunately I don't have the tink.aiff file on my machine... Is there any issue with including this sound as part of the project?

Thanks! :)

P.S. I commented out the Tink.Play code and removed the sound. So it does run. But the entire screen flickers like crazy. Are you manually trying to double-buffer or leaving it up to the system?

_________________
Windows 8 x64
Windows XP Pro SP3
Ubuntu 11.04 via Virtual Box
RS Enterprise 2012r1.1

Programming Tutorials & Free Projects: http://www.JasonTheAdams.com
"Christianity has not been tried and found wanting; it has been found difficult and not tried." - G.K. Chesterton


Top
 Profile  
Reply with quote  
 Post subject: Re: Pong Projects
PostPosted: Tue Sep 06, 2011 1:27 pm 
Offline
User avatar

Joined: Thu Feb 16, 2006 10:04 pm
Posts: 262
I'll add the sound, sorry, I thought I included it in the download.

Unfortunately, I use a Mac, so that's why the flickering. I'll have to leave it to the pc people to enlighten me on how to eliminate the flickering.

Thanks for the reply.

_________________
Thomas C.
Real Studio Blog
http://bigdaddysurf.com/blog/

https://itunes.apple.com/us/app/maui-dragstrip-2013/id604516033?mt=8
https://itunes.apple.com/us/book/how-to-waterstart/id576214730?mt=11


Top
 Profile  
Reply with quote  
 Post subject: Re: Pong Projects
PostPosted: Sun Sep 11, 2011 8:55 pm 
Offline
User avatar

Joined: Thu Feb 16, 2006 10:04 pm
Posts: 262
I'm not really sure why, but the download does include the sound file. And when I compile for Windows, 2011R3 Personal edition, boot in to Boot Camp via Vista, the sound file is not included in the executable and I get an nil object exception. Kind of weird, but I don't program for Windows. Anyway, I removed the sound call and replaced it with a call to Beep(), and I sorted out the flickering on the Windows side. So, if you're on a PC, scroll to the latest post on the blog and grab an updated project.

_________________
Thomas C.
Real Studio Blog
http://bigdaddysurf.com/blog/

https://itunes.apple.com/us/app/maui-dragstrip-2013/id604516033?mt=8
https://itunes.apple.com/us/book/how-to-waterstart/id576214730?mt=11


Top
 Profile  
Reply with quote  
 Post subject: Re: Pong Projects
PostPosted: Sun Sep 25, 2011 6:00 pm 
Offline
User avatar

Joined: Thu Feb 16, 2006 10:04 pm
Posts: 262
Image

Another installment project for my Pong projects. Thank you.

_________________
Thomas C.
Real Studio Blog
http://bigdaddysurf.com/blog/

https://itunes.apple.com/us/app/maui-dragstrip-2013/id604516033?mt=8
https://itunes.apple.com/us/book/how-to-waterstart/id576214730?mt=11


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group