+ 2

how to create a graphics with c++

13th Jun 2016, 5:02 PM
CHURCHIL
CHURCHIL - avatar
6 Answers
+ 4
I like the SDL graphics library it also handles sound and input uses BLIT for rendering then when done uses flip screen for display I've got some ferry nice frame rates
13th Jun 2016, 11:12 PM
terry miller
terry miller - avatar
+ 3
You can create graphics with the help of graphics .h Example: #include<iostream.h> #include<conio.h> #include<graphics.h> void main() { clrscr(); int gd=DETECT,gm; initgraph(&gd,&gm,"c:/tc/bgi"); circle(200,200,50); getch(); closegraph(); } // this program prints a circle at coordinate // 200 nd 200(x nd y) with a radius of 50 Note : This program is written in turbo c++. The coding might differ from what you have studied in these lessons.
13th Jun 2016, 5:10 PM
Satan 666
Satan 666 - avatar
+ 3
but i want to create a game
13th Jun 2016, 5:56 PM
CHURCHIL
CHURCHIL - avatar
+ 3
Game creation is a whole different level. You will be needing a game engine to do so. In game engines, scripting is the part which requires programming which is done in C# or javascript. If you want to do it with c++ from the start ,well first you need to create a game engine which includes render settings,textures,shaders,physics engine and collision detection system. Also game engine is not based on only one language, it is a combination of different language which comes together making an engine. Checkout Unity 5 or unreal engine 4 for game engine reference. You can use these engines to make small games.. both of them are easy to learn👍
13th Jun 2016, 6:04 PM
Satan 666
Satan 666 - avatar
+ 2
I feel u man I want to do it to but I just can't set up anything that will print graphics on the screen
14th Jun 2016, 9:03 PM
Charliys Que
Charliys Que - avatar
+ 1
IM INTERESTED ON THIS FEATURE ALSO
20th Jun 2017, 10:34 AM
Jose Ramon Gomez Armenta
Jose Ramon Gomez Armenta - avatar