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

Discussion and feedback on Construct 2

Post » Sun Mar 29, 2015 1:07 pm

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.
B
9
S
3
G
1
Posts: 128
Reputation: 1,116

Post » Sun Mar 29, 2015 2:04 pm

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!
B
6
S
1
Posts: 17
Reputation: 334

Post » Sun Mar 29, 2015 2:15 pm

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.
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
42
S
17
G
17
Posts: 2,098
Reputation: 15,865

Post » Sun Mar 29, 2015 3:19 pm

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.
B
9
S
3
G
1
Posts: 128
Reputation: 1,116

Post » Sun Mar 29, 2015 3:31 pm

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
B
5
Posts: 16
Reputation: 271

Post » Sun Mar 29, 2015 3:37 pm

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

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 (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
B
11
S
2
Posts: 213
Reputation: 1,266

Post » Sun Mar 29, 2015 4:04 pm

cbunbury20 wrote: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
Last edited by Uniform on Sun Mar 29, 2015 4:20 pm, edited 1 time in total.
B
9
S
3
G
1
Posts: 128
Reputation: 1,116

Post » Sun Mar 29, 2015 4:10 pm

Chupup Games wrote:Corona had once a free starter edition, but then they put it out. Nice to hear that it is free again! :D

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 :)

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 ;)
B
9
S
3
G
1
Posts: 128
Reputation: 1,116

Post » Sun Mar 29, 2015 4:23 pm

@Uniform: OS X is not free, if you do not own Mac Hardware.
B
11
S
2
Posts: 213
Reputation: 1,266

Post » Sun Mar 29, 2015 4:25 pm

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
B
5
Posts: 16
Reputation: 271

Next

Return to Construct 2 General

Who is online

Users browsing this forum: BackendFreak, Eisenhans, mateussales, Nowl, shubhamrathi9, TheRealDannyyy and 4 guests