Title: pong
Description: i know it says c++
anothersomething - February 24, 2004 04:46 AM (GMT)
I hope i am allowed to post a pong game i have been working on (it is in c#)
anyway it uses the gdi+ for graphics.
http://ghgstudios.com/csgame1/pong.zip is the whole package. It is completely unfinished, i just tryed to design a basic game engine for c++ and c# (i don't know c# but c# looks easier so i made the game engine in c#)
I edit this when i update the program. You can do what ever you want with the source as long as you do not use it to perform any acts of violence against abused kittens.
if you have the .NET framwork sdk then you can compile it with the c# compiler (csc /t:winexe /out:pong.exe form.cs main.cs ball.cs paddle1.cs) it comes with the exe if you don't want to (or can't) compile it. Anyway i really like the .net framework as it is very easy to use (managed directx is available too but i can't figure out how to compile managed directx with c#)
ih8censorship - February 25, 2004 01:28 AM (GMT)
darn i use all my programs to harm kittens.... :lol: anyway if c# is about as much like C++ as C is then i suppose you can post it.... anyway im making a pong game too, only in c++ the only part thats really being annoying now is the scoring doing erratic things but ill figure that out after im less busy with work. i dont know any c# but if you need help on movement or a collision then i could help ya ;)
dr voodoo - February 25, 2004 10:28 AM (GMT)
I can't run it. (I don't think that I have the net framework installed)
anothersomething - February 25, 2004 04:35 PM (GMT)
| QUOTE (dr voodoo @ Feb 25 2004, 10:28 AM) |
| I can't run it. (I don't think that I have the net framework installed) |
you need the .net framework 1.0 or above. I compiled it with the .NET framework sdk v1.0 but there is a later version out.
Dragon - May 9, 2004 12:13 AM (GMT)
This is why .NET is bad. The programs are not only slow and large, but users are required to have the framework installed, and obviously not everyone has it. It also takes quite a while to download it and install it, so the program's popularity will be limited because of this.
anothersomething - May 9, 2004 08:01 PM (GMT)
WTF? Large? The whole exe is like 4 kb. Is that small enough?
MonkeyMan - May 9, 2004 10:27 PM (GMT)
I don't remember the size when I downloaded it but maybe slow... can you get the paddle to slide smoothy or is it actually too slow to increment it by a smaller number because I noticed it jumps somewhat.
KTC - May 9, 2004 10:51 PM (GMT)
| QUOTE (anothersomething @ May 9 2004, 08:01 PM) |
| WTF? Large? The whole exe is like 4 kb. Is that small enough? |
The .Net Framework is large ;) (okay, okay, they have various different version of the framework that are smaller but that's for different type of devices rather than different PC spec...) Then again, one do actually have the same problem with the Java runtime... :unsure:
Gmakermaniac!!! - July 2, 2004 11:22 PM (GMT)
It probebly depends on how you installed it. (the size)
I did a one script, no object ping-pong game in Gml in a create event so I must be getting close to doing it in C++. Can't be that hard to convert right (if you know the stuff -_- ).
ih8censorship - July 15, 2004 01:47 AM (GMT)
| QUOTE |
| Can't be that hard to convert right (if you know the stuff ). |
well if you want to see my c++ pong game Pc Pong, its in the creations forum somewhere. the biggest thing in changing it from gml to c++ would be the movement and the collision checking. gamemaker does those for you basicaly, c++ does not ;) and then you have the creation of the window and things like that .but the ai is basicaly the same.