Hi, I am a little new to linux and wanted to learn how to compile and program. My friend created this 3d game completely with a compiler, and he said it took him a year. It sort of looked like “Sonic.” After seeing that, I became envious to try and make a better game. rotfl! The only problem is…I don’t know where to begin and what to do…Help!
You can not create a program with a compiler, a compiler is needed to turn code into executable binaries.
And to me it seems the point to start is very obvious: learn how to program.
So what do I do? How do i begin?
You will find many tutorials on programming online, just google it. It’s not easy to decide what language to begin with; for first time programmers I would recommend either Python or Perl, but both are not too good for creating games (it’s possible, but that’s not exactly what they where made for). C and C++ on the other hand are pretty hard to begin with. Maybe you should ask your friend what exactly he was using.
You can make pretty good games in FreeBasic, great to cut your programming teeth on. It runs in openSUSE, installation is here: HowTo Install the FreeBASIC Compiler into Suse / openSUSE 32 and 64 bit
Get a friend who won’t make you feel bad.
Just kidding. Listen to the other posters.
If you are the kind who takes to computer languages, expect that you will learn many different languages over time so don’t get hung up on any particular one.
On 2010-11-20 02:36, Rabbitdog wrote:
>
> So what do I do? How do i begin?
Get some classes. Self learning is possible, but it is better to have a
good teacher.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)
MIT and Stanford have some FREE online classes ( non accredited )
Free Online Course Materials | MIT OpenCourseWare
Stanford School of Engineering - Stanford Engineering Everywhere
Game is a programm and not compiler. Anyway, if you want to create a game you sould learn some programm laguanges. First of all you must learn PASCAL(In Hellas is the first language which you must learn), second you must learn C & C++. C and C++ are laguanges of object oriented programming. If you want to start programming, I will give you the orders. So you will learn to make programms(mathematical and then serious programms). These languages are useful for you, because you learn linux even easier.
I will give you the orders.
Haha, stamostolias, you should really be a bit more careful with your english. You see, “I will give you the orders” is rather a sentence shouted by a commissioned officer to a soldier or something…
And hey:
First of all you must learn PASCAL …]
There is not one way to start, but many.
gropiuskalle wrote:
> And hey:
>
>> First of all you must learn PASCAL …]
>
> There is not one way to start, but many.
>
>
+1 that there are many ways.
It depends on a lot of things to give a good advice.
What is it you want to prgram, is it with something special in mind like
game programming mentioned before?
Is it with computer science in mind or a certain field of application like
scientific computing?
What is the level of education already achieved?
And so on and so on.
What is good for one person maybe a tedious and error prone way for another
person, but beside all that informations I do not really know the answer I
propose to start with something really easy like python (it can quickly
become complicated).
From python there is a natural way to go further to a compiled language like
c or c++ which can be easily interfaced with python or to go with an
intermediate step to cython which is to a certain degree somewhere in
between.
Pros for python are a large community also for beginners, plenty of
tutorials freely available and the advantage that it is an interactive
language.
When starting to learn a programming language you can go the way to do it
completely on your own. In my experience it is more satisfying to have
someone who helps (this can be a professional teacher or someone else with
experience) and who helps to get stuck with typical beginners errors or
developing bad programming habbits.
A somewhat different approach is to start with one of the languages which
target virtual machines (like the jvm, mono, .net). Java is in my oppinion
nasty but powerfull, scala is much cleaner. But without any experience in
programming I would not really recommend one of those.
Just my 2 ct.
–
openSUSE 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.5 | GeForce
9600 GT | 4GB Ram
openSUSE 11.3 64 bit | Intel Core2 Duo T9300@2.50GHz | KDE 4.5 | Quadro FX
3600M | 4GB Ram
Some links if you consider learning python:
The official tutorial (v2.7)
http://docs.python.org/tutorial/
or the 2.6.5 version (the version which is default in opensuse 11.3):
http://docs.python.org/release/2.6.5/tutorial/index.html
Python opengl bindings for 3d programming:
http://pyopengl.sourceforge.net/documentation/
For game programming (I have myself no experience with game programming):
http://www.pygame.org/
For beginners:
http://wiki.python.org/moin/BeginnersGuide
–
openSUSE 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.5 | GeForce
9600 GT | 4GB Ram
openSUSE 11.3 64 bit | Intel Core2 Duo T9300@2.50GHz | KDE 4.5 | Quadro FX
3600M | 4GB Ram
On 2010-11-21 20:40, martin_helm wrote:
> gropiuskalle wrote:
>> And hey:
>>
>>> First of all you must learn PASCAL …]
>>
>> There is not one way to start, but many.
>>
>>
> +1 that there are many ways.
> It depends on a lot of things to give a good advice.
Pascal was designed to teach programming, Python was not. So yes, my advice
is also to learn pascal first, with a teacher.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)
However, the precursor of Python, ABC, was designed to teach programming.
CCCCCCCCCCCCCCCCCCCCCCCCCCCc
C++++++++++++++++++++++++++
Just with that you will be fine, a languange background is good, but not necessary, and indeedly I advice a great school or even a BA on that great area!!!
Haha, stamostolias, you should really be a bit more careful with your english. You see, “I will give you the orders” is rather a sentence shouted by a commissioned officer to a soldier or something…
That is true but I work in Department of Defense as programmer and I speak like a officer.
I used to program a lot in my CP/M days. Z80 assembly language, BASIC, Turbo Pascal, Modula-2, C and later, x86 assembly language. (For example, I ported Chuck Forsberg’s UNIX zmodem code to CP/M. Quite challenging doing that in a combined program heap and stack space of 61 kilobytes!)
Nowadays, I write no programs at all. However, I remember enough C to enable me to make minor software changes or to correct the odd compiler error for various Linux software that I want to use. It’s quite handy, every so often.
For the OP, I’d possibly just jump in and learn C.
Paul
On 2010-11-22 10:36, stamostolias wrote:
>
>> Haha, stamostolias, you should really be a bit more careful with your
>> english. You see, “I will give you the orders” is rather a sentence
>> shouted by a commissioned officer to a soldier or something…
>
> That is true but I work in Department of Defense as programmer and I
> speak like a officer.
ROTFL! X’-)
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)
On 2010-11-22 10:36, prhunt wrote:
> For the OP, I’d possibly just jump in and learn C.
It is very easy to learn bad practices if you start your life with C,
specially if you do without guidance. It is preferable a more strongly
typed language, which is why I prefer Pascal for the initial learning.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)
I agree but in Greece the first language which you must learn is Pascal, because it is simbly and not as difficult as c & c++.