So what's the plan if you want to port to mobiles?

0 favourites
  • 11 posts
From the Asset Store
a ready made template of Mobile Advert, Google Play and Mobile IAP Plugin,
  • Hello,

    I just wanted to ask what is the solution for a game ported on mobile considering we have no more ejecta and cocoonjs.

    I am meaning a game with lots of stuff going on. Not just some ui. A game that needs to run 50/60fps.

    For the moment it's a little bit of dead end with Html5/JS based engines. I am speaking of real browser engines here.

    Phaser.js has to use Cocoonjs for fast performance

    Impact.js has ejecta.

    IntelXDK=too slow

    Phonegap= Ashley said they need to update their chromium for full io8 support. So i guess there is no solution with Construct unless Phonegap makes a new update. By the way does somebody has an idea about the performance with Phonegap which seems to be according to Ashley the way to go in the future?

    Okay so for C2 Crosswalk does the job for android. But what about ios?

    For the moment I am playing with Corona SDK (which is free now). A very handy and highlevel lua based engine which is optimised for mobiles ios and Android.

    I am also checking the cocos2d.js which is not a real html/js framework but some js logic on top of c++ logic. It exports in native.

    I am sticking to frameworks because apparently Unity 5 has poor performance with 2D. Because I would go with unity otherwise.

    So basically my question is. Considering most of people are here to develop for mobiles and not html5. What is the best export solution (i mean performance) with Construct 2 for the moment.

    If there is none it's okay I will just go with another framework for the moment.

  • I think this is a great question, respectfully and fairly put.

    I am 150 hrs into my first C2 project and while I am really positive about C2, deployment to android is inelegant to say the least, and the performance of the Intel XDK output just isn't fit for purpose (I've been trying for three days to get 'missing' images rendered in production even though the game runs flawlessly in C2 and the XDK emulator [simulator]).

    I'd really appreciate reading/knowing more about C2's roadmap in this area and the views of the veteran developers.

    EDIT: Just realised, this is more of a question about C3, I guess!

  • It seems, for this exact moment, to be:

    -cocoonJS canvas+ for android (fast when it actually works, and while scirra depreciated it, ludei started right after to do things correctly so it is useable, more infos can be gathered around)

    -cocoonJS webview+ for iOS8 (silverforce particularly seems to really use it and have not had issues with it)

    Crosswalk is not fine at the moment due to bugs (which are said to be temporary, but since it is with the chromium engine itself, you can expect it to be quite problematic until it is fixed in chrome and then integrated to the current crosswalk), once they are fixed it should be really fine (aka like it was before being broken), but since I do not know your deadline requirement nor your exact project, I would say not yet worth it currently.

    Phonegap is plain bad for android below 5.0, and with android 5.0, you have to expect the possibility that the webview may update and break your game one day.

    My guess would be that if html5 is not something you care at all, and if performances are really important, you go onto another engine, at least that is how I feel about the situation, I mean sure there are always dependence on third party, but as far as html5 wrapper goes, there are far too many things to consider for them to not break completely in one update For a specific engine For now at least.

  • Thank you for the replies.

    Yep I'm totally okay with that.

    I see more C2 as a tool rather as a finished "everything-I-need". Because you will have to program at some point. Plus with repetititve tasks I do things in code quicker than editing plenty of events. Basically I spend more time switching between windows than pasting events.

    I am really thankful to Scirra because C2 is a very great soft to learn algorythms and game logic. But now I'm pretty good with it and I can roll everything in code.

    I was testing Corona SDK for 2 days now and it's really marvellous for mobiles! https://coronalabs.com/products/corona-sdk/

    Lua is quite similar to JS and their performances are great. Docs are great. So if someone wants to develop for mobiles it's the way to go.

    Maybe C3 will bring something new about mobile support. Anyway C2 is great for conventional HTML5 games developing. But now I am realizing that my goal was to do stuff for mobiles from the beginning.

  • can you direct us into lua for 2d gaming tutorals buddy and will follow you right along, its so upsetting for so much things to miss work in mobile and i still dont understand not suporting coocon wich is oviouslly the best option we will have for a a while, and i was just adressing this in another forum, its no programming but to clone a ai character u need in 7 places of the game its gonna take u 3 times as much to copy the huge evente than to copy and alters lines of code, but something like the pathfinding i could never program myself so that why i dont want to abandon ship right away

  • Corona had once a free starter edition, but then they put it out. Nice to hear that it is free again!

    Only keep in mind 2 things, if you want use Corona SDK:

    1. Can I build iOS apps on a Windows machine?

    Unfortunately no. Due to Apple restrictions you can only build an iOS app on a Mac. However, any code you develop with Corona on a Windows machine can be taken to a Mac and used to build your app. If you are unable to buy a Mac, we recommend using a service like MacinCloud () to build your iOS apps.

    2. Why does Corona require an Internet connection to build?

    The Corona Simulator requires an Internet connection to build because part of the build process happens on Corona Labs servers. The Lua script is precompiled into bytecode (stripping out comments, debug information, etc) before it gets sent to our server. The server embeds this data into the Corona engine, but never saves or archives it. By the end of the online build process, you will have an .app bundle or .apk file just as you would get if you had used the iOS or Android SDK yourself.

    https://coronalabs.com/frequently-asked-questions/#what-does-it-mean-that-corona-sdk-is-now-free

  • can you direct us into lua for 2d gaming tutorals buddy and will follow you right along, its so upsetting for so much things to miss work in mobile and i still dont understand not suporting coocon wich is oviouslly the best option we will have for a a while, and i was just adressing this in another forum, its no programming but to clone a ai character u need in 7 places of the game its gonna take u 3 times as much to copy the huge evente than to copy and alters lines of code, but something like the pathfinding i could never program myself so that why i dont want to abandon ship right away

    No problem.

    Check the video tutorials. https://coronalabs.com/resources/tutori ... na-basics/

    And whenever you have questions about Lua that's the reference: http://www.lua.org/pil/contents.html

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Corona had once a free starter edition, but then they put it out. Nice to hear that it is free again! <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

    Only keep in mind 2 things, if you want use Corona SDK:

    1. Can I build iOS apps on a Windows machine?

    Unfortunately no. Due to Apple restrictions you can only build an iOS app on a Mac. However, any code you develop with Corona on a Windows machine can be taken to a Mac and used to build your app. If you are unable to buy a Mac, we recommend using a service like MacinCloud (http://www.macincloud.com) to build your iOS apps.

    2. Why does Corona require an Internet connection to build?

    The Corona Simulator requires an Internet connection to build because part of the build process happens on Corona Labs servers. The Lua script is precompiled into bytecode (stripping out comments, debug information, etc) before it gets sent to our server. The server embeds this data into the Corona engine, but never saves or archives it. By the end of the online build process, you will have an .app bundle or .apk file just as you would get if you had used the iOS or Android SDK yourself.

    https://coronalabs.com/frequently-asked-questions/#what-does-it-mean-that-corona-sdk-is-now-free

    1. Not a problem because you can install a VM which is free! And OSX is free. But i have a hackintosh in dual boot so <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    2. I think that's pretty handy. But you can anyway test in real time on device. (you will need mac os to test on an iphone tho but as I stated not a problem). For testing directly on an android you just need to install a java sdk (it's well explained on corana's website).

    And here is a demo of the capabilities.

    https://youtu.be/kalbVE9QgMs

    PS: Angry birds was originally made with lua <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

  • Uniform: OS X is not free, if you do not own Mac Hardware.

  • tyvm so u guys think is the best develop once publish all solution! ill try it i just want to find something i can invest 3 years without fear of wraping stop working or technology getting outdated

    thank you

  • Uniform: OS X is not free, if you do not own Mac Hardware.

    Is it illegal to run OS X in a virtual machine or natively on your PC? No.

    Does it violate Apple's EULA? Yes.

    But really who cares.

    And the Os is free. You can download it from whatever mac you want or on torrents. There is no protection. But we won't discuss those stuff here. Just develop your game as for ios (you can choose an iphon skin in corona) and when you want to release it just install corona on a friend's mac or manage to install it in a vm.

    tyvm so u guys think is the best develop once publish all solution! ill try it i just want to find something i can invest 3 years without fear of wraping stop working or technology getting outdated

    Technology is very evanescent but you are never a loser when you learn something. You will be able to change framework when you need it. I come from JS and it took me only 2 days to get used to Lua and Corona.

    For me Corona is a very good solution. The other one is cocos2D.js but it's more complicated and more low level. Corona is really the way to go.

    The creator of Doodle Jump made it in Corona and there is more than 300000 developers using it.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)