Artpunk's Forum Posts

  • > I'm trying to figure a good way to design my levels. I was considering using lots of tilemaps, that don't fill the entire layout, and overlay each other.

    > It seems like pasting all these to a paster object at beginning (then deleting the tilemaps) would improve performance, since the paster only requires one draw versus the many tilemaps with numerous draw calls.

    > Is my thinking correct, in that using a single paster object would benefit rendering in this case?

    >

    > edit: also, does it render the whole paster object even if it only shows a portion on screen? Perhaps it wouldn't help performance?

    > edit: "GPUs are also well-designed enough to only process the on-screen parts of an object that appears partially off-screen. So literally nothing outside the window area is ever rendered by the GPU."

    > So I guess it only renders what is visible.

    >

    If you have a lot of overlapping tilemaps, Paster is the way to go. Tilemaps in C2 are very slow and not all that optimized (compared to other implementations).

    Id like to test this out. My game has some overlapping tilemaps and im interested in anything that could improve performance.

    But I'm not sure how to get the tilemap information to paste into the Paster object at the beginning of each different level? Can anyone advise me how to do that pls?

  • Hello cranberrygame is there any chance you could update your CordovaGoogleAnalytics plugin? Im getting build errors with that plugin alone.

    I currently have your CordovaGame (Google Play) and CordovaChartboost plugins working in my game (with XDK) but when I add the analytics plugin I get a build error:

    UNEXPECTED TOP-LEVEL EXCEPTION:
      	com.android.dex.DexException: Multiple dex files...[/code:18mggs94]
  • glerikud, disregard my previous question, after getting some help on the cocoon forum it looks like this a bug with cocoon. They are working on fixing it now.

  • You just export your game with the Cordova export option. Then you can set in the XDK if you want to build your game with or without Crosswalk.

    Hey glerikud do you know how to set Cocoon to build with or without Crosswalk? After reading through this thread I decided to do some tests myself, so I exported for Cordova specifying Android 5+ as the minimum supported Android OS > Compiled in Cocoon > Installed on my phone and did some tests etc.

    But now, I cant seem to get Cocoon to go back to compiling with Crosswalk... If I specify Andoid 4.0 (Crosswalk) as minimum OS in my Cordova project, then Compile in Cocoon, now its only giving me the small apk (~12MB) thats not wrapped in Crosswalk. Previously my apk would be ~30MB... I think I screwed up a setting in Cocoon somewhere.

    And for the record. I totally agree with 's statement

    My personal opinion after some tests is that Crosswalk is still more safe to use and has better performance that native WebView.

    My testing gave the same result, Crosswalk gives better performance than native WebView. Plus, for me not having Crosswalk broke my music playback. Apparently its a known bug that music wont start playing in Chrome for Android (=native WebView?) until first touch (gah!)...

    ...Native export doesn't mean your object/effect/particle heavy games perform well on any platform. You still need to think about performance and adjust your game And I don't think people going to buy native export modules. Check GMS2 module prices, it costs a lot...

    I don't need to have native export, but I would dearly love to see scirra maintain a core suite of plugins for a publishing pipeline to Mobile. I'm happy to use Intel XDK or Cocoon.io to compile, but I hate having to rely on 3rd party plugins that have no support for fundamental things like ads, Play Store / App Store integration, analytics. I think Scirra should provide plugins for those functions as part of their core C3 offering, given that mobile is a really important target platform for C2 devs trying to generate income. If keeping those plugins up-to-date meant the box price for C3 was higher, I'd gladly pay for it!

  • That's exactly what I was after!!! Thanks heaps korbaach it works perfectly!

  • Hey korbaach, thanks for the example. Thats not quite it tho. I want to open the mobile device's email app to send an email from that, rather than use a form made in C2? (I think).

  • Is there an easy way to do that?

    Like, player touches button from menus in game, the device's email application launches with a new email opened and the 'to' field and 'subject' field are filled out with predefined data I specify (ie my email address and a subject like 'Bug Report').

    I know there are tutorials like this one, that involve using ajax... but I dont think what I want to do is that involved. I just want to make it easier for a user to quickly send me an email from within the game...

    Just like you can use the 'browser object' to quickly launch a webpage. Is there a similar straight forward way to launch the email app on a device?

    Sorry if the answer to this is stupidly obvious...

  • Works with Cocoon.io too!

    Great! Good to know.

    I found a bug with Appodeal ads actually. My game is locked to Landscape, but when an ad is displayed (in this case a static interstital) it's possible to rotate the ad to portrait. Then on closing the ad from a portrait layout, my game doesn't go back to fullscreen landscape. My game ends up squeezed into half the screen and the other half of the screen is just black. This was on iPhone5, iOS 10.

    I reported to Appodeal. Hopefully they can fix that.

  • Just a heads up that Appodeal updated their Construct 2 plugin to support ads on iOS. So we now have another option for ads on that platform.

    I have no idea if Appodeal generates decent revenue, but it's good to have options.

    Ive just taken it for a spin and managed to get Interstitials working with XDK.

    https://www.appodeal.com/sdk/

  • I think you just listed all of them.

    Interstitial static and video ads + Kong Kreds = more money than on mobiles.

    And that's all we actually need.

    Ok, would you say having general support for 'IAP' is exactly the same as supporting Kong Kedits? Or are they slightly different in some cases irbis?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Guys I have been speaking with Rex, he is starting to think about the Kongregate plugin.

    He requests we provide a list of the top 5 features for the updated Kongregate plugin and he can start with those features.

    So now is your chance, what are the features you would most love to see? Rank your choices 1 - 5 by priority, with number 1 being highest priority.

    Features that were mentioned by Irbis on pages 3 and 4 of this thread included:

    • Interstitial static and video ads.
    • Ability to position ads within the game, not just at the beginning when game is first launched.
    • Rewarded ads
    • In App Purchases
    • Support for 'Kongregate Kreds', which allows spending of real money on virtual products.

    What other features would you guys like to see?

  • Hey simplo85games, mannygill99 thanks guys!!!

    Mubot Very very very close to having beta available. You wanna help beta test on Android?

  • Hey man yes I have tracking events working. Something like this:

    On Touched Object (eg a twitter button) > Call Function, 'Track Event' (param 0 = "button click", param 1 = "twitter button on main menu").

    On Function 'Track Event' > (action: Cranberry's 'CordovaGoogleAnalytics Track event' Event Category: 'function param(0)' Event function: 'function param(1)'

    Then in Google Analytics in the 'Real Time' section you should be able to see activity in the 'events' area.

    Hope that helps.

  • > Anyone have any new news? It's been a while so I thought I'd check in.

    >

    ...The guy who said he might make the plugin was just talk and no action...

    You think? Maybe he is working away on it? He doesnt need to make anything completely finished. He could just make a start and then what ever he completes could be a starting point for rex if / when rex has time to look at it. How goes it broknecho?