Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / My first AGK2 Game - Pong (with complete Source Code)

Author
Message
x3meblue
15
Years of Service
User Offline
Joined: 11th Dec 2008
Location: Nuremberg, Germany
Posted: 15th Apr 2015 06:43
Hi!

Not really something for the showcase, but i want to share anyway. Maybe it helps some new users to AGK2. The source code is open source, so you are free to use, edit, improve, extent.

I use AGK2 only since 2 days, so the code may be not the cleanest, fastest or most advanced, but the game works.

Controls:
Mouse - move paddle
R - Reset (sometimes the ball gets stuck)
Esc - quit game




AGK2 Tier 1 / GameGuru

Attachments

Login to view attachments
Maindric
15
Years of Service
User Offline
Joined: 22nd Jul 2009
Location:
Posted: 16th Apr 2015 05:31 Edited at: 16th Apr 2015 05:32
Hey, pretty cool!

My only recommendation would be to have a "buffer" area around the play area to allow the mouse to go to so the paddle does not stop if you accidentally move the mouse outside of the play area.

Congrats on your first game with AGK.
x3meblue
15
Years of Service
User Offline
Joined: 11th Dec 2008
Location: Nuremberg, Germany
Posted: 16th Apr 2015 23:30
Thanks!
Yes, there are some things to improve, that i will implement in my next project: Breakout ...uhuuuuu

AGK2 Tier 1 / GameGuru / ProMotion 6.5
Scotty1973
AGK Backer
13
Years of Service
User Offline
Joined: 2nd Jun 2011
Location: Burton-on-Trent, uk
Posted: 17th Apr 2015 02:13
Well done!!

There are always thing to improve on that's how we all learn new stuff.

Keep having fun!
AAChaoshand
9
Years of Service
User Offline
Joined: 12th Apr 2015
Location: Texas
Posted: 17th Apr 2015 04:44
And here I was going to build the same thing but I'm just starting out on AGK. This looks like a bit much for a first project for me.
x3meblue
15
Years of Service
User Offline
Joined: 11th Dec 2008
Location: Nuremberg, Germany
Posted: 17th Apr 2015 05:10
Thanks! I am really having fun using AGK2.
This was one of my best investments in the last time.

AGK2 Tier 1 / GameGuru / ProMotion 6.5
ApkGames.Guru
11
Years of Service
User Offline
Joined: 25th Oct 2013
Location: England, UK
Posted: 21st Apr 2015 18:26
Well done, great start!

www.zortokgames.com
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 23rd Apr 2015 17:32
Quote: "Not really something for the showcase, but i want to share anyway."


Welcome to the 10% club. 90% of people don't get as far as completing a game of any kind, so you are already in an elite club

Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
x3meblue
15
Years of Service
User Offline
Joined: 11th Dec 2008
Location: Nuremberg, Germany
Posted: 23rd Apr 2015 18:34
@Stormforce & @BatVink Thank you, guys!

AGK2 Tier 1 / GameGuru / ProMotion 6.5
Maindric
15
Years of Service
User Offline
Joined: 22nd Jul 2009
Location:
Posted: 3rd May 2015 01:24
Quote: "Welcome to the 10% club. 90% of people don't get as far as completing a game of any kind, so you are already in an elite club"


I'm in that 90% club. I released a RPG Maker VX Ace demo once...
AAChaoshand
9
Years of Service
User Offline
Joined: 12th Apr 2015
Location: Texas
Posted: 4th May 2015 04:07
I'm still learning. Took a week off since I spent almost all of my time after work learning code. Will start again this week though.
accb
9
Years of Service
User Offline
Joined: 13th May 2015
Location:
Posted: 13th May 2015 01:43
very good !
I'm still studying out of the 90% club rsrs
Coilwinder
11
Years of Service
User Offline
Joined: 28th Feb 2013
Location: Norway
Posted: 1st Jun 2015 16:43
Really nice, and well structured!

I made a simple and ever-so-slight change to get paddle1 vertical speed-dependent bounce:



Apologies for any typos and strange grammar.

Login to post a reply

Server time is: 2024-11-23 20:17:42
Your offset time is: 2024-11-23 20:17:42