MAking A game in 2d

Where do i start ???

Page 1 of 1

13 Replies - 2057 Views - Last Post: 17 March 2010 - 02:28 AM Rate Topic: -----

#1 Trickster090  Icon User is offline

  • New D.I.C Head

Reputation: -1
  • View blog
  • Posts: 41
  • Joined: 02-June 08

MAking A game in 2d

Posted 04 June 2008 - 02:02 AM

i would like to know how to make a 2d game

im not sure which language i should be looking at i have

VisualBasic 2008 express edition
C# express edition
C++ express edition

which one is better to start with

also can somebody tell me or point to me to some refrence on how to start making it (since im new toall of this)

it would be a great help.
Thx
Is This A Good Question/Topic? 0
  • +

Replies To: MAking A game in 2d

#2 no2pencil  Icon User is online

  • Dic Head
  • member icon

Reputation: 5159
  • View blog
  • Posts: 26,768
  • Joined: 10-May 07

Re: MAking A game in 2d

Posted 04 June 2008 - 02:33 AM

View PostTrickster090, on 4 Jun, 2008 - 05:02 AM, said:

which one is better to start with

Which ever one you know best. It's easier to learn about a technology when you already understand the tools.
Was This Post Helpful? 0
  • +
  • -

#3 gabehabe  Icon User is offline

  • GabehabeSwamp
  • member icon




Reputation: 1376
  • View blog
  • Posts: 10,951
  • Joined: 06-February 08

Re: MAking A game in 2d

Posted 04 June 2008 - 05:20 AM

Quote

(since im new toall of this)
OK, I suggest you start small. C++ is the most used game programming language, but t can be done in other languages too. The language that I'd advise against for game programming is Visual Basic, AFAIK it's only really useful for average software and database connectivity.

As for a language choice, I suggest C++ or Java - Java can give you some nice results, but when you get into programming big games, it can be a bit laggy (just look at RuneScape)

C# has a game framework called XNA, but I don't really know too much about this. Try this thread right here in the game programming forum for some info.

Like I said before, C++ is the industry standard game programming language. When you get the hang of C++ programming, then I suggest moving on to graphics - OpenGL being the most widely used (console game development) but you could also learn DirectX, which is more PC gaming (AFAIK)

I hope this answers your question :)

This post has been edited by gabehabe: 04 June 2008 - 05:23 AM

Was This Post Helpful? 1
  • +
  • -

#4 Trickster090  Icon User is offline

  • New D.I.C Head

Reputation: -1
  • View blog
  • Posts: 41
  • Joined: 02-June 08

Re: MAking A game in 2d

Posted 04 June 2008 - 05:21 AM

Can you give me some links to learn some basic language for C++ coz i don't really now any of the language i just started last night on C++

So, yah some links would be nice

This post has been edited by Trickster090: 04 June 2008 - 05:24 AM

Was This Post Helpful? 0
  • +
  • -

#5 gabehabe  Icon User is offline

  • GabehabeSwamp
  • member icon




Reputation: 1376
  • View blog
  • Posts: 10,951
  • Joined: 06-February 08

Re: MAking A game in 2d

Posted 04 June 2008 - 05:30 AM

cplusplus.com has a really good base of tutorials, going right up to some advanced OOP.

Free Computer Books

A few books that I'd recommend:
Beginning C++ Game Programming
C++ Programming for the Absolute Beginner
Game Programming All in One - my personal favourite, goes right up to DirectX development ;)

Good luck!

Oh, and if you run into any problems, be sure to post them in the C/C++ forum, and we'll do our best to help you out :)

EDIT:
Also, if you find programming a little difficult, even if only at first, take a look at RPG Maker - it's a nice drag and drop, and you don't really have to worry about code too much ;)

This post has been edited by gabehabe: 04 June 2008 - 05:35 AM

Was This Post Helpful? 0
  • +
  • -

#6 Trickster090  Icon User is offline

  • New D.I.C Head

Reputation: -1
  • View blog
  • Posts: 41
  • Joined: 02-June 08

Re: MAking A game in 2d

Posted 04 June 2008 - 05:41 AM

Dude thanks



and oh i really want to burst your bubble

but i own rmxp and rmvx

i got Rpg maker VX on the day of realese and have made 3 full games

and 2 games for sume mates

(but i really wanted something a bit more...welll.....MORE) loz

thanks

Oh and can i ask you to post a small game made in C++ so i can see how to start off TY that would be really help full :)

This post has been edited by Trickster090: 04 June 2008 - 05:43 AM

Was This Post Helpful? 0
  • +
  • -

#7 KYA  Icon User is offline

  • g++ jameson.cpp -o beverage
  • member icon

Reputation: 3093
  • View blog
  • Posts: 19,139
  • Joined: 14-September 07

Re: MAking A game in 2d

Posted 04 June 2008 - 05:47 AM

I have a few tutorials using directX that set up a basic game loop.

Here

And here

There some on matrices and vertices, but that's too much for now.

edit: Basic idea

Game Loop()
-----Handle input
-----Handle graphics
-----Handle sound
-----Handle AI
----- etc...
----- -----draw next frame based on above info

Rinse rather and repeat :)

This post has been edited by KYA: 04 June 2008 - 05:48 AM

