Aphrodite's Recent Forum Activity

  • Google play plugin ?

    [quote:9mx84lwc]Compatibility

    Unfortunately at this time Google Play Game Services only work from a web browser. It does not currently work from Crosswalk or any non-browser wrappers like CocoonJS or Ejecta. However it should still work on mobile browsers such as Chrome for Android.

    For people wanting an apk, this is unfortunettely not an option yet, but that may change Kyatric

  • Hi evryone,

    I have a project containing many 2-squared sized images like 128x128 and 256 by 256, all of them same type like png32.

    On export C2 creates 512x512 or 1024x1024 texture atlases but leaves complete rows empty. Instead adds another atlas image, also more than half empty!

    I really though and still think that a 1024x1024 should be filled completely with 4x4 images of size 256x256, but it just won't do it.

    Is this a bug? Or does anyone knows the reason for this? It's wasting my memory. And I want to fix it because of mobile performance issues.

    Any hint is appreciated. Thanks.

    Tiled backgrounds are not combined together (maybe to avoid seams), and only pictures belonging to one sprite are spritesheeted together, also sprites have a 1 pixel added around them during spritesheeting to avoid seams.

  • Loading the image from the web requires that the server of the picture authorize it

    However, I think the filechooser.FileURLAt(index) could be used in the load from url.

  • Insert The browser object inside your project, and use the request fullscreen action, that should do the trick

  • Ashley

    dont forget that cocoonjs maybe is complicated but faster and performance accelerated using canvas + and support as well web-gl better than ejecta

    It is not complexity the problem, it is than not only it is not based on a browser technology (ejecta suffer the same issue), it cannot be edited in any way possible by scirra (ejecta atleast can be modified incase of a big issue, I think crosswalk can also be modified too, and phonegap rely on the device itself to do everything), AFAIK there is no way to compile your application offline, or to an ancien version (crosswalk suffer the same issue I think, unless there is a way to mount a crosswalk app offline?), the memory management C2 does is not compatible with cocoonJS and it does not seem to be in ludei's plan to change that, also I think there are solutions to have advertisement and in app purchase in crosswalk and phonegap, not sure about ejecta though, so this argument is for iOS only, CocoonJS does not support all of C2's basic features, and if they do ANOTHER breaking update, user will complain to scirra once again, it is not about JS performances only, it is also about compatibility, you cannot make a big game on cocoonJS nor use all of C2's feature.

    It should not be advertised as an export option of C2, since scirra has 0 control over it (ludei does not seemto care about the request of scirra, scirra cannot correct things by themselves, they cannot do anything, at least intel is listening, while crosswalk has issues, it is still better to make it work than to rely on cocoonJS, and ejecta can be modified in case of a big issue), and so should be depreciated (still usable, but not listed as the others exporters are shown) because it is not a main target of C2.

    As for the main subject of the thread: The plugin is now maintained by a third party only (the community), so it is a third party plugin, but a note about that in the plugin description would be nice to have(with a link to the github maybe?).

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Not sure if that correspond, but setting it to :

    X: clamp(Objective.X, ViewportLeft(Self.LayerName)+Self.Width, ViewportRight(Self.LayerName)-Self.Width)

    y: clamp(Objective.Y, ViewportTop(Self.LayerName)+Self.Height, ViewportBottom(Self.LayerName)-Self.Height),

    Should put it on the objective unless it is offscreen, in that case it will be at the same X or Y, but stay on the border of the screen

  • As far as I know, it seems ludei is trying to make cocoonJS work based on the html5 export itself(could be wrong though), and since it is really a minefield of problem nobody can really workout on your side, and they don't seem to care, you should depreciate it, as this is just doing free advertising for their services that is hurting scirra in the long run, with it being depreciated, it means that people can still use it, but it is not recommanded and you cannot be taken responsible for it.

    Just my opinion (not only mine I would say though).

  • IMHO, chrome 64 bits is meant to work on 64 bits system the same way chrome 32 bits works on 32 bits system, what I meant by that is that there should not be any difference for the user apart from a better experience, that should be as compatible with C2 games as it was, I wouldsay no changes for us user of C2, and maybe no changes too for the C2 architecture itself, since it was meant to be clean and not rely on browser's incompatibilities and bug exploits.

    Just my opinion.

  • There is a setting in the project propriety, basically C2 by default scales up the texture before rendering them, which causes more work to be done on an higher area of display. this setting can be changed during edit time(even at runtime using a system action, don't remember the exact name of it) so the sprites are not resized before rendering at an higher area of display, which erase the performance loss but will afect how the game looks (fora pixelated game though, I wouldsuggest to have it always like that, since theyreally don't need to be scaled up anyway)

  • I would say you need to use sprites with the additive blend mode to achieve this kind of effect

    Combined with some changes in opacity

  • This thread may be of interest (the first solution I would not recommand,)

  • to be exact, the following features are not supported:

    "The following features are not supported in CocoonJS. If any of them are used, Construct 2 will print a message to the debug log saying that they are not supported.

    • The form control plugins Textbox and Button are not supported.
    • The XML object is not supported.
    • The Facebook object is not supported.
    • The letterbox fullscreen modes are not supported. If they are selected, it will fall back to 'Scale outer' mode instead.
    • The Text plugin's 'Set web font' action is not supported.
    • The WebStorage plugin's session storage is not available. Use local storage or global variables instead."
Aphrodite's avatar

Aphrodite

Member since 20 Dec, 2011

Twitter
Aphrodite has 2 followers

Trophy Case

  • 12-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

17/44
How to earn trophies