Does anyone have any recommendations on programming languages for game development? I'm interested in making some sort of chess/checkers type game but I'm not sure which language would be best.
Results 1 to 14 of 14
- 31 Mar. 2013 10:06pm #1
Moderator Bachelor of Science in Virginity
- Age
- 31
- Join Date
- Nov. 2009
- Location
- Toronto
- Posts
- 5,421
- Reputation
- 546
- LCash (Rank 3)
- 1.96
- 31 Mar. 2013 10:19pm #2
Depends on how complicated you want it to be or how compatible. Python has a few libraries that could be used for making games, but I honestly don't think Python is the best solution for this outside of a proof of concept. C# might work well if you plan for it to be strictly windows, with possible Mono support for Linux. Java or C++ if you want compatibility with all operating systems. I recommend making it in whatever language you need to learn or practice in the most, and also making it in your most used language.
- 31 Mar. 2013 10:34pm #3
Moderator Bachelor of Science in Virginity
- Age
- 31
- Join Date
- Nov. 2009
- Location
- Toronto
- Posts
- 5,421
- Reputation
- 546
- LCash (Rank 3)
- 1.96
I guess I'll be using C# as it's what I'm using for school and it's what I've been coding with the most as of late.
One more thing. I've never made a game with graphics but I'm assuming Microsoft has some built in functions for handling them. Would you happen know anything about them?
- 31 Mar. 2013 11:13pm #4
Nope, I know you can use OpenGL, and DirectX stuff, but I have no clue how it works. There's another method of displaying graphics, but I forgot what it's called, but I used it in one of my old Towns clients to create a mini map in the corner. Some googling might help you decide, unless someone here actually has more experience in that kind of stuff for recommendations. Python has Kivy, which I've heard good things about but I've never looked into.
- 31 Mar. 2013 11:27pm #5
- 31 Mar. 2013 11:44pm #6
- Join Date
- Apr. 2010
- Location
- When freedom is outlawed only outlaws will be free
- Posts
- 5,113
- Reputation
- 195
- LCash
- 1.37
I would definitely say C++. It's the language of choice for professional game development (Whether it be PC or Xbox) except for dumb games like Minecraft that are written in Java, and take huge portions of system resources.
- 31 Mar. 2013 11:47pm #7
- 01 Apr. 2013 12:01am #8
- 01 Apr. 2013 12:03am #9
Moderator Bachelor of Science in Virginity
- Age
- 31
- Join Date
- Nov. 2009
- Location
- Toronto
- Posts
- 5,421
- Reputation
- 546
- LCash (Rank 3)
- 1.96
- 01 Apr. 2013 12:47am #10
- 02 Apr. 2013 01:13am #11
XNA is actually a very friendly game development environment, especially for beginners. You can also port your games to the Xbox platform, which is pretty cool.
Another note, Microsoft hosts the Imagine Cup every year. There is a game development category with XNA, that might be fun if you get a good group of students trk with you. I tried entering a couple of years ago, but I couldn't find any artists to participate with, only had 2 programmers in the team (including myself).
- 26 Apr. 2013 08:08pm #12
If you're making a basic checkers game, it should be more about the AI and functionality of the game rather than the graphics. System.Drawing in the .NET Framework works well for this.
This is how simple drawing is in .NET:Code:private void DrawBoard(Graphics g, Rectangle bounds) { Brush[] tileColors = { Brushes.Gray, Brushes.Black }; int size = Math.Min(bounds.Width, bounds.Height) / 8; for (int row = 0; row < 8; row++) { for (int col = 0; col < 8; col++) { g.FillRectangle(tileColors[(col + row) % 2], bounds.X + col * size, bounds.Y + row * size, size, size); } } }
Code:private void Form1_Paint(object sender, PaintEventArgs e) { using(Graphics g = e.Graphics) { game.Draw(g, new Rectangle(50,50,400,400)); } }
- 27 Apr. 2013 02:23am #13
- Join Date
- Apr. 2013
- Location
- Minnesota
- Posts
- 1,325
- Reputation
- 114
- LCash
- 2.03
I'll make a shout out for PyGame, and Piglet.
As mentioned, c#/xna is a popular method from well-known studios release for xbox if that is a target for you.
If you are looking for a multi-platform solution I would recommend java.
Also Unity 3D is worth checking out if you are interested in 3D games later on.
python bookshttps://discord.gg/TvN6xUb ~ chat on discord pls.
- 05 May. 2013 05:08am #14
Moderator Bachelor of Science in Virginity
- Age
- 31
- Join Date
- Nov. 2009
- Location
- Toronto
- Posts
- 5,421
- Reputation
- 546
- LCash (Rank 3)
- 1.96
I figured the AI would be the hard part so I decided to look into the graphic end first just so I could get it out of the way. Unfortunately I've put this project on hold because I discovered a love for web programming and I've been trying to learn as much as I can while working on a "small" project.