• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
Sign in to follow this  
Followers 0
NDraskovic

Starting OpenGL

12 posts in this topic

Hey

I've been learning the basics of game development for some time now, and I believe that I am ready to take "the next step". So far, I've been working with XNA, but I get the feeling that Microsoft is slowly abandoning it. Therefor, I think it's time to switch to another API - I did some research, and I think that OpenGL would be good place to go, because it is supported on many platforms, and has a large enough community from which I could get help when I get stuck. My question is - which developing environment would be best to start working with C++ and OpenGL. I've been using Visual Studio for some time now, so if it's possible to use it with OpenGL it would be great.
0

Share this post


Link to post
Share on other sites
[quote name='NDraskovic' timestamp='1354021063' post='5004495']
Visual Studio
[/quote]
Yes, open gl provides a C API therefor you won't have any trouble using Visual Studio (C++) with OpenGL.
2

Share this post


Link to post
Share on other sites
Hi,
I've been studying modern opengl (3.2+) lately. Like the other's have said, opengl is not tied to a compiler, you can use any compiler you like. At home I use Visual Studio 2012 Express and at work I use Code::Blocks with MinGW 4.7.2.

If you are interested in learning Modern OpenGL, I have found the following links to be very helpful:
[url="http://www.arcsynthesis.org/gltut"]http://www.arcsynthesis.org/gltut[/url]
[url="http://www.opengl-tutorial.org"]http://www.opengl-tutorial.org[/url]
[url="http://ogldev.atspace.co.uk/index.html"]http://ogldev.atspace.co.uk/index.html[/url]
[url="http://www.mbsoftworks.sk/index.php?page=tutorials&series=1"]http://www.mbsoftworks.sk/index.php?page=tutorials&series=1[/url]
[url="http://rastertek.com/tutgl40.html"]http://rastertek.com/tutgl40.html[/url]
[url="http://open.gl"]http://open.gl[/url]

Good luck!
2

Share this post


Link to post
Share on other sites
[quote name='NDraskovic' timestamp='1354021063' post='5004495']
Hey

I've been learning the basics of game development for some time now, and I believe that I am ready to take "the next step". So far, I've been working with XNA, but I get the feeling that Microsoft is slowly abandoning it. Therefor, I think it's time to switch to another API - I did some research, and I think that OpenGL would be good place to go, because it is supported on many platforms, and has a large enough community from which I could get help when I get stuck. My question is - which developing environment would be best to start working with C++ and OpenGL. I've been using Visual Studio for some time now, so if it's possible to use it with OpenGL it would be great.
[/quote]
Seeing you come from XNA I think you will feel more at home with DX11. That being said there is no reason to switch away from VS for OpenGL development just switch to C++ or use OpenTK in which case you can even stick with C#. http://sourceforge.net/projects/opentk/ Edited by NightCreature83
0

Share this post


Link to post
Share on other sites
[quote name='NightCreature83' timestamp='1354025208' post='5004515']
Seeing you come from XNA I think you will feel more at home with DX11. That being said there is no reason to switch away from VS for OpenGL development just switch to C++ or use OpenTK in which case you can even stick with C#.
[/quote]

I've thought about it, but if I want to create a game for non-desktop platforms, C++ is more applicable . Also, I think that C++ is somewhat of industrial standard when it comes to game development, so with that in mind, I think it is better to use C++ than C#
1

Share this post


Link to post
Share on other sites
[quote name='NDraskovic' timestamp='1354029218' post='5004532']
[quote name='NightCreature83' timestamp='1354025208' post='5004515']
Seeing you come from XNA I think you will feel more at home with DX11. That being said there is no reason to switch away from VS for OpenGL development just switch to C++ or use OpenTK in which case you can even stick with C#.
[/quote]

I've thought about it, but if I want to create a game for non-desktop platforms, C++ is more applicable . Also, I think that C++ is somewhat of industrial standard when it comes to game development, so with that in mind, I think it is better to use C++ than C#
[/quote]

It's entirely your choice to make. But yes, with C# you may be stuck with Windows.
With good multiplatform libraries C++ can let you make builds for linux/windows/macos with little or no hassle
GLFW is a good window library that simplifies OpenGL + window + mouse/keyboard/joystick and even timing for you
Some people use GLUT (most likely freeGLUT), or SDL (Simple Directmedia Layer)
I'm sure there are others :)
But for starters, with GLFW you have the basics, they work, it's not abandoned and its multiplatform
freeGLUT i'm not sure about, other than that it's simpler.. going from freeGLUT to GLFW (or vice versa) is a simple task
SDL is a huge library that is very powerful, but I don't know very much beyond that
1

Share this post


Link to post
Share on other sites
You don't have to use an "integrated development environment". I personally use a text editor (vim) with a build system (cmake) to write code and manage the compilation process. Any given software project is just a collection of files in a well defined directory structure, and I feel that there's no need to complicate that simple arrangement with some bulky IDE.

Regarding language choice: Yes, C++ is the industry standard, but it's not used for everything. For example, the core system would usually be written in C++, but the game logic could be written in a "scripting language". Actually, depending on the performance requirements of your game, it's usually quite possible, and recommended, to write the entire game in a very high-level language, where you can leverage "modern" features like automatic memory management.

If you're a beginner, performance and portability should be a secondary concern: Create a game worth playing first.
1

Share this post


Link to post
Share on other sites
[quote name='Goran Milovanovic' timestamp='1354038635' post='5004586']
If you're a beginner, performance and portability should be a secondary concern: Create a game worth playing first.
[/quote]

This is exactly the reason I am trying to switch from XNA to another language. I think that for a beginner developer, smart phones are a good platform to get some experience, and get real users to test and evaluate your game. With that in mind, I think that XNA (or WinPhone's to be precise) has way too few users - Android and iOS are much more represented. I know that Android uses OpenGL (and Java, I think), it seemed as a good language to make the transition to (iOS and iPhone's are a bit too expensive). Can you please comment on this logic?
1

Share this post


Link to post
Share on other sites
As far as I know, XNA is a set of tools and libraries, not a language.

In either case, I don't think that developing for a phone will be any more beneficial than developing for PC, or any other platform. If you want to "get real users to test and evaluate your game", you need to make a game that people want to play. If you can't do that, then no one will care, regardless of the platform.

But that's just my personal opinion.
1

Share this post


Link to post
Share on other sites
XNA also runs on 360 and PC in case you were wondering, and you need minimal changes to get the application running on either platform.

I would personally as a beginner stay away from phones, especially when you go down the C++ route, the android platform has all kinds of different hardware you have to deal with.
0

Share this post


Link to post
Share on other sites
Hm, in this case, I might even stick with XNA, at least until I make a decent game (for desktop computers only). I know that XNA can run on Xbox and PC-s, it's just hard to get help when I get stuck, since there are not many developers working with it (and I think that there are fewer every day)
0

Share this post


Link to post
Share on other sites
For XNA development this is the forum you will most likely visit most http://xboxforums.create.msdn.com/forums/default.aspx?GroupID=6 also use MSDN as there is a ton of info in those documentation pages about XNA as well. Microsoft documentation does require some getting used to tough, but once you do you find that they actually do explain most of your problems.

In the windows version of XNA btw you have access to the full .NET library so some of your queries will actually be answered under the normal .NET stuff and not XNA.
1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0