CocoonJS plugin updates

Discussion and feedback on Construct 2

Post » Fri Oct 24, 2014 4:16 pm

Thanks @Ludei, you have been very informative. I hope the relation between C2 and CJS can be mended because CJS is an amazing wrapper I have used for 2 years and it just keeps getting better, especially now that more attention is being paid to the plugin and you guys are communicating with the community.

@Ashely, what do you think? Is this something achievable in C2? Do other wrappers that have layout to layout loading have an option for some kind of progress to be shown during loading?
B
101
S
32
G
11
Posts: 1,552
Reputation: 21,667

Post » Fri Oct 24, 2014 4:41 pm

@Ludei Thanks for the updates and information.

We'll think about if it's possible to include a check to enable/disable lazy loading in the C2 CocoonJS plugin. By now it has to be done editing the final .js file.


Construct2's selling point is that it is non-programming environment that makes games. So yes, I think it is essential to be included in the C2 CocoonJS plugin.
ImageImageImageImageImage
B
19
S
5
G
1
Posts: 614
Reputation: 2,542

Post » Fri Oct 24, 2014 4:41 pm

Hello @ludei , i have a question about your new 2.1 compiler:
Added the new CocoonJS WebView+ for iOS 8 based on the new WKWebView (Only for 32-bit devices at the moment).


What does that mean for iphone 5s and 6(+)? Webview will fallback to UIWebView, app will not launch or what will happen then?

edit: And if it works, all features of wkwebview (like Nitro JIT and webgl) are supported?
B
22
S
9
G
7
Posts: 421
Reputation: 6,543

Post » Sat Oct 25, 2014 6:25 pm

I can not believe it, but it looks like that the Ludei logo flickering has been solved!
I think since yesterday the flickering is gone on our test devices and the loading times also seems to have improved.
Thanks @Ludei
B
12
S
5
G
1
Posts: 36
Reputation: 2,050

Post » Sat Oct 25, 2014 6:41 pm

Yeah, it's because of the Layout by Layout loading now.

I'm still not sure the new version is better, until we can find a way to show the user the game is loading between layouts, otherwise having a 5-10 second pause when going to a new layout is bad.

Hoping for some real good communication between @Ashley and @Ludei to get us rocking :)
B
101
S
32
G
11
Posts: 1,552
Reputation: 21,667

Post » Sat Oct 25, 2014 8:55 pm

@ArcadEd

The ad's are working normally?

https://github.com/ludei/Construct-2-plugin/issues/42
B
12
S
3
G
1
Posts: 188
Reputation: 1,377

Post » Sat Oct 25, 2014 9:12 pm

Define normally? That's how they have always worked with CJS, I just make sure I have room.
B
101
S
32
G
11
Posts: 1,552
Reputation: 21,667

Post » Sun Oct 26, 2014 10:54 am

ArcadEd wrote:Yeah, it's because of the Layout by Layout loading now.

I'm still not sure the new version is better, until we can find a way to show the user the game is loading between layouts, otherwise having a 5-10 second pause when going to a new layout is bad.


That's interesting, in my game (a pretty complex one), I create all objects from events, so I have one layout which holds all the assets.
This asset storage layout (200+ sprites) will get loaded in the beginning (I guess), still I get much faster loading times and no delay when I switch layouts later.
B
12
S
5
G
1
Posts: 36
Reputation: 2,050

Post » Mon Oct 27, 2014 10:11 am

TheWyrm wrote:Construct2's selling point is that it is non-programming environment that makes games. So yes, I think it is essential to be included in the C2 CocoonJS plugin.

The main point here is not "being essential or not", it is "being possible or not". if it is possible, we will do it. We have to figure out if we can first.

Sisyphus wrote:What does that mean for iphone 5s and 6(+)? Webview will fallback to UIWebView, app will not launch or what will happen then?

edit: And if it works, all features of wkwebview (like Nitro JIT and webgl) are supported?


Webview will fallback to UIWebView. The problem is that WKWebView has a bug running on 64bit devices as a 32bit app. We are going to support 64bit compilations in the next release, and WKWebView will be supported on those devices.

Regards.
B
9
S
4
G
4
Posts: 383
Reputation: 3,616

Post » Mon Oct 27, 2014 6:22 pm

So I tried the new compiler 2.1. So far I don't like it. The problem is that instead having the game loaded for 5 sec on startup. I now have every layout takes a second to load. Even when it has already loaded before. So it feels slow and you get the urge to press again.

So I rather have a few seconds loading screen then having to wait during the game constantly. So I hope you don't remove the old compiler (2.0.2)

A different question. How do you hide the navigation bar?
B
7
S
2
Posts: 140
Reputation: 1,073

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 11 guests