• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
Sign in to follow this  
Followers 0
thumbs

best language for a 2D game?

14 posts in this topic

Ventured a little bit with Java and VB but they don't seem too suited for writing 2D games? Am I mistaken, and are there better alternatives?
0

Share this post


Link to post
Share on other sites
Writing 2D games is somewhat independent of what language you are using. But I've heard good things about Python, with Pygame.
0

Share this post


Link to post
Share on other sites
Just choose the language you know/like best. There really is no best language for a 2D game. Keep in mind that general purpose programming languages are - as the name implies - general purpose and hence generally suitable for creating 2D games. Both VB(.NET) and Java are usable.
0

Share this post


Link to post
Share on other sites
Both Java and VB are just fine for 2D games. Java gets a lot of use in the casual games market, which is dominated by 2D games.

Use whatever you're comfortable with. If you're most at home with VB, it's certainly possible to make a good 2D game with VB. If you're working alone, it's all about what you want to do; when you start working with other people, knowledge of other languages will start to help out.

If you don't know any languages comfortably yet, there's a lot of debate in these parts about what to start with. Python is a fairly popular choice.

Cheers,
--Brian

0

Share this post


Link to post
Share on other sites
What the best language to use depends on your goal. If you want to practice programming using a 2D game then use that language you want to practice. If you want to learn a new language using a 2D game as a project then use that new language. If you just want to put together a 2D game then you should use the language you know best or a language/toolkit dedicated for 2D games (ex: GameMaker).
0

Share this post


Link to post
Share on other sites
Thanks. Appreciate the replies. I've had a look up of Pygame and I'm liking the look of it for sure.
0

Share this post


Link to post
Share on other sites
It sounds to me like the right path for you is to use Java. If you can compile a Java program already, you just need a little information on the Java2D API (very well documented on the internet) in order to get started with your game. You will use the AWT as well. If you already know a bit about a language, I recommend seeing what you can do with it rather than going out and buying 50$ books that may just divert you from your goal.

Setting up a game in Java is *very easy* and the language is quite capable of handling whatever you will be able to throw at it.

If you feel that you simply don't get along with Java or something, then maybe you should look into Python and Pygame as someone previously stated ^_^

0

Share this post


Link to post
Share on other sites
If you aren't comfortable with any languages yet I highly recommend Python with pygame or Flash.
You can easily get a 2D game going within a short period of time withoug getting sidetracked or confused.
The only thing easier would be something like gamemaker.
0

Share this post


Link to post
Share on other sites
If you want a very easy way to create 2D (tile based, although not necessarily restricted to that) games, try out BYOND. I use it if I just want to whip a fun little game to play. You can only play it with people who also have the BYOND client (which is quite a few people.)
0

Share this post


Link to post
Share on other sites
Flash/Actionscript is what I've found to be easiest, but I do like pygame a bit more.
0

Share this post


Link to post
Share on other sites
Flash/Actionscript is easy to learn and good for quick prototyping. However, watch out for online tutorials for Actionscript, as the 3 versions vary quite a bit.
0

Share this post


Link to post
Share on other sites
Java's nice and all but BEWARE:

The Passive Rendering Scheme that's used for swing and AWT applications is SSSLLLOOOWWW. There is a solution to that: do the rendering actively by creating your own buffer to blit to and creating and Initializing the graphics objects yourself. Sadly from what I've found out through endless hours of Googling about the subject of Java active rendering, there isn't much on the web about the subject. It gets even worse when you try to learn about full-screen exclusive mode.

I have happily switched to C# and XNA and so far, I absolutely love it. C# is Microsoft's adaption on Java to which they have added Operator Overloading and structs to. Not to mention many other wonderfull things like properties and indexers. But don't let me confuse you.

What I'm saying is that Java would be fine for making a 2D game with. There's just not as many people making games(and therefore making tutorials and articles online) with Java2D as there are people producing games with XNA.
0

Share this post


Link to post
Share on other sites
Quote:
Original post by jdub
Java's nice and all but BEWARE:

The Passive Rendering Scheme that's used for swing and AWT applications is SSSLLLOOOWWW. There is a solution to that: do the rendering actively by creating your own buffer to blit to and creating and Initializing the graphics objects yourself. Sadly from what I've found out through endless hours of Googling about the subject of Java active rendering, there isn't much on the web about the subject. It gets even worse when you try to learn about full-screen exclusive mode.

I have happily switched to C# and XNA and so far, I absolutely love it. C# is Microsoft's adaption on Java to which they have added Operator Overloading and structs to. Not to mention many other wonderfull things like properties and indexers. But don't let me confuse you.

What I'm saying is that Java would be fine for making a 2D game with. There's just not as many people making games(and therefore making tutorials and articles online) with Java2D as there are people producing games with XNA.


For Java and 2D games i would actually recomend going with LWJGL instead since its alot easier(personal opinion) to get good performance that way. (LWJGL is a Java wrapper for OpenGL, OpenAL, DevIL and FMOD). (Java2D can use OpenGL for hardware acceleration if you use -Dsun.java2d.opengl=True when starting the application though)
0

Share this post


Link to post
Share on other sites
It really depends if you want to work in the industry or not, if your just a hobby programmer then I would go for languages like BlitzMax(Windows, Linux, Mac) or DarkBasic Pro(Windows Only) - simple languages which will enable you to develop your game easily.

If you want to stay with VB or Java, then you can use TrueVision3D with VB.NET or JMonkeyEngine with Java.
0

Share this post


Link to post
Share on other sites
I think it depends on what you are comfortable with. You can write perfectly fine 2d games in VB6 (DX8 was the last release to support VB) or in whatever.

Microsoft and DigiPen published a nice set of 2d game programming tutorials (including pdf files, source code, and video) in VS C# 2005 Express at click here

Good luck!

- Corey
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0