We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
  • Pages:
  • 1
  • 3
game program?
Topic Started: Jun 17 2005, 04:56 PM (946 Views)
pingu2k4
Member
[ *  * ]
hi, im looking for some free software to let me build a game.

its simple, as its my first try, but i want to have a 500X500 black box, and on the black box, i want to put in white lines.

onmouseover, the mouse disappears, or is 1 black pixel, and when it hits a white line, you get game over. i want to put about 40 levels on.


So, would i code this like a webpage, in HTML, or would there be a program to use?

please help, Pingu :D
Offline Profile Quote Post Goto Top
 
Luke6006
Member
[ *  *  *  *  *  *  * ]
You'd do things in this order.

  • Learn a gaming code, usually java or flash.
  • You'd download or buy a compiler to compile your source code to make the game.
  • You'd place the game on your website.
  • You'd make your website popular.
  • That's it, looks small, but it's alot of work.
You may also want to try the programming language of 'C' many games that run full screen ms-dos mode are coded using this language.
Offline Profile Quote Post Goto Top
 
pingu2k4
Member
[ *  * ]
hmm, sounds complicated!

If i get good, i would fork out as much as needed.



So, new question, does anyone know any good tutorials for any of these things i need to know?
Offline Profile Quote Post Goto Top
 
Luke6006
Member
[ *  *  *  *  *  *  * ]
Google is your friend, and so is about.com they're helpful.
C Tutorial
http://cplus.about.com/od/beginnerctutoria1/l/aa040202a.htm
More links from there.
Offline Profile Quote Post Goto Top
 
pingu2k4
Member
[ *  * ]
cool, thanks for that, it looks hard, and im starting the first lesson!

well, anyone else got any suggestions?

i will share ALL my work with you all, and let you all use it for free, if i do ever make any games :P
Offline Profile Quote Post Goto Top
 
Luke6006
Member
[ *  *  *  *  *  *  * ]
It took me 2 days to find how to make a program that says "Hello World!" in a ms-dos prompt. If you need any basic help pm me, I've made text editors but not games, really.
Offline Profile Quote Post Goto Top
 
pingu2k4
Member
[ *  * ]
cool, so, do you know how i can open MSdos?

every time i click it, it pops up, and closes the same time!


well, i know quite a lot about HTML, a bit of java, but im hoping to learn, and the first tutorial page of C.


I simplified it for me to read, and pasted it into notepad. heres what i got from lesson one:



me!
 


Working on example:



<!-- Begin Example -->


#include <stdio.h>
void main()
{
    printf("Hello World From About\n");
}



<!-- End Example -->



Line 1.
#include tells the source to include the file stdio.h in it. This file contains declarations for functions in the printf
in line 4.


Line 2.
void main() <-- this tells the source the 1 main functin. [main tells it this.]


Line 3.
{ <--denotes the start of a program


Line 4.
printf <--tells what to display on output (screen) from ("hello world..."). \n is a special format modifier. it tells the
printf to put a line feed at the end of the line. I.E. if there were another printf stating im matthew, it would say on
screen: hello world... im matthew.


Line 5.
} <--end of program. (thank god for that, thats really hard work!)

Offline Profile Quote Post Goto Top
 
Luke6006
Member
[ *  *  *  *  *  *  * ]
Have you got a C compiler yet? You'll need one to make it into a program, there's mircale c which is small for what it is, use google to find it. :)
Offline Profile Quote Post Goto Top
 
pingu2k4
Member
[ *  * ]
yeah, ive got Cygwin.

anyone else got any tips on this?

pleasse help if you can, I will share all work i do get around to ;)
Offline Profile Quote Post Goto Top
 
solinent
Member
[ *  *  * ]
I was learning C before, but I never figured out how to create a fully fledged game...

Flash would be your best option.
And for a game like that, you might be able to do it with javascript!
Offline Profile Quote Post Goto Top
 
Jackie04
Top IF Coder
[ *  *  *  * ]
Go here.
Offline Profile Quote Post Goto Top
 
Dark Dragon
Member
[ * ]
are you pinguu host of elysium perchance, and about your question, try a free flash maker
Offline Profile Quote Post Goto Top
 
pingu2k4
Member
[ *  * ]
nope, im pingu: the admin of:

Youth Help (a charity)
Webring (a webring)



Thanks for all your help in this forum, your all great!
Offline Profile Quote Post Goto Top
 
Jory
Member Avatar
Member
[ *  *  *  *  *  * ]
pingu2k4
June 17, 2005 11:01 PM
me!
 


Working on example:



<!-- Begin Example -->


#include <stdio.h>
void main()
{
    printf("Hello World From About\n");
    sleep("2500");
}



<!-- End Example -->



Line 1.
#include tells the source to include the file stdio.h in it. This file contains declarations for functions in the printf
in line 4.


Line 2.
void main() <-- this tells the source the 1 main functin. [main tells it this.]


Line 3.
{ <--denotes the start of a program


Line 4.
printf <--tells what to display on output (screen) from ("hello world..."). \n is a special format modifier. it tells the
printf to put a line feed at the end of the line. I.E. if there were another printf stating im matthew, it would say on
screen: hello world... im matthew.

Line 5.
sleep("x"); <-- Makes the program 'sleep' for X miliseconds.
(So 2500 is 2,5 sec)


Line 6.
} <--end of program. (thank god for that, thats really hard work!)


I editted your code/quote :)
Not sure if you need to inculde another file now, I think you don't.
This will make it show for 2,5 seconds.
The program/script will auto terminate when its done by default.
(Pretty sure there is also a one-liner that will make it wait until the users hits enter before continue-ing, but dunno that one. me == C-n00b ^^ )

Comment @ post below (this it to much spamm-alike to make a new post for :rofl: )
Just guess what makes gamemaker.nl so good :r
Ok, I personally hate that program, but still, gotta wub .nl^^
Offline Profile Quote Post Goto Top
 
.Daniel
Member
[ *  *  *  * ]
www.gamemaker.nl

^ Brilliant and simple, i've used it for nearly 2 years :)
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Technology Chat · Next Topic »
Add Reply
  • Pages:
  • 1
  • 3