+ 1

Is there a way to develop games in c++ without any extra libraries for example directX?

I'm looking to learn another programming language for developing games and I heard c++, java, etc... is good for this type of stuff (android game developmemt) but I just want to use the base language not some extra libraries. This is also why I don't really like python...

13th Aug 2018, 9:43 PM
Shedrick Williams
Shedrick Williams - avatar
18 Respuestas
+ 6
Unless you want text console input and output for your game, you must use some library to get a GUI interface in all of the languages.
14th Aug 2018, 1:49 AM
John Wells
John Wells - avatar
+ 6
I don't think Intellij is available for Mac, but don't know for sure. Buttons, menus, scroll bars, text... I put a menu, some line graphics, and text to do my code.
14th Aug 2018, 2:30 AM
John Wells
John Wells - avatar
+ 5
My C++ was all done with a text based interfaces. I've done GUI for the early Macs using Apple's Pascal in the 80's. Last night, I played with JavaFX with Kotlin for the first time. Therefore, I can't help you with it. I managed to complete my simple window in under an hour reading a few Java example programs. But, JavaFX is similar to Apple's MPW in class organization so I had no trouble understanding it.
14th Aug 2018, 2:08 AM
John Wells
John Wells - avatar
+ 5
What type of user interface do you want to implement?
14th Aug 2018, 2:18 AM
John Wells
John Wells - avatar
+ 5
I've not found a IDE I like on my phone so I used Intellij on my laptop.
14th Aug 2018, 2:19 AM
John Wells
John Wells - avatar
+ 5
Which gfx are you using? My search came up with a few choices.
14th Aug 2018, 2:44 AM
John Wells
John Wells - avatar
+ 4
Yes, it works with both languages. In your case, I'd stay with Java as there isn't tutorials for Kotlin and almost no examples. My main issue getting it to work took me 30 minutes of searching to find the answer in a Kotlin example.
14th Aug 2018, 2:15 AM
John Wells
John Wells - avatar
+ 4
Android games would have to use the Android GUI. Languages that I know supporting Android are C++, Java, and Kotlin. My first choice for people with limited experience would be Java as there are huge amounts of support and examples available to help them. I will be doing it in Kotlin soon (after I finish Swift and PHP courses here.)
14th Aug 2018, 3:09 AM
John Wells
John Wells - avatar
0
danger dude. Are there any simple ones you know of with like c# or c++
14th Aug 2018, 1:50 AM
Shedrick Williams
Shedrick Williams - avatar
0
JavaFX is a library I can use for graphics with Java or Kotlin?
14th Aug 2018, 2:11 AM
Shedrick Williams
Shedrick Williams - avatar
0
Ok thanks! is there generally "easiest" gfx lib other than JavaFX
14th Aug 2018, 2:17 AM
Shedrick Williams
Shedrick Williams - avatar
0
and also what IDE do you recommend for it and c.an you use javaFX on mobile?
14th Aug 2018, 2:18 AM
Shedrick Williams
Shedrick Williams - avatar
0
could you elaborate?
14th Aug 2018, 2:19 AM
Shedrick Williams
Shedrick Williams - avatar
0
Ok intelliJ is on Mac right?
14th Aug 2018, 2:20 AM
Shedrick Williams
Shedrick Williams - avatar
0
By user interface do you mean like implement buttons, swiping, etc...?
14th Aug 2018, 2:21 AM
Shedrick Williams
Shedrick Williams - avatar
0
ummmmm buttons scroll bars and basic 2D primitives is like my gfx lib I'm using now so all this stuff would be great...
14th Aug 2018, 2:33 AM
Shedrick Williams
Shedrick Williams - avatar
0
Well really it's a whole other language... umm processing is what it's called but sometimes when I feel like javascripty then I use p5.js
14th Aug 2018, 2:54 AM
Shedrick Williams
Shedrick Williams - avatar
0
Android GUI is an official gfx lib
14th Aug 2018, 3:12 AM
Shedrick Williams
Shedrick Williams - avatar