Was This Post Helpful? 0
  • +
  • -

#8 stayscrisp  Icon User is offline

  • フカユ
  • member icon

Reputation: 998
  • View blog
  • Posts: 4,172
  • Joined: 14-February 08

Re: MAking A game in 2d

Posted 04 June 2008 - 07:08 AM

I suggest using SDL and c++ for 2d games, its relatively easy to use. u will have to download the latest version and link it to your VS project. There are a lot of tutorials online but they are mostly written in horrible C (sorry any C programmers). I gotta say that you should try and write some really basic games such as pong and asteroids as they are good practice and will help massively. Im currently enrolled in a game development course and we made 2D games last module, i can help you with some things if you like :)

be prepared for a lot of work and good luck
Was This Post Helpful? 0
  • +
  • -

#9 gl3thr0  Icon User is offline

  • D.I.C Regular

Reputation: 19
  • View blog
  • Posts: 319
  • Joined: 27-October 07

Re: MAking A game in 2d

Posted 04 June 2008 - 09:58 AM

???? c++ for a 2d game? y?
if your more interested in the game then the programing look at flash+actionscript
most of the games that u see floating around on webpages and phones have been written in flash.
flash will take care of ALOT of the image and multithreading code leaving you to write the logic.
if you want to move write into game coding then i strongly recomend you check out flash.
Was This Post Helpful? 0
  • +
  • -

#10 gabehabe  Icon User is offline

  • GabehabeSwamp
  • member icon




Reputation: 1376
  • View blog
  • Posts: 10,951
  • Joined: 06-February 08

Re: MAking A game in 2d

Posted 04 June 2008 - 11:17 AM

@gl3thr0~
IMO, Flash has it's own unique style - a different style to what can be achieved by a programming language, such as C++
I do agree that it might be pretty nice to start off with, but I couldn't say it is because my first was C++ :P

@stayscrisp~
I agree, I started learning SDL the other day and I think it's pretty easy to learn from (and this is coming from a graphics n00b :unsure:)
Was This Post Helpful? 0
  • +
  • -

#11 Nykc  Icon User is offline

  • Gentleman of Leisure
  • member icon

Reputation: 725
  • View blog
  • Posts: 8,638
  • Joined: 14-September 07

Re: MAking A game in 2d

Posted 04 June 2008 - 01:17 PM

Actually I been reading Game Programming All In One 2nd Edition by Jonathon Harbour and he encourages the use of C programming for his 2d games.

I just went to the library and picked up a book on C Programming called C Programming for the absolute beginner so I can familiarize with the differences in syntax from C to C++.

So I recommend using C with the GCC compiler and the Allegro library.
Was This Post Helpful? 0
  • +
  • -

#12 gabehabe  Icon User is offline

  • GabehabeSwamp
  • member icon




Reputation: 1376
  • View blog
  • Posts: 10,951
  • Joined: 06-February 08

Re: MAking A game in 2d

Posted 04 June 2008 - 01:55 PM

@Nykc~
How are you finding that book? I've read two from that series (C++ and Javascript) and I found them really useful :)
Was This Post Helpful? 0
  • +
  • -

#13 Tom9729  Icon User is offline

  • Segmentation fault
  • member icon

Reputation: 180
  • View blog
  • Posts: 2,641
  • Joined: 30-December 07

Re: MAking A game in 2d

Posted 04 June 2008 - 02:04 PM

Fast games can be written in Java. You just need to use an external library (Java2d and 3d are usually pretty slow).

For 3d I'd recommend the JOGL bindings, or the JMonkeyEngine.

For 2d I'd recommend the Slick2d library.

This post has been edited by Tom9729: 04 June 2008 - 02:05 PM

Was This Post Helpful? 0
  • +
  • -

#14 selavy_rrose  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 16-March 10

Re: MAking A game in 2d

Posted 17 March 2010 - 02:28 AM

About RPG Maker VX

I started to make a game with this program, it's better than nothing if you don't know programming (Ruby, or specifically RGSS2 that this program uses), but it is also quite restrictive for the same reason if you want to personalise the look of the game. Thankfully I'm quite good at drawing, and Photoshop, so that's not a problem in that respect, but quite useless in RGSS, the only thing script-wise I managed to do so far is to change the default font, but can't do an instance of font for just one conversation and then change back to default, according to their example "
Font.new([name[, size]])
-Creates a Font object."...
Bought a book called "the Ruby Way", but it's quite complicated.
In general, it's a good program, but I don't know where to start so I can do practical tasks in the game that aren't pre-installed, like changing mouse and keyboard control, or changing the look of the menus, or turning the sound on or off....

Here's an example, I was trying to change the window to picture in which it would be possible to write, (it says there is a synthax error)
@>Text: 'People4', 1, Dark, Top
:	: What's your name?
@>Name Input Processing: , 8 characters
@>Script: @>window.new = Bitmap.new("picture
:	: name.png")
:	: @>@draw_text(10,30,,, \N[001][1])
@>Text: 'People4', 1, Dark, Top
:	: Welcome, \N[001]
@>Set Move Route: Player
:		: $>Move Down
@>

This post has been edited by selavy_rrose: 17 March 2010 - 03:53 AM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1