Sign in to follow this  

XNA vs Other

This topic is 1281 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi,

 

I am taking a short course in programming games in C#, about 70hrs class time. I have no previous knowledge of programming. 

 

In class we will be using XNA, but I have a Macbook at home to work with. I know I cannot use XNA on the Mac, but will I be able to copy code from XNA and paste into another Mac friendly program ?

Or am I better of borrowing an old windows laptop to work on homework ?

 

 

-also, if I intend to make simple 2D games for smartphone (on my macbook) should I be using Xamarin or Unity ? 

Share this post


Link to post
Share on other sites

Personally, [And I may be wrong] my knowledge is that XNA and Macs, even Mac friendly applications, don't get along with each other as seamlessly and efficiently as borrowing a old Windows computer would be, especially since your professor is almost certainly going to be assuming you are using a Windows computer. Using a Mac may have unfortunate side effects that could lower your grade. The likelihood of this isn't guaranteed, but I would personally not take it.

Unity is [usually] used for 3D game design, so I would use Xam, as it is more streamlined and efficient for your purposes, which is making smartphone games.

And yes, Xam does run on Macs, thankfully.

Edited by Sirvivir

Share this post


Link to post
Share on other sites

Ok thanks,

 

Don't care about grades, just wondering if using Mac at home would involve  2x  or more work.

 

Would it be possible to bring Mac to class and just work on that with a little pre knowledge of Xamarin tools ? after all both is using same language, C#..

Share this post


Link to post
Share on other sites

I see no reason on why that wouldn't work, however, I would ask your professor to make sure he's cool with it.
His opinion matters far more than mine, on that matter.

Share this post


Link to post
Share on other sites

no I don't want to mess up my Macbook, its already 4 years old, and can act up occasionally.

 

I found an old PC laptop , real anteic it's from like 2007...  windows XP. I will use it for first few weeks and if I gain some confidence with messing around on Xamarin, i'll ask my teacher if I can just use my Mac and Xamarin in class.

 

 

Do you guys know any good tutorials for beginner programming using Xamarin ?

Share this post


Link to post
Share on other sites
Microsoft used to come around University telling the students that XNA is deprecated in favour of MonoGame (an open-source XNA clone). The VisualStudio IDE used to crash every time they did a demonstration of the content pipeline with MonoGame biggrin.png

http://www.monogame.net

At risk of getting a lower grade because of minor differences between the two, I can't suggest that you use it. But you should probably evaluate it yourself and make the choice.

Your tutor might respect the fact that you are looking outside the box and towards solving issues of portability (a major topic within the game development industry).

If you are stuck with C#, an option that I would personally suggest is OpenTK. It is basically a very portable (and pretty thin) .NET binding around OpenGL, OpenAL etc. Anything you learn here will almost directly be translatable in later life to C, C++ or other languages using OpenGL. Including Javascript and WebGL (or preferably Emscripten).
For 2D you should find it pretty easy. For 3D naturally it becomes a more steep learning curve because you will be learning the fundamentals of modern 3D graphics programming rather than just scripting and automating products like Unity.

http://www.opentk.com Edited by Karsten_

Share this post


Link to post
Share on other sites
Monogame would be the better choice, they are close to getting the content pipeline working on its own but what you can do is develop the content pipeline info i.e. the .xnb files in class and copy them into the monogame solution. Currently that is how Monogame uses content resources anyway. Your code would be the same between both with maybe a few minor changes. Monogame is cross-platform capable so you can convert your game to a smartphone.

Share this post


Link to post
Share on other sites


Your tutor might respect the fact that you are looking outside the box and towards solving issues of portability (a major topic within the game development industry).
Now that would be a sight to behold, my tutor scolded me for trying Lazarus instead of Delphi :D (I had a linux box so Delphi wasn't an option).

Share this post


Link to post
Share on other sites

 


Your tutor might respect the fact that you are looking outside the box and towards solving issues of portability (a major topic within the game development industry).
Now that would be a sight to behold, my tutor scolded me for trying Lazarus instead of Delphi biggrin.png (I had a linux box so Delphi wasn't an option).

 

Heh I had a teacher scold me for using GCC + Makefiles + Vim in my C++ class because it was all I had available at the time due to a computer explosion.  Apparently Visual Studio is the only way to write C/C++ now a days in school.

Share this post


Link to post
Share on other sites

Your tutor might respect the fact that you are looking outside the box and towards solving issues of portability (a major topic within the game development industry).

Now that would be a sight to behold, my tutor scolded me for trying Lazarus instead of Delphi :D (I had a linux box so Delphi wasn't an option).
Heh I had a teacher scold me for using GCC + Makefiles + Vim in my C++ class because it was all I had available at the time due to a computer explosion.  Apparently Visual Studio is the only way to write C/C++ now a days in school.
Not sure if that is just a bad school, or if it is a real trend.

Both undergrad and grad were mixed environments. At undergrad the department head maintained a VAX-11 that he used for the assembly course, labs included an O2 lab for graphics and another with NeXT boxes. Grad school had a mix of machines from supercomputers to standard windows and linux boxes.

I cannot see how any research school would not have a complement of *nix boxes in the CS department.

Share this post


Link to post
Share on other sites

This topic is 1281 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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