SRL Archive - Delphi/FPC Help and Tutorials

First Delphi Game - PONG!


BazzBarrett

2008-12-10 15:31:26

i dont know y but i have a thing for making games :p
one of the first things i showed this forum was pong :D and now ive started learning delphi i though were better to start than were i started with scar. of course scar makes games look far to easy.. (h) but ive learnt alot making this project and it only took me a few hours..

here it is, any feedback is gratly accsepted :D

the pong.zip is the sorce and the pongGame is the excecutable

MylesMadness

2008-12-10 15:53:25

Didn't this used to be a scar script?

BazzBarrett

2008-12-10 17:16:01

From: Mylesmadness
Didn't this used to be a scar script?


yup, my old script ive used the same principle just turned it into delphi :D runs smoother, more acurate and its standalone everything i whanted it 2 do that scar couldent :p just whanted to know what people though of how id made the game and if there are any sujestions on how i could make games better than just using bitmaps.

EvilChicken!

2008-12-12 13:54:15

Hm, it's a good game, would be even better if you added some form for gravity to the ball with a gravity formula. :)

bullzeye95

2008-12-12 16:16:19

Pretty nice. My suggestions:
Use a label instead of a text box
Draw onto a TImage instead of the form
Move your "TForm1.FormCreate" procedure's contents to initialization

BazzBarrett

2008-12-12 19:26:10

From: bullzeye95
Pretty nice. My suggestions:
Use a label instead of a text box
Draw onto a TImage instead of the form
Move your "TForm1.FormCreate" procedure's contents to initialization

thanxs for the advice :) will defonatly take it on bored

Freddy1990

2008-12-16 07:42:03

From: bazzbarrett
if there are any sujestions on how i could make games better than just using bitmaps.


People use simple canvas drawing and such to make games in SCAR, but if you're using delphi, please, use a game engine ;) http://sourceforge.net/projects/jedi-sdl

This engine will be integrated into SCAR 4 at some point for people developing games.