Hey IR!!!
So, I'm soooo tired of 3D and Unity... And I wanted to add a 2D game to my portfolio. I've looked on some tutorials and i found nice playlists (i love tuts playlists *-*) to both XNA and Allegro 4/5.
Ok so.. Bare bones, which one would you pick? (Have in mind that XNA uses c# and Allegro c++).
Now you have your bare bones choice, now in a export prespective. Like XNA can be played in Windows PC's, Phones and Xbox 360, and Allegro can be played in Linux, Mac and Windows.
For me this is a big "no" for both. i would like to make a game and export it to the browser, or even Android... (Taking this in consideration, what language/lib would you suggest?)
Now with those two choices, i have a third "requirement", It should present few to no user installs crap. I dont know about XNA, but Allegro just needs some .dlls in the main folder and that's it!
What you guys suggest me?
PS: All this choices are for me to create a small game/engine from scratch. "Crazy Kid", well the tutorials are like that, and it kinda helps to know what is behind each system, like physics and map generation.
[2D] XNA or Allegro (C# vs C++) or Other?
- vitinho444
- Posts: 2819
- Joined: Mon Mar 21, 2011 4:54 pm
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: [2D] XNA or Allegro (C# vs C++) or Other?
There aren't a ton of options where you can easily export to desktop, web and mobile. Pretty much just HTML5 + a wrapper like CocoonJS, Game Maker Studio or MonoGame/Xamarin.
The indelible lord of tl;dr
- a_bertrand
- Posts: 1536
- Joined: Mon Feb 25, 2013 1:46 pm
Re: [2D] XNA or Allegro (C# vs C++) or Other?
If you are after 2D I would go for pure WPF. Why? Because I would have full control of the story, and yet WPF / XAML is powerful enough in 2D without the need of further tools.
Keep in mind this will make your software windows only (WP or Metro would require some changes but still windows only). If you want to be portable, then look into HTML5.
Keep in mind this will make your software windows only (WP or Metro would require some changes but still windows only). If you want to be portable, then look into HTML5.
Creator of Dot World Maker
Mad programmer and annoying composer
Mad programmer and annoying composer
- vitinho444
- Posts: 2819
- Joined: Mon Mar 21, 2011 4:54 pm
Re: [2D] XNA or Allegro (C# vs C++) or Other?
Well the reason why i dont pick HTML5 right away is that the "way" of creating the games are not the same as i would use in c++ for example.Jackolantern wrote:There aren't a ton of options where you can easily export to desktop, web and mobile. Pretty much just HTML5 + a wrapper like CocoonJS, Game Maker Studio or MonoGame/Xamarin.
In C++ i would use:
Code: Select all
int main()
{
bool done = false;
while(!done)
{
//Game Loop
Player.Update();
Enemies.Update();
Game.Update();
Player.Draw();
Map.Draw();
If(Input.ESC) done = true;
}
exit 0; // i dont remember if its really exit 0 ahaha i dont code c++ in like 2 years maybe.
![Smile :)](./images/smilies/icon_e_smile.gif)
Never heard of WPF. I googled it and it says its a "GUI engine". Since its windows only why wouldn't i choose XNA instead? There are better and more tutorials (from what i've seen).a_bertrand wrote:If you are after 2D I would go for pure WPF. Why? Because I would have full control of the story, and yet WPF / XAML is powerful enough in 2D without the need of further tools.
Keep in mind this will make your software windows only (WP or Metro would require some changes but still windows only). If you want to be portable, then look into HTML5.
I guess HTML5 is really the only way. ahaah I have a Impact license, i could give it another shot... The problem is that since its paid there aren't much tutorials.
- a_bertrand
- Posts: 1536
- Joined: Mon Feb 25, 2013 1:46 pm
Re: [2D] XNA or Allegro (C# vs C++) or Other?
XNA is mostly dead, and XNA is windows only too ![Wink ;)](./images/smilies/icon_e_wink.gif)
WPF is what is behind Metro and WP too....
![Wink ;)](./images/smilies/icon_e_wink.gif)
WPF is what is behind Metro and WP too....
Creator of Dot World Maker
Mad programmer and annoying composer
Mad programmer and annoying composer
- vitinho444
- Posts: 2819
- Joined: Mon Mar 21, 2011 4:54 pm
Re: [2D] XNA or Allegro (C# vs C++) or Other?
Hum...If it was for windows i would check WPF but since i want export options i really need to go HTML5.
Do you have some tutorials for HTML5 game dev? (Impact and non-Impact ones)
Do you have some tutorials for HTML5 game dev? (Impact and non-Impact ones)
- a_bertrand
- Posts: 1536
- Joined: Mon Feb 25, 2013 1:46 pm
Re: [2D] XNA or Allegro (C# vs C++) or Other?
No I don't use tutorials generally... For me the only thing to check was the Canvas functions.
Creator of Dot World Maker
Mad programmer and annoying composer
Mad programmer and annoying composer
- vitinho444
- Posts: 2819
- Joined: Mon Mar 21, 2011 4:54 pm
Re: [2D] XNA or Allegro (C# vs C++) or Other?
Yeah but i dont know the ways of development in Javascript and HTML5, so a little base would be good. I got a Adobe Tutorial for Impact and i will see how that goesa_bertrand wrote:No I don't use tutorials generally... For me the only thing to check was the Canvas functions.
![Laughing :lol:](./images/smilies/icon_lol.gif)
Really pumped with this one.
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)