Tiny Thor (made with Monkey X)
Develop on Windows or OSX and deploy easily
Crypt of the Necrodancer (made with Monkey X)
New Star Soccer - BAFTA Winner 2013!!! (made with Monkey X )
Ted - The code editor of Cerberus X
Avalon Legends (made with Monkey X)
Race Time (made with Monkey X)

HOW TO: Build Windows Phone 8/8.1 target

muruba Nov 6, 2017

  1. muruba

    muruba Active Member CX Code Contributor 3rd Party Module Dev Patreon Silver

    Messages:
    230
    Likes Received:
    57
    Trophy Points:
    28
    Unless merged into main Cerberus repo this is based on a fork changes:
    https://github.com/IvelleGames/Cerberus/tree/develop


    This tutorial is based on Microsoft Visual Studio Community 2015.

    Download and install it from Microsoft web site.

    In your Cerberus folder, open the file bin/config.winnt.txt and change the following variables:

    Build the project in Ted/Jungle IDE/Mollusk for Win RT Phone target.

    1. Open the generates solution in Visual Studio: ./xxx.buildv2017-10-24/winrt_winphone8/CerberusGame.sln

    • Be careful changing game properties! If the game fails to start/compile after the changes, re-build and make changes one by one.

    2. Update game properties:

    upload_2017-11-6_21-27-57.png

    upload_2017-11-6_21-31-37.png

    3. Change XAP file name:

    upload_2017-11-6_21-58-10.png

    4. Replace icon images:

    \winrt_winphone8\Assets\ApplicationIcon.png (100x100)
    \winrt_winphone8\Assets\Tiles\FlipCycleTileLarge.png (691x336)
    \winrt_winphone8\Assets\Tiles\FlipCycleTileMedium.png (336x336)
    \winrt_winphone8\Assets\Tiles\FlipCycleTileSmall.png (159x159)

    \winrt_winphone8\Assets\Tiles\IconicTileMediumLarge.png (134x202)
    \winrt_winphone8\Assets\Tiles\IconicTileSmall.png (71x110)




    Build Release XAP for the ARM architecture (\winrt_winphone8\Bin\ARM\Release) and submit to Windows store or click on "device" button to run on the phone.


    upload_2017-11-6_21-19-24.png

    To be continued
     
    Last edited: Nov 6, 2017
    MikeHart and Martin like this.
  2. Martin

    Martin Administrator Administrator Moderator

    Messages:
    263
    Likes Received:
    147
    Trophy Points:
    43
    Awesome, thanks for that. This will be in the next release of Cerberus. :)

    Out of curiosity, those apps will likely work with Windows 10 mobile as well, right?
     
    muruba likes this.
  3. MikeHart

    MikeHart Administrator Staff Member Administrator Moderator

    Messages:
    1,237
    Likes Received:
    300
    Trophy Points:
    83
    Awesome. I have merged your pull request.
     
    muruba likes this.
  4. muruba

    muruba Active Member CX Code Contributor 3rd Party Module Dev Patreon Silver

    Messages:
    230
    Likes Received:
    57
    Trophy Points:
    28
    Interestingly enough Windows Store marks the built package as Windows phone 10 ready as well which is nice. I can't test at the moment, still waiting for my Win 10 phone from remote China lands!

    upload_2017-11-6_21-43-28.png
     
    Martin likes this.
  5. magic

    magic New Member

    Messages:
    27
    Likes Received:
    3
    Trophy Points:
    3
    I install the Microsoft Visual Studio Community 2015.
    and change bin/config.winnt.txt to include proper MSBUILD_PATH

    But on compile bouncyaliens example code for testing, I got this error..


    "D:/Cerberus_20180302/bin/transcc_winnt" -target=Windows_RT_Game_(Phone) -config=Debug -run "D:/Cerberus_20180302/examples/mojo/mak/bouncyaliens/bouncyaliens.cxs"
    TRANS cerberus compiler V2018-03-02
    Parsing...
    Semanting...
    Translating...
    Building...
    TRANS FAILED: Error updating target project - can't find block begin tag 'CONTENT'. You may need to delete target .build directory.
    Done.

    Could someone please help. I try to target Window Phone