Programming and Compilers
This is a kind of a silly question for the advanced developers but............
I want to get my facts straight abot what compiling is....
I read somewere on these web pages that you can program in
a windows notepad and then compile......
I guess im asking If a programmer programs something for a game......How does he get it working in that game......
If i wanted to make a game then would I programme a mainscreen for my game that supports options then do I compile what i programmed so that when I click on a icon on my desktop it would load the mainscreen, and then from there i would carry on creating my game......
I found this difficult typing this paragraph becouse im very unsure of everything.......So before i get onto development stage of my game i want to get my facts straight.
Pleez answer.
First learn programming, then think on how to make a game. If you know how to program, then you wouldn''t have asked this question.
Learn programming well and you will have the answers to questions you just asked.
Learn programming well and you will have the answers to questions you just asked.
Hello from my world
ReactOS - an Open-source operating system compatible with Windows NT apps and drivers
I Dont like it when people like you dont answer my questions becouse they give me a total oposite answer!
Im having trouble finding a language to code with(That can support 3d objects and spaceships!
If you have any suggestions about a language that I can use tell me what it is and tell me where I can find it!
I want it to be FRRREEE! I also need a compiler...
And pleeeeez for GODS!! Sake answer my questions!
You people dont treat beginers with dreams with the respect they deserve!
One day you mite be looking for answers by me and I will give you an exact opposite answer like you gave me!Ha!
[Edit: Please only use a reasonable number of exclamation points. Too many make your post hard to read.]
Edited by - Oluseyi on January 20, 2002 6:48:55 PM
Im having trouble finding a language to code with(That can support 3d objects and spaceships!
If you have any suggestions about a language that I can use tell me what it is and tell me where I can find it!
I want it to be FRRREEE! I also need a compiler...
And pleeeeez for GODS!! Sake answer my questions!
You people dont treat beginers with dreams with the respect they deserve!
One day you mite be looking for answers by me and I will give you an exact opposite answer like you gave me!Ha!
[Edit: Please only use a reasonable number of exclamation points. Too many make your post hard to read.]
Edited by - Oluseyi on January 20, 2002 6:48:55 PM
Programmers program every aspect of the game, they write more code to add something to the game.
check out the Start Here link posted by Martee
Also get a compiler Here
Go find some tutorials, or buy a book on C.
check out the Start Here link posted by Martee
Also get a compiler Here
Go find some tutorials, or buy a book on C.
Those who dance are considered insane by those who cannot hear the music.
Cain62 - From your first post, I can''t tell what you are trying to ask. I don''t like spending time trying to figure out what people are trying to say. If I can''t read it and understand a question immediately, I usually just move on.
The choice is: either you spend time fine-tuning your question, or everyone else has to spend time trying to figure out what you meant. If you measure the effect in person-hours, you''ll see that it''s much better to fine-tune your question.
And please don''t use more than one exclamation mark at a time... even if you are mad at everyone. You used so many that this forum has become 3.5 pages wide, and I have to scroll across to read what everyone is saying.
You asked what a compiler is. A compiler takes a text file, and turns it into an .exe file.
You seem to have ideas for a game (you mentioned the development phase). To tell the truth - if your game is large enough that you even need a development phase, it''s too big for your first project. I''ve had a friend who tried to start by making an MMORPG. As I explained to him, it takes most people years to get to the level of skill required for that. You need to start small. You asked about the main menu in a game. I''ll describe how to make a main menu, to show you how hard it is to understand.
You''d have a variable indicating which menu option is selected. You''d need a message handler to detect key presses and mouse movement. Depending on the keyboard input, you''d have to increment or decrement the currently selected option and check if it overflows or underflows the list. You''d have to check where the mouse cursor is. You have to check if the mouse cursor''s position is inside any of the rectangles defined by the menu options. Then, every time the currently selected option is changed, you''d have to blit the unselected version of the previously selected option into its position and blit the selected version of the newly selected option into its position.
In the way of compilers, gnu c++ is very good (and free). A nice IDE for it (so you don''t have to use notepad) is Dev-C++ (also free).
For learning to program, there are tutorials everywhere. You''ll need to learn to use this. Before asking a question, you should search for the answer on your own. In some forums, if you don''t try to search for the answer on your own, you''ll just be told to RTFM and STFW. Gamedev isn''t one of those places, but that doesn''t mean we''re any less annoyed by people who don''t try to find their own answers.
And finally, in response to this:
"One day you mite be looking for answers by me and I will give you an exact opposite answer like you gave me!!!!Ha!"
Once you''re at the stage where you can answer other people''s questions, you''ll be at the stage where you could see that all the people who you got mad at here were just trying to help you.
The choice is: either you spend time fine-tuning your question, or everyone else has to spend time trying to figure out what you meant. If you measure the effect in person-hours, you''ll see that it''s much better to fine-tune your question.
And please don''t use more than one exclamation mark at a time... even if you are mad at everyone. You used so many that this forum has become 3.5 pages wide, and I have to scroll across to read what everyone is saying.
You asked what a compiler is. A compiler takes a text file, and turns it into an .exe file.
You seem to have ideas for a game (you mentioned the development phase). To tell the truth - if your game is large enough that you even need a development phase, it''s too big for your first project. I''ve had a friend who tried to start by making an MMORPG. As I explained to him, it takes most people years to get to the level of skill required for that. You need to start small. You asked about the main menu in a game. I''ll describe how to make a main menu, to show you how hard it is to understand.
You''d have a variable indicating which menu option is selected. You''d need a message handler to detect key presses and mouse movement. Depending on the keyboard input, you''d have to increment or decrement the currently selected option and check if it overflows or underflows the list. You''d have to check where the mouse cursor is. You have to check if the mouse cursor''s position is inside any of the rectangles defined by the menu options. Then, every time the currently selected option is changed, you''d have to blit the unselected version of the previously selected option into its position and blit the selected version of the newly selected option into its position.
In the way of compilers, gnu c++ is very good (and free). A nice IDE for it (so you don''t have to use notepad) is Dev-C++ (also free).
For learning to program, there are tutorials everywhere. You''ll need to learn to use this. Before asking a question, you should search for the answer on your own. In some forums, if you don''t try to search for the answer on your own, you''ll just be told to RTFM and STFW. Gamedev isn''t one of those places, but that doesn''t mean we''re any less annoyed by people who don''t try to find their own answers.
And finally, in response to this:
"One day you mite be looking for answers by me and I will give you an exact opposite answer like you gave me!!!!Ha!"
Once you''re at the stage where you can answer other people''s questions, you''ll be at the stage where you could see that all the people who you got mad at here were just trying to help you.
just to be anal:
compiler: takes source code and creates an "object" file.
linker: takes object and library files and creates an "executable" file. also creates library files, as well as other image type files.
To the vast majority of mankind, nothing is more agreeable than to escape the need for mental exertion... To most people, nothing is more troublesome than the effort of thinking.
compiler: takes source code and creates an "object" file.
linker: takes object and library files and creates an "executable" file. also creates library files, as well as other image type files.
To the vast majority of mankind, nothing is more agreeable than to escape the need for mental exertion... To most people, nothing is more troublesome than the effort of thinking.
To the vast majority of mankind, nothing is more agreeable than to escape the need for mental exertion... To most people, nothing is more troublesome than the effort of thinking.
I''ll just add one little thing ...
Languages don''t "support" 3d objects and spaceships. It is up to you, the programmer, to implement these things, using the base types and/or classes that your languages gives you.
quote: Original post by Cain62
Im having trouble finding a language to code with(That can support 3d objects and spaceships!!!!!!!!!!!
Languages don''t "support" 3d objects and spaceships. It is up to you, the programmer, to implement these things, using the base types and/or classes that your languages gives you.
ReactOS - an Open-source operating system compatible with Windows NT apps and drivers
This is a for beginners forum, so we play nice. However, the beginner must also show some respect and learn from what is said:
Agreed. It''s very irritating. However, someone else gave you an excellent link - follow that and ignore people who don''t give you anything useful.
As has been mentioned, high-level languages used to program computer/video games generally do not "support" 3D objects, etc natively. You have to write such functionality yourself.
Think about it for a minute... if programming computer games was so easy, why are they so pitiful? If you could just jump in and do it, then why do games by the "ig boys" still leave us disappointed?
Food for thought.
Because everybody has dreams. It''s whether you have the guts and determination to make them a reality that counts.
Calm down, it''s not that serious. Posts like this wont make people like you any more or take you any more seriously. Listen, learn. Game programming is no stroll in the park; it''s hard work and often very frustrating. It''s also very technical at the highest level, and the learning curve is rather steep for most people. Frankly, you will not make any game of consequence in the next 3 months (and that''s being very generous). Why? Because you have so much to learn!
So, start here.
Welcome, and good luck! We''ll be here for you.
[ GDNet Start Here | GDNet FAQ | MS RTFM | STL | Google ]
Thanks to Kylotan for the idea!
quote: Original post by Cain62
I Dont like it when people like you dont answer my questions becouse they give me a total oposite answer!
Agreed. It''s very irritating. However, someone else gave you an excellent link - follow that and ignore people who don''t give you anything useful.
quote: Im having trouble finding a language to code with(That can support 3d objects and spaceships!
As has been mentioned, high-level languages used to program computer/video games generally do not "support" 3D objects, etc natively. You have to write such functionality yourself.
quote: If you have any suggestions about a language that I can use tell me what it is and tell me where I can find it!
I want it to be FRRREEE! I also need a compiler...
Think about it for a minute... if programming computer games was so easy, why are they so pitiful? If you could just jump in and do it, then why do games by the "ig boys" still leave us disappointed?
Food for thought.
quote: You people dont treat beginers with dreams with the respect they deserve!
Because everybody has dreams. It''s whether you have the guts and determination to make them a reality that counts.
quote: One day you mite be looking for answers by me and I will give you an exact opposite answer like you gave me!Ha!
Calm down, it''s not that serious. Posts like this wont make people like you any more or take you any more seriously. Listen, learn. Game programming is no stroll in the park; it''s hard work and often very frustrating. It''s also very technical at the highest level, and the learning curve is rather steep for most people. Frankly, you will not make any game of consequence in the next 3 months (and that''s being very generous). Why? Because you have so much to learn!
So, start here.
Welcome, and good luck! We''ll be here for you.
[ GDNet Start Here | GDNet FAQ | MS RTFM | STL | Google ]
Thanks to Kylotan for the idea!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement