A cross platform game?

Hello everyone,
i'm new and i just wanted to know what technology i can use with Xamarin to improve a game on Android, IOs...
I'll start whit Android and i have see Cocos2D-XNA which seem to be a new version of Mono Game. I'm right?
So could you give me some advice please?

Posts

  • GuillermoGutierrezGuillermoGutierrez ESMember ✭✭✭

    My preferred 2D Game Engine is Cocos2D. For cross-platform project, Cocos2D-XNA with MonoGame I think that it's the way to go. Texture Packer, CocosBuilder and most Cocos2D goodies also work for Cocos2D-XNA.

    I also did some test projects with WaveEngine, the lack of documentation and samples is disturbing, but it looks promising.

  • GuillermoGutierrezGuillermoGutierrez ESMember ✭✭✭

    Oh, and "Cocos2D-XNA which seem to be a new version of Mono Game" is not correct. MonoGame is an open source implementation of Microsoft's proprietary XNA technology. Cocos2D-XNA is built on top of XNA, so to use it on non-Microsoft platforms, you use MonoGame.

  • CelesCeles FRMember
    edited October 2013

    Thanks a lot for your response ^^
    Now i just need to know how to create a Cocos2D-XNA project on Xamarin Studio.
    In fact... is it possible?

  • CelesCeles FRMember

    Yeah i saw both.
    But the first is about IOs, so i don't know if an empty project iphone has something special or not. And i see some other tutorial with a specific project for Cocos-XNA so i'm a little lost, sorry =s
    I dont need to create an Android application to run on Android? just use class from Cocos-XNA is enough?

  • CelesCeles FRMember

    oh, i find some interresting code form github.
    I'll find my response there i'm pretty sure.
    Thanks for your time Guillermo!

  • GuillermoGutierrezGuillermoGutierrez ESMember ✭✭✭

    Cool. Please do share your findings.

  • CelesCeles FRMember

    I don't think somebody will be interressted, because it's just the ninjaangry exemple from this site...
    Yeah shame on me to haven't notice it before

  • nodoidnodoid GBMember, Beta ✭✭✭

    Have a look at Unity. It kicks everything out of the park!

  • CelesCeles FRMember
    edited October 2013

    yes i know Unity, but my goal is to make a 2d game, and to learn some mechanism.
    Unity is a complet game engine, and it didn't even have some 2d ways (okay you can make 3d iso, but i don't think that it will be the same perform than a real 2d game).
    And to finish, i like programmation, so just use an full engine with some script will make me sad ^^
    But i know that Unity is one of the best tool for quick video games today.
    Thanks for your response ^^

  • nodoidnodoid GBMember, Beta ✭✭✭

    Have you had a look at OpenTK?

  • CelesCeles FRMember

    No, i haven't see that ^^
    really interresting but i think i won't be able to use just it (because my game is also a school project, so i need some productivity).
    But i'll use it, as far as i can!

    Really thanks ^^

  • CelesCeles FRMember

    I know i'm bad,sorry.
    But i can't build CocosD - XNA dll ...
    If somebody can help me.
    Source : https://github.com/mono/cocos2d-xna

    Normaly i need :

    box2d.Android – 2D physics library. We’ll use this in later tutorials.
    cocos2d.Android – Cocos2D-XNA for Android.
    Lidgren.Network.Android – Networking library used by MonoGame.
    MonoGame.Framework.Android – MonoGame for Android.

    But it's a visual project and i don't find how turn these project into dll...

    Thanks

  • GuillermoGutierrezGuillermoGutierrez ESMember ✭✭✭

    What kind of errors are you getting while compiling Cocos2D-XNA? I just downloaded the project from GitHub and compiled without errors for both Android and iOS. The result of compiling the Cocos2D-XNA project is the DLL that you need.

  • CelesCeles FRMember
    edited October 2013

    In fact i can't change the project type in the properties, that's all
    So i just can't start compilation (no errors)

  • GuillermoGutierrezGuillermoGutierrez ESMember ✭✭✭

    Sorry but I don't get you, what do you mean with changing the project type?

    I downloaded the cocos2d-xna sources, opened the Android project:

    The project opens and I compile it:

    The project builds successfully and the DLLs are in the output folder:

    Then, add the DLL to your Cocos2D Android game following the Cocos2D-XNA tutorial.

    Where did you got stuck?

  • CelesCeles FRMember
    edited October 2013

    In fact i was thinking that it wasn't a library project.
    Because when i open the project with visual 2012, it just don't want to compile wihtout say me why...
    Just a panel which says that visual can't debog.
    I think i don't know how work a compilation

    Don't worry about the tutorial, i just can't have the DLLs

  • DaveHuntDaveHunt USMember ✭✭✭✭✭
    edited October 2013

    Just a panel which says that visual can't debog

    How are you building the project? It sounds like you are clicking on the "run" arrow that attempts to run with debugging.

    Just click the "Build Project" button, or select it from the Build menu.

  • CelesCeles FRMember
    edited October 2013

    Yes, but i have used the "Build Project" button too, and when i look at the directory, it's empty.
    I will find it tomorrow and i'll post the answer, that is certainly just a bad manipulation from me...

    Sorry about that

    Sweet dreams

  • CelesCeles FRMember
    edited October 2013

    In fact, will i try to compil with visual....
    I'll make it with Xamarin Studio! and in fact i just understand what was my problem...
    Yeah amazing problem...

    Just references problems..... Sorry T-T

Sign In or Register to comment.