C++

  • Thread starter Deleted User
  • Start date
  • Views 1,097
  • Replies 2
D

Deleted User

Guest
OP
I was wondering if you can use just OpenGL to develop games without any additives such as GLFW thanks
 

SirGouki

Member
Newcomer
Joined
Nov 20, 2016
Messages
8
Trophies
0
Age
38
XP
115
Country
United States
Yes, you can code straight in OpenGL with C++, you just have to have, and include properly, all of the headers for it. People have literally been coding games in OpenGL and C++ without an in between for decades. Now, considering you had to ask this, I feel I'd better warn you. OpenGL is not a Game library, its a Graphics Library, and it will *only* handle 3d and 2d graphics. It will not make it easier to handle input, audio, networking or anything else. OpenAL is an Audio library. If you're looking for something in C++ that makes the entire process easier, I'd instead recommend SFML or SDL2. SFML and SDL both use OpenGL for graphics, and SFML even supports direct calls to the OpenGL library, while still using its other available functionality.

Edit: Also, you need to keep the discussion going in the threads you've already created (you've got at least 2 threads about OpenGL and using it for 3DS homebrew development that are within a few days of each other, and now that I've seen that, I'm assuming that this was part of that same line of questioning), and when you make a new topic, do not just put things like C++ or OpenGL, put things like "How do I code for the 3DS using OpenGL?" so people more immediately know what you're looking for. This will make it easier for people to see whether they can actually answer you or not. I am not editing my original answer, because it answers the question you asked and gives some advice. But SFML and SDL2, as far as I know, do not work with 3DS, you'd be better off finding a library specifically targeting the 3DS. The way you ask questions, open threads, and the questions you ask all tell me you are rather new to this, and I'd suggest you do a lot more reading about OpenGL, C++ and how homebrew gets ported to/made for the 3DS first.
 
Last edited by SirGouki,
D

Deleted User

Guest
OP
Yes, you can code straight in OpenGL with C++, you just have to have, and include properly, all of the headers for it. People have literally been coding games in OpenGL and C++ without an in between for decades. Now, considering you had to ask this, I feel I'd better warn you. OpenGL is not a Game library, its a Graphics Library, and it will *only* handle 3d and 2d graphics. It will not make it easier to handle input, audio, networking or anything else. OpenAL is an Audio library. If you're looking for something in C++ that makes the entire process easier, I'd instead recommend SFML or SDL2. SFML and SDL both use OpenGL for graphics, and SFML even supports direct calls to the OpenGL library, while still using its other available functionality.

Edit: Also, you need to keep the discussion going in the threads you've already created (you've got at least 2 threads about OpenGL and using it for 3DS homebrew development that are within a few days of each other, and now that I've seen that, I'm assuming that this was part of that same line of questioning), and when you make a new topic, do not just put things like C++ or OpenGL, put things like "How do I code for the 3DS using OpenGL?" so people more immediately know what you're looking for. This will make it easier for people to see whether they can actually answer you or not. I am not editing my original answer, because it answers the question you asked and gives some advice. But SFML and SDL2, as far as I know, do not work with 3DS, you'd be better off finding a library specifically targeting the 3DS. The way you ask questions, open threads, and the questions you ask all tell me you are rather new to this, and I'd suggest you do a lot more reading about OpenGL, C++ and how homebrew gets ported to/made for the 3DS first.

Okay thank you I will do this next time
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    Insert **** here
    +2
  • K3Nv2 @ K3Nv2:
    What a tiny memory card
    +1
  • BigOnYa @ BigOnYa:
    Rumble packs are important
    +1
  • K3Nv2 @ K3Nv2:
    Make sure it's fully charged
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I remember someone made a vibrating Wiimote homebrew lol
  • K3Nv2 @ K3Nv2:
    Well you and bigonya love to sword fight your wiimotes
    +3
  • BakerMan @ BakerMan:
    classic controller funky kong flame runner is overrated, i prefer wii wheel wario flame runner
    +1
  • Xdqwerty @ Xdqwerty:
    i returned
  • BigOnYa @ BigOnYa:
    I'm happy its first person.
    +1
  • K3Nv2 @ K3Nv2:
    All big titles should offer first and 3rd person it's been a thing since like gtaV
    +2
  • BigOnYa @ BigOnYa:
    I've been playing Killer Clowns from Outer Space all day, is pretty fun. Basically Friday 13th but with clowns. One of my favorite b rated movies from way back.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, is it a game or a movie? get decided!
  • BigOnYa @ BigOnYa:
    Its a game based off the old movie
    +1
  • K3Nv2 @ K3Nv2:
    It's a down scene with slow drums
  • K3Nv2 @ K3Nv2:
    Oh cool that Bodycam games out
  • BigOnYa @ BigOnYa:
    Ratings for it are calling it bad, but it looks cool. Damn 48/100 rating.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa,
    looks are deceiving
  • BigOnYa @ BigOnYa:
    Yea people always down vote games anymore seems like, good or bad, bunch of haters
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, review bombing?
    +1
  • K3Nv2 @ K3Nv2:
    Yeah seems like people hate on original ideas anymore
  • K3Nv2 @ K3Nv2:
    Oh were sorry our small dev team can't shit out a cod clone every 6 months
    +1
  • K3Nv2 @ K3Nv2:
    Mostly positive on steam
  • BigOnYa @ BigOnYa:
    Eew, you use steam, I'm down voting you cause you not using or playing what I like.
    BigOnYa @ BigOnYa: Eew, you use steam, I'm down voting you cause you not using or playing what I like.