Very new to programming, and would appreciate some advice.
I know you are all probably tired of seeing this post, but I thought if I got it back to the top once more, someone might throw out an answer to my last question above
Pilgrim,
First of all, I suggest that you do just jump in with some simple game. You will learn how to program well by doing it. If you are a _real_ beginner, write a small text adventure or a guess the number game. If you feel like trying something more difficult, go for it.
The thing to look out for is when you are biting off more than you can chew - if you find yourself in major difficulties, stop and shelve that project and try something easier.
To answer the other questions. I suggest you engage your brain
How do you think you position the ball on the screen?
-You hold the position in a pair of variables(call them x and y maybe).
-When you draw the ball, you draw it at x,y
Have a guess at how you make the ball bounce off the edge of the screen.
-You check the value of the x and y variables against the screen width and height.
-If you need to, you reverse the direction of the ball.
I suggest, what you do next is start coding and ask more questions when you have a specific application in mind.
Good Luck,
DeVore
First of all, I suggest that you do just jump in with some simple game. You will learn how to program well by doing it. If you are a _real_ beginner, write a small text adventure or a guess the number game. If you feel like trying something more difficult, go for it.
The thing to look out for is when you are biting off more than you can chew - if you find yourself in major difficulties, stop and shelve that project and try something easier.
To answer the other questions. I suggest you engage your brain
How do you think you position the ball on the screen?
-You hold the position in a pair of variables(call them x and y maybe).
-When you draw the ball, you draw it at x,y
Have a guess at how you make the ball bounce off the edge of the screen.
-You check the value of the x and y variables against the screen width and height.
-If you need to, you reverse the direction of the ball.
I suggest, what you do next is start coding and ask more questions when you have a specific application in mind.
Good Luck,
DeVore
just to be a real asshole, I''m gonna point out that DJGPP is not a compiler, it''s the whole package of compiler,editor,debugger...
the compiler is called gcc
the compiler is called gcc
Pascal isn''t that great for beginnners. I''ve found it to be no easier than C++ in my CS classes.
Pilgrim the only things I''ve actually done at the moment is a 1/4 finished text adventure and a guess the number game in pascal. Learn the language before you amke games you''ll get confused I did/am.
My Homepage
Pilgrim the only things I''ve actually done at the moment is a 1/4 finished text adventure and a guess the number game in pascal. Learn the language before you amke games you''ll get confused I did/am.
My Homepage
What do we really need to begin a game. I always wanted to do some but it''s not easy (or good) to program with BGI! And aways I try to download allegro I ''ve gotta get away the web. It''s hard ''cuz I use it in my school i have no fone line in my house. What am i suposed to do?
Thanks, Arthur(rockslave)
Thanks, Arthur(rockslave)
import money.*;#include "cas.h"uses bucks;
You could order the DX SDK CD from MS I guess as long as you have a compiler at home. I had the same prob until a few months ago I know how annoying it is.
My Homepage
My Homepage
Age doesn''t really matter.
I started on QBASIC and then I went to Visual Basic, HTML and then C++. I found that my previous experience with programming helped me through C++. I wouldn''t recommend starting with C. C++ is a superset of C. A good book on C++ I will recommend to you is "The Complete Idiots Guide To C++" by Paul Snaith. I know the title is a bit demeaning, but hey, it will teach you the underlying facts.
Good Luck
-=[ Lucas ]=-
I started on QBASIC and then I went to Visual Basic, HTML and then C++. I found that my previous experience with programming helped me through C++. I wouldn''t recommend starting with C. C++ is a superset of C. A good book on C++ I will recommend to you is "The Complete Idiots Guide To C++" by Paul Snaith. I know the title is a bit demeaning, but hey, it will teach you the underlying facts.
Good Luck
-=[ Lucas ]=-
-=[ Lucas ]=-
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement