matrixreal's Recent Forum Activity

  • Use max() and it will stop exactly at 400.

    +-------------------+
    | sprite: width<400 | sprite: set width to max(400, self.width-10*60*dt)
    +-------------------+[/code:1nno7ry5]
    
    If the value is increasing instead you can use min().
    

    its stranger .... it set directly width to 400 (without the gradiant effect)

  • thanks a lot really appreciate it

    and then i can also use it for if x < 400 (for example) without use the moveto rex plugin ?

  • 7Soul

    that's ok it work for moving object

    but if for example i want to set an image with this (if with of sprite < 400 then set sprite.width to self.widht-10*60*dt)

    it always stop at different with and not exactly to 400

    any suggest ?

  • > what about screenshot ? how it work ?

    > it is saved on local ?

    >

    It saves online to your website.

    is there a way to make the plugin working on ejecta ?

    thanks for reply

  • >

    > > Do as google does, slice it up in parts.

    > >

    >

    > Which will only help if you dynamically load and unload them from memory, right?

    > Which construct 2 doesn't do as far as I know..

    > All images on a layout are loaded into memory at start of layout..

    >

    > https://www.scirra.com/blog/112/remembe ... our-memory

    >

    Slicing it up in parts will aid the rendering. (Image not on screen etc)

    Also, some devices are unable to handle image of enormous sizes.

    He could, divide the sliced parts over layouts too. i.e. have 4 pieces on each layout, the cross section in the middle, if you come close to one of the layout edges, load the other layout corresponding to images.

    example, the 4 squares would be layouts, the transparent squares image parts.

    This could greatly reduce the performance problem. It just requires a bit of smart approach <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    an .capx example to understand better what you want to explain ?

  • hi,

    since there are a lot of plugin (cranberry and others)

    i'm trying to switch to intel xdk for android and ios

    believe me ... ejecta is much better specially when phoboslab (creator of ejecta) enable webgl

    however i'm trying to use crosswalk (android) and cordova

    i would like to know if the "force on own texture" and use "render cells" will help me to increase performance

    thanks

  • why power of 2 is better for background or tiled background ?

    example ? please

  • ludei

    hi,

    can i use this plugin (https://github.com/ludei/webview-plus/) on my crosswalk project and will work with intel xdk compiler (just to try) ?

    and what about "width=device-width" and "minimum-scale=1"

  • any solutions guys ? i have same problems with admob and crosswalk

  • the only 2 things on crosswalk are size and performance ...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • A patch has landed in Crosswalk 15 (not yet released) - https://github.com/crosswalk-project/cr ... 085fb069e8

    They are backporting it to CW 14 at some point. Our team is trying to schedule meetings to see everything involved so we can get this to developers ASAP.

    it will be excellent if you release this cw15 since it fix performance on s3 samsung

    i'm waiting on update because all my users told me that performance are bad on the game (crosswalk)

  • Ashley

    i'm not good in english i try to translate what you write and just tel me if i'm wrong or not

    1- for example i have a sprite with width 80 and height 100 (with no transparanecy spaces)

    then to avoid waste memory i have to make it as 100X100 with transparency spaces ?

    what about the story about the 1 or 2 pixel around the sprite ?

    2-is that same for tiled backgroud ? if the recommanded power of 2 is for example 128 X 128

    then we have to put a png with 127x127 or 126 x 126 ?

    i'm a little confused

matrixreal's avatar

matrixreal

Member since 2 Mar, 2014

Twitter
matrixreal has 4 followers

Trophy Case

  • 10-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
  • Email Verified

Progress

14/44
How to earn trophies