Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

Making a game in C++

Name: Anonymous 2007-07-28 21:06 ID:O3oWkJE4

I want to start making a game in C++, but I have no idea where to start, and where to progress from there.

I know I'm going to get flamed, but it's worth a shot.

Name: Anonymous 2007-07-28 21:10 ID:Heaven

I won't flame, but I will sage this thread once.

Spoilers: http://dis.4chan.org/list/prog

Fucking lurk moar.

Name: Anonymous 2007-07-28 21:11 ID:yNlQM1su

You are going to get flamed.

If you have no idea where to start, you shouldn't be writing a game using C++.

Name: Anonymous 2007-07-28 21:11 ID:Heaven

>>1
Use Allegro. It's cross-platform and very easy to use. You can use it in most languages, but it's aimed at C/C++.

Name: Anonymous 2007-07-28 21:15 ID:Heaven

>>1
Start by reading the Wizard Book.

Name: Anonymous 2007-07-28 21:29 ID:Heaven

but I have no idea where to start
how about learning C++?
Then OpenGL, and well that's about it.

Name: Anonymous 2007-07-28 22:25 ID:QtMILiHy

READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP READ SICP

Name: Anonymous 2007-07-29 1:26 ID:4G/i8azm

>>6

OpenAL

Name: Anonymous 2007-07-29 2:15 ID:Heaven

i don't think he realizes what it takes to make a "game"

Name: Anonymous 2007-07-29 3:46 ID:Heaven

Commencing sage due to stupid question.

Name: Anonymous 2007-07-29 7:15 ID:Heaven

>>8
OpenSICP

Name: Anonymous 2007-07-29 11:22 ID:SkyV/Ldo

At the very least, if you are very intelligent, it will take 5 years before you'll have anything tangible (i.e. not a fucking snake clone)

Name: Anonymous 2007-07-29 21:06 ID:w0OCmHbW

Name: Anonymous 2007-07-29 22:07 ID:vCMyntYZ

>>1
If you don't know where to start, you can't make a game.

Name: Anonymous 2007-07-29 23:42 ID:/4CBdxcc

>>1
If you don't know where to start then chances are you don't know what you are getting yourself into.  That's okay though.  It is better that you come to see how daunting it is so you can ask "now, do I want to do this?" instead of being intimidated by the unknown.  Start by telling us what knowledge you have.  Can you program a simple console application?

Making a modern 2D game or a modern 3D game isn't more complicated than making a Snake clone.  The snake clone takes less work (a lot less), but it is not more complicated.  Multi-screen, *fun* games are not beyond a single person's ability to make either.

Daisuke Amaya, creator of Cave Story:
http://en.wikipedia.org/wiki/Cave_Story

ZUN, creator of the Touhou games:
http://en.wikipedia.org/wiki/Team_Shanghai_Alice

Name: Anonymous 2007-07-30 0:21 ID:9SFVWtSx

