DAG's Forum Posts

  • This is not the intention of this thread.

    Btw. in your example you still check all instances. "Is not outside layout" return true or false from every instance. And it need more cpu as a simply for each loop.

    Whatever...

    Just a suggestion for de-/activating instances feature. Scirra must decide whether they implement it.

    To disable instances means efficient CPU usage. For example in a platform game. The instances (blocks, enemies, etc.) outside the screen eat cpu resources. An alternative: Create the level like a endless autoscroll runner. Buts its hard to handle for complex levels.

  • automatically deactivate instance when they are not inside the layout.

    Disabled instances can not be chosen by infinite loop.

    This saves the cpu and ram.

  • Hi,

    I wonder if there is a way to connect devices with Bluetooth.

    Connect an iOS Device to another Bluetooth Device. Using Contruct 2 and Ejecta (etc).

    Does anyone have experience?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks, but I have already solved like you.

    summary we can say: Contruct 2 don't work correctly with ejecta when WebGL is enabled. unfortunately.

    WebGL bringts awesome effects, but don't work on older devices like iPad 3.

  • sign(x)

    return -1 or 1

  • Hi,

    currently the facebook and twitter object using forms (dom/div/contols). Ejecta does not support this. (Also CocoonJS).

    Please change this. For example: Use convas, not form controls!

    Thanks!

  • The Fade Behavior saves a lot of work But I miss a something: The fade behavior should be able to scale the size.

    No problem for me, I have already add this to this Behavior. Just suggested for an official release.

    Add: It must work with the physical Behavior.

  • Hi,

    animation of my game are very laggy and slow. Only on a mobile device (iOS).

    xcode says: "Creating Offscreen Canvas (2D): size: xxx, retina: yes = xxx, msaa: no"

    Every time I created a new object inside the screen, the xcode brings this message.

    But I have no drawing object outside the screen.

    How to deactivate this?

    I think this is the problem vor memory waringings and app crashed and slowdowns.

    (Iam using ejecta)

  • tested on iOS with ejecta: xcode returns "Can' find variable: jQuery at Line 17 in iscroll.js". :/

    this.addEventListener("touchstart",touchStart,false);this.addEventListener("touchmove",touchMove,false);this.addEventListener("touchend",touchEnd,false);this.addEventListener("touchcancel",touchCancel,false);});};})(jQuery);
    [/code:18fuf8wi]
    (And on pc preview in a browser scrolling is not working)
  • Maybe a solution for a plugin? (Not tested)

    http://airbnb.github.io/infinity/

    Another solution. Looks really awesome. BUT does not work with ejecta!

    iScroll

    I think both do not work because ejecta does not support dom div etc.

  • Yes thanks.

    I already have something similar developed. But a touch event would be better as a for each event. But really thanks for your help.

    Solved so far. But still a suggestion.

  • Thanks, but I using Ejecta. Also: I can't login. I don't know what you want to show me.

    ps: the text is in chinese.

  • Hi,

    I need a plugin or something to display a huge list of text entries.

    For example: A list of "over 9000" levels. The player can browse or search or jump to a letter.

    I tried many of possibilities to display so many entries. (for-frame, object scrolling, view scrolling, etc.).

    All worked, but not on my iPad 3 (old device). The game crashed because memory and cpu usage.

    I need a low resource variant.

    PS: I would like to avoid a page-by-page variant.

  • Morning,

    I miss a touch function / feature:

    Detecting when a Instance (Object) is not longer touches.

    Example:

    Instances of a sprite object a placed side by side (like a keyboard).

    This instances can touched using "is touching object". But there is no event who detect when this instance is no longer touches. The "Is touching object" (on a family btw.) checks ALL objects. And when you swipe from one to the another same object. the event still triggered.

    Understood what I mean? ^^ Hard to explain. eng. is not my main tongue. Just ask me on any question.

  • Sounds good. Thanks. Works fine.

    But it is still a important suggestion, I think.

    For example I want to download content from another website. Downloading new levels, etc. And save this files (json) to the local app data. (project files).

    Ok, I can download data (request http) and store it into a webstorage key (split for huge data). But this is a dirty way.