Coder in need of advice
Moderator: Coders of Rage
- zodiac976
- Chaos Rift Regular
- Posts: 156
- Joined: Thu Jun 18, 2009 10:03 am
- Current Project: Booklet & Text RPG
- Favorite Gaming Platforms: PC, PS3, PSP
- Programming Language of Choice: C++
- Location: AL
- Contact:
Coder in need of advice
Hello everyone! I am 7 months into C++ programming and became highly interested
in it after attending C++ classes in college and I am continuing to program.
I am looking for some advice on, if I should keep programming in console applications or
switch to windows applications and also if i should start learning openGL, as my main
focus is game programming.
Thanks in advance for any advice.
in it after attending C++ classes in college and I am continuing to program.
I am looking for some advice on, if I should keep programming in console applications or
switch to windows applications and also if i should start learning openGL, as my main
focus is game programming.
Thanks in advance for any advice.
- thejahooli
- Chaos Rift Junior
- Posts: 265
- Joined: Fri Feb 20, 2009 7:45 pm
- Location: London, England
Re: Coder in need of advice
Definately switch out of console once you know enough c++, which it sounds like you do.
Also I would would start with 2D using SDL or Allegro before moving onto 3D rendering with OpenGL as 2D games can give you a lot of knowledge which can be used for 3D games without the extra, time consuming process of doing it in 3D.
And welcome to the forums.
Also I would would start with 2D using SDL or Allegro before moving onto 3D rendering with OpenGL as 2D games can give you a lot of knowledge which can be used for 3D games without the extra, time consuming process of doing it in 3D.
And welcome to the forums.
Last edited by thejahooli on Thu Jun 18, 2009 12:57 pm, edited 1 time in total.
I'll make your software hardware.
- zodiac976
- Chaos Rift Regular
- Posts: 156
- Joined: Thu Jun 18, 2009 10:03 am
- Current Project: Booklet & Text RPG
- Favorite Gaming Platforms: PC, PS3, PSP
- Programming Language of Choice: C++
- Location: AL
- Contact:
Re: Coder in need of advice
Thanks, I will check out SDL and/or Allegro and eventually move onto windows applications.
I have another question about windows applications, if it's possible to make programs similiar
to console applications?
For example instead of waiting on a user to input an integer or character; wait on the user for
mouse clicks or certain keys pressed but still maintain a similar text menu look in a console
application.
I have another question about windows applications, if it's possible to make programs similiar
to console applications?
For example instead of waiting on a user to input an integer or character; wait on the user for
mouse clicks or certain keys pressed but still maintain a similar text menu look in a console
application.
- thejahooli
- Chaos Rift Junior
- Posts: 265
- Joined: Fri Feb 20, 2009 7:45 pm
- Location: London, England
Re: Coder in need of advice
Not sure, never tried it myself.
I'm sure there is a way though but it will probably be more complicated than using the console by itself.
I'm sure there is a way though but it will probably be more complicated than using the console by itself.
I'll make your software hardware.
Re: Coder in need of advice
im speaking under correction here. but the winapi has callbacks. so you can execute code depending on events.
just do yourself a favor and stick with something like widgets or some premade library. you do not want to mess with the winapi if you dont have to.
just do yourself a favor and stick with something like widgets or some premade library. you do not want to mess with the winapi if you dont have to.
Some person, "I have a black belt in karate"
Dad, "Yea well I have a fan belt in street fighting"
Dad, "Yea well I have a fan belt in street fighting"
- zodiac976
- Chaos Rift Regular
- Posts: 156
- Joined: Thu Jun 18, 2009 10:03 am
- Current Project: Booklet & Text RPG
- Favorite Gaming Platforms: PC, PS3, PSP
- Programming Language of Choice: C++
- Location: AL
- Contact:
Re: Coder in need of advice
Thanks, I appreciate all the advice, but can you explain widgets? I have messed around
some with the win32 API and it is fairly difficult for me but not impossible to learn.
I am so used to console projects right now, making text menu programs and eventually
a text-based RPG. I am probably rushing it too fast but that is just me.
some with the win32 API and it is fairly difficult for me but not impossible to learn.
I am so used to console projects right now, making text menu programs and eventually
a text-based RPG. I am probably rushing it too fast but that is just me.
Re: Coder in need of advice
there is but I'm not sure how... I'm sure you can achieve a similar look in SDL, but your box at the top with the buttons for minimizing and closing wouldn't look like the command line one...zodiac976 wrote:Thanks, I will check out SDL and/or Allegro and eventually move onto windows applications.
I have another question about windows applications, if it's possible to make programs similiar
to console applications?
For example instead of waiting on a user to input an integer or character; wait on the user for
mouse clicks or certain keys pressed but still maintain a similar text menu look in a console
application.
- zodiac976
- Chaos Rift Regular
- Posts: 156
- Joined: Thu Jun 18, 2009 10:03 am
- Current Project: Booklet & Text RPG
- Favorite Gaming Platforms: PC, PS3, PSP
- Programming Language of Choice: C++
- Location: AL
- Contact:
Re: Coder in need of advice
I guess I will stick with console applications a little longer.
I haven't messed with SDL yet but I have messed with darkGDK and openGL.
I haven't messed with SDL yet but I have messed with darkGDK and openGL.
- Ginto8
- ES Beta Backer
- Posts: 1064
- Joined: Tue Jan 06, 2009 4:12 pm
- Programming Language of Choice: C/C++, Java
Re: Coder in need of advice
SDL is a very good library, as is OpenGL. Both can do 2D, though OpenGL can do it more flexibly, as well as do 3D. Personally, I use SDL for window management and OpenGL for graphics, though I have used SDL for graphics in the past. I would highly recommend SDL or just about anything else over winAPI, because, well, none of the code you write would work properly for me (I'm on Linux ), and because WinAPI is really difficult to use. However, it is your choice as to what API you use, so that's my $.02zodiac976 wrote:I guess I will stick with console applications a little longer.
I haven't messed with SDL yet but I have messed with darkGDK and openGL.
Quit procrastinating and make something awesome.
Ducky wrote:Give a man some wood, he'll be warm for the night. Put him on fire and he'll be warm for the rest of his life.
- zodiac976
- Chaos Rift Regular
- Posts: 156
- Joined: Thu Jun 18, 2009 10:03 am
- Current Project: Booklet & Text RPG
- Favorite Gaming Platforms: PC, PS3, PSP
- Programming Language of Choice: C++
- Location: AL
- Contact:
Re: Coder in need of advice
I really should take a look at SDL.
- dandymcgee
- ES Beta Backer
- Posts: 4709
- Joined: Tue Apr 29, 2008 3:24 pm
- Current Project: https://github.com/dbechrd/RicoTech
- Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
- Programming Language of Choice: C
- Location: San Francisco
- Contact:
Re: Coder in need of advice
Try it out. If all else fails go back to the console until you can grasp a few more concepts.zodiac976 wrote:I really should take a look at SDL.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!
- thejahooli
- Chaos Rift Junior
- Posts: 265
- Joined: Fri Feb 20, 2009 7:45 pm
- Location: London, England
Re: Coder in need of advice
Thats what I did. I wasn't sure whether I should start SDL so I had a go at it and found it fine. There is no point in sticking with console if you know all the C++ that you could get out of it and even if you haven't it is still good and motivating to see something resembling a game.dandymcgee wrote:Try it out. If all else fails go back to the console until you can grasp a few more concepts.zodiac976 wrote:I really should take a look at SDL.
I'll make your software hardware.