it took me 5 years to make a snake clone :(

Name: anonymous !faggot0tBQ 2007-07-30 0:32 ID:Heaven

>>16
gtfo

Name: Anonymous 2007-07-30 0:41 ID:ATDagwRW

>>16
Took me a few days to write a game of Tetris in OpenGL, last year.

Here's a screenshot I found recently on my imageshack account of it in the early stages:

http://img255.imageshack.us/img255/8471/cb7xa.jpg

Name: Anonymous 2007-07-30 1:07 ID:jJmziQWG

>>18
Hi Chris!  It's me!

lolcakes

Name: Anonymous 2007-07-30 1:16 ID:ATDagwRW

>>19
OMG, Paul? We should meet up and have bumsex again.

Name: Anonymous 2007-07-31 6:01 ID:8FPlfA53

it has took me 15 years to make mario-clone and i  haven't finish the second level yet. i use basic and paint k thanks bye ^_^

Name: Anonymous 2007-07-31 6:12 ID:pvS8hm/i

I wrote a very simple snake in opengl for a school project, using some (extremely basic) knowledge of OpenGL, with the GLUT subsystem. If you already have C++ and some Win32 knowledge, it shouldn't take too long to hack something up. Indeed, the hardest part is the game logic itself, everything else is just mickey mouse.

Name: Anonymous 2007-07-31 6:44 ID:z8bE8UVm

bullshit, the hardest part is making sure your game runs acceptably well on your wide variety of target systems, especially if you are starting your graphics from scratch (OpenGl or Direct3D) and want to use features such as shaders. Game logic is a piece of piss.

Name: Anonymous 2007-07-31 6:57 ID:z8bE8UVm

>>23 This is why things like XNA will get popular among the amateur gamedev community.

Name: Anonymous 2007-07-31 7:53 ID:Heaven

>>24
Microsoft XNA is
Stopped reading right there. What a fail.

Name: Anonymous 2007-07-31 8:27 ID:RsDa01co

XNA sucks

Name: Anonymous 2007-07-31 8:48 ID:z8bE8UVm

What is wrong with it?

Name: Anonymous 2007-07-31 8:49 ID:z8bE8UVm

Sorry I'm assuming you've used it, which you probably have not.

Name: Anonymous 2007-07-31 8:53 ID:Heaven

>>27
>>28
Same person.

Name: Anonymous 2007-07-31 8:56 ID:I6TobHJ5

>>27
Microsoft is considered harmful, it has been deprecated and scheduled for removal.

Name: Anonymous 2007-07-31 9:11 ID:z8bE8UVm

>>30 sometime in the year 2134, am i rite?
Microsoft is awesome.

Name: Anonymous 2007-07-31 9:20 ID:U80RTJZT

>>31
Microsoft is awesome.

Well, that's one way to kill your own troll.

Name: Anonymous 2007-07-31 21:33 ID:89LXtHG0

>>23
Doesn't GLUT handle a lot of that?

Name: Anonymous 2007-07-31 22:07 ID:zvzVm2lR

*bump* how do you make your games run on a wide variety of systems?  Do you have to literally take dozens of configurations, maybe in a virtual machine, and write extra code for all of them?

Name: Anonymous 2007-08-01 0:16 ID:cLvO9hUb

Personally, I say that you use OpenGL, and whatever OS you are used to for your programming..
start out simple, make a calculator, or something dos-based, then move your way to writing simple OGL programs (there are tutorials EVERYWHERE -- Google = friend), model viewers (to get used to loading a new model into memory and displaying it on screen) then move on to a 2d opengl game, start really simple: something in the area of:
pong, sh'mup games (galaga), just something STUPID
once you get that down, you must defeat the challenge of the third dimension on your own, and there isnt much help for you if it doesnt make sense in your head before you start coding...
also, microsoft = epic phail (windows itself is 'okay' but the company, and the idea behind windows is phail)
linux = your god...
mac = well, its almost as bad as microsoft, just without the idea behind the software... and the stolen code... and the poor indian kids...

Name: Anonymous 2007-08-01 0:18 ID:cLvO9hUb

--double post--
yeah, and opengl is cross-platform, so you dont have to worry about extra compatibility lines, just make sure to make it x64 and x86 compatible code (most of the time just doing x86 code accomplishes this fine)...

Name: Anonymous 2007-08-01 0:41 ID:ae+GgVmX

sdl, crystal spaces

Name: Anonymous 2007-08-01 4:49 ID:Heaven

>>34
Use open and cross-platform languages and libraries, duh. C, Lua, OpenGL, SDL is a good start.

Name: Anonymous 2007-09-01 19:21 ID:9CA0ml8l

lol opengl

Name: Anonymous 2007-09-01 22:53 ID:e6ffWdmj

I made a Asteroids clone in 1 day with GDI+ when I was 1 week into learning C#.

That, of course, gives me the title of EXPERT PROGRAMMER

(C++/SDL took me 3 days, because I didn't know how to rotate graphics. (in b4 "sdl_gfx motherfucker, do you use it))

Name: Anonymous 2007-09-01 22:58 ID:Heaven

>>40
Don't you mean, EXPERT PROGRAMMER?

Name: Anonymous 2007-09-01 23:01 ID:e6ffWdmj

>>41
Yes, captain.

Name: Anonymous 2009-03-06 13:24

OpenGL is old and I RAGE when   we see his   pecker and how   it will always   be implemented by   following a single   type parameter for   a reason So.

Name: Anonymous 2010-12-10 14:45


Don't change these.
Name: Email:
Entire Thread Thread List