• 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
JuliusDegutis

C# for 2D game

9 posts in this topic

Hello everybody, I went into some problem: want to create game, but don't find with what.

Was trying to try work with C++, but just don't like it. So came back to C# (because in work using it), and i'm struggling what to choose. What I know a bit is XNA, so could go with it, but it's dead, so what is alternative? Now installed monoGame, and created project, and seeing that xna is included. So it use XNA libs? Tried to give my friend realeased project, but only gets error. I think because he don't have XNA installed. So, monogame need XNA libs to be standalone game? So why choose monogame, if XNA won't be updated? Isn't simplier to choose XNA and make game? Read something about sharpdx and monoGame. Possible to programming game with monoGame without using XNA framework?

Or maybe u have to suggest other C# game dev solution? And no, I don't wanna try Unity. I just want create 2D games smile.png

0

Share this post


Link to post
Share on other sites

I would just use XNA, unless there's some sort of reason you care that XNA is dead.  Given your desire to create a 2d game, using C#... it seems like xna would be a solid enough choice.  If you're worried about up-to-date libraries and such... open up that C++ book and... get used to it (he added gently).  If your just trying to learn a few things about game development, xna is simple... fun... and still serves that purpose well.

 

Either way, good luck :)

 

Nokame

1

Share this post


Link to post
Share on other sites

XNA isn't dead. Dead implies it doesn't work, isn't available, and isn't supported by Microsoft. None of that is true. The only truth is that there will be no more updates to XNA. If the current feature set of XNA meets your needs, there is no reason to avoid using it to build your game.

[url=http://en.wikipedia.org/wiki/Microsoft_XNA]According to an email sent on 31 January 2013, XNA is no longer actively being developed, and it is not supported under the new "Metro interface" layers of Windows 8 nor on the Windows RT platform.[/url]

 

Boom headshot.  

 

If you want to make some 2D games pretty easy try learning c++ with SFML.  It's a library for 2d games over openGL, so its cross platform, it also supports things like audio, input, cross platform window management.

Edited by EddieV223
-2

Share this post


Link to post
Share on other sites

If you want to make some 2D games pretty easy try learning c++ with SFML.  It's a library for 2d games over openGL, so its cross platform, it also supports things like audio, input, cross platform window management.

 

And SFML also has C# (well, .Net) bindings.

 

XNA, MonoGame, and SharpDX seem to be the most popular options so you've already kind of covered the bases there.

Xamarin seems a solid way to go if your aim is mobile platforms.

 

With pretty much any language and any framework/engine, you're going to run into needing redistributables installed for your game to run on friend's computers. If you're already comfortable with XNA, I'd say stick with it and just research what redistributable files need to be installed so you know where to direct friends (and others) so they can run your game.

1

Share this post


Link to post
Share on other sites

Somewhat biased suggestion for a framework to take a look at: Duality. I'm currently working on a "Getting Started" kind of tutorial that might give you a quick overview on how to use it. You'll find it in the Wiki section of the google code page I've linked above.
 
Pro: Extensible Game Engine, Visual Editor, specialized on 2D, based on OpenGL / OpenAL, designed for C#, completely Open Source.
Con: Still under development, relatively new (been around for 1-2 years), Windows only
 


There are other 2D game frameworks out there for C#, though. Probably plenty of them - or so I imagine. SFML has been mentioned and you seem to have already found MonoGame. You might want to take a look at this list, although C# isn't heavily represented there. Here's another one.

Edited by Fetze
0

Share this post


Link to post
Share on other sites

Now installed monoGame, and created project, and seeing that xna is included. So it use XNA libs?

 

As I recall, they've actually recreated XNA's functionality without using -any- XNA code. Otherwise, I think Microsoft's lawyers would have a problem wih MonoGame being open source.

 

Anyway, XNA is still a great choice for 2D games on Windows-based platforms. If you want cross-platform support, or just feel like learning something new, use MonoGame. Otherwise, for the time being, there's no reason you need to switch from XNA (especially if you've already gotten started with it); it's not going to lose features, it just won't be gaining any new ones.

1

Share this post


Link to post
Share on other sites

So why choose monogame, if XNA won't be updated?

MonoGame will be (and already has) started to introduce some new features beyond XNA. MonoGame is not tied to XNA anymore since just about full 1:1 code compatibility has pretty much been reached.

 

 

Now installed monoGame, and created project, and seeing that xna is included. So it use XNA libs?

MonoGame currently still uses the Microsoft.Xna.Framework namespaces, this will probably change in the future. The main reason why its like this is so people can port their XNA games over to MonoGame with less hassle. This means MonoGame does not use the XNA libraries at all.

 

 

Tried to give my friend realeased project, but only gets error.

MonoGame does have some dependancies depending on the platform, but like I said does not require XNA to be installed.
From what I know:
The current released windows platform, which uses OpenGL for rendering, also uses OpenAL, you can google OpenAL that and tell your friend to install that (OpenAL is actually installed when you install MonoGame 3.1. There should be no other dependencies needed. Once the windows directX platform is released the only required dependency that will need to be installed is .net 4.0/4.5.

 

 

Or maybe u have to suggest other C# game dev solution?

I think MonoGame would be a good choice, you could also use XNA, no problem with that even if its not going to be updated anymore (you can swap XNA -> MonoGame code bases easily anyway).

 

The only problem with MonoGame at the moment is that the content pipeline is still missing (I think it will be available soon though).

Edited by Xanather
2

Share this post


Link to post
Share on other sites

XNA is mature and not dead.

 

XNA will be used and implemented for years to come. 

 

MonoGame is actively evolving and the community is growing.

 

Unity 3D is based on Mono.  C# is slowing growing in usage for games.  If you like the language, then use it.

0

Share this post


Link to post
Share on other sites

XNA isn't dead. Dead implies it doesn't work, isn't available, and isn't supported by Microsoft. None of that is true. The only truth is that there will be no more updates to XNA. If the current feature set of XNA meets your needs, there is no reason to avoid using it to build your game.

According to an email sent on 31 January 2013, XNA is no longer actively being developed, and it is not supported under the new "Metro interface" layers of Windows 8 nor on the Windows RT platform.

 

Right but it was never supported on WinRT (which is the Windows 8 "metro" environment) so it's not as if they are removing support. XNA is still a supported framework for all platforms on which it was ever supported. If its current feature set (including supported platforms) meet your needs, there is no need to avoid using it. Lack of future updates does not automatically render it useless.

Edited by Nick Gravelyn
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