Hi,
i am trying to learn how to make a 2d graphic game in C++.
I learnt java in university.
while i was there, i made a game involving some squares, circles and dots (i am explaining this coz i don't know how to insert a image). its not a text based. its like pacman moving around.
in java i can use drawOval or fillOval, to move i can use something like y += DISTANCE_TO_MOVE.
can i do that in c++?
i heard that i have to use some kind of graphic application or something.
is java and c++ that much different?
creating a simple 2d graphic game in c++ help
Page 1 of 13 Replies - 15819 Views - Last Post: 02 January 2011 - 03:50 AM
#1 Guest_jin0616*
creating a simple 2d graphic game in c++ help
Posted 01 January 2011 - 11:55 PM
Replies To: creating a simple 2d graphic game in c++ help
#2
Re: creating a simple 2d graphic game in c++ help
Posted 02 January 2011 - 12:18 AM
jin0616, on 02 January 2011 - 03:55 PM, said:
is java and c++ that much different?
Yes. Java has the idea of graphics, effectively, "built in".
C++ does not.
You will need to choose a graphics library.
There are many many options.
This is just one you might want to consider
http://gpwiki.org/in...p/SDL:Tutorials
#4
Re: creating a simple 2d graphic game in c++ help
Posted 02 January 2011 - 03:50 AM
SFML (Simple Fast Multimedia Library) is also a good C++ graphics API for developing simple games
http://www.sfml-dev.org/
http://www.sfml-dev.org/
Page 1 of 1
|
|

New Topic/Question
Reply
MultiQuote








|