DAG's Recent Forum Activity

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • Moin,

    on browsers (pc) you can download a json from a object like Array or Dictionary.

    But on iOS the Download Function does not work. (Tested with Ejecta).

    I have file "settings.json" (Dictionary) stored in the project folder "Files".

    Ajax load this file OnLayoutStart and loads into the Dictionary OnComplete(Ajax).

    Now I want to store / overwirte the "settings.json" when I suspent the app. To save the current settings (Dictionary Data).

    But this is not working. Or am I doing something wrong?

    PS: I know that there is a "save" and "load" function from system object. Savegame.

    But I ONLY want to save the Dictionary Object. And nothing else. By the way: The savegame function does not work with tilemaps.

    Summary:

    It must be possible to store the Array/Dictionary Data into a File in the App Sandbox Filesystem (Project Files). On mobile devices (iOS).

    I'm looking for suggestions about save/load settings on iOS with Construct 2 and Ejecta. Awesome Tools btw. =)

  • I've solved it!

    Omg why I hadn't seen that?

    Here's the solution:

    Don't use uppercases in the AJAX Request URL string!

    Only use lowercases like "myfile.json". But not "myFile.json".

    If you use uppercases and run your game on a real mobile device like iOS iPhone 5s or iPad 3 then you get an empty string as AJAX.lastData.

    Take a look to the attachment to see a demonstation.

    I hope I could help you.

  • has anyone tested? there's no iOS developer here? who worked with ajax on iOS Device?

    Ok, if there is someone who is interesset to test it, I will create a example project. Just asking for it. Whether it's worth it. Thanks!

    Ashley: I have the problem on all iOS JS Runner like Ejecta and CocoonJS. But as I said: Only on the "iOS Device" (real physical) load the AJAX not all of the json-files. just a few. But the ios simulator / emulator and on PC the AJAX working great.

    At first I thought its a issue of file permission or memory management of array or string length. But I have this problem also on files with a array size of 88x1x1. I have array sizes about 6000 and more. for example a file with 5500 size is working fine. but some greater files are not working. but also the small files (88 size). I'm going mad!

    The Event Handling loads the ajax data into the array successively. ... All working awesome on all other platforms but iOS Device. -.-

    The AJAX jumps into the successful method "On "" completed". But the lastData string is empty.

    How can I debug this? I just have a text object to display the Ajax.lastData.

    Please help me! =)

DAG's avatar

DAG

Member since 22 Mar, 2014

None one is following DAG yet!

Connect with DAG

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies