DAG's Recent Forum Activity

  • I have a problem with loading a json into an array.

    Mostly it works fine. But there are some files who cannot load into an array.

    This issue is only on the Mobile Device. On PC and iOS Simulator the app is working fine.

    At first I thought the problem is the array. But now I've seen that the lastData of the Ajax object is empty on loading completed.

    ONLY on the iOS Mobile Device (iPhone 5s). But other JSONs are working. The array size its not really decisive.

    x,y,z = summary: result

    1100,5,1 = 5500: is working

    808,7,1 = 5656; is not working

    698,12,1 = 8376; is not working

    88,1,1, = 8376; is not working

    The JSON is 100% compatible to the Array.

    As I said: The problem is the AJAX Object.

    On Ajax "ajax" completed -> Ajax.lastDate = ""; (Tested with a text object.)

    On the iOS Emulator (xcode) the game is working fine. AJAX load ALL JSONs. But on the real device the AJAX just load a few of JSON-Files. Strange!

  • Please implement the feature to scale a layer in both separately directions (width and height).

    Currently it's only possible to scale the whole layer (width/height together).

    It's a really important and great feature.

    So please add this please. Thanks.

  • Ok, there is a bug with ejecta device orientation. quick solution:

    go to xcode "info.plist" and set the orientation you want in "Initial interface oriantation".

    But this value still fix. you can't use both orientation (portrait and landscape). Hope I could help. unfortunately none has helped me. :/

  • Does the landscape mode works with you? (Contruct 2 and Ejecta)

  • I despair of Ejecta, because the device orientations do not work. And when I check the checkboxes in xcode "Landscape Left/Right" an error/break occurs:

    xcode:

    #import <UIKit/UIKit.h>
    
    int main(int argc, char *argv[]) {	
    	@autoreleasepool {
    		return UIApplicationMain(argc, argv, nil, nil); <<< Thread 1: signal SIGABRT
    	}
    }[/code:30py4hw1]
    
    I also tested all fullscreen modes in construct 2. Only the mode "crop" is in landscape but not correct. The screen does not fit. And: The Device Orientations still not work. >.<
    
    For the result click on the image below. 
    Can anyone help me?
    
    Data: 
    Resolution: 1136x640
    Device: iPhone 5s
    Latest Construct 2 and Ejecta
  • I think the problem is Ios doesn't support xml.

    ^^ No, ios does not matter. Construct 2, Ejecta or CocoonJS (etc) need a xml library. I think construct 2 use the brower xml lib. ...

    I hope this feature will be added soon.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey,

    Ejecta and CocoonJS are awesome, but both do not support xml.

    Does anyone know an ios compiler with xml support?

    Thanks!

  • Just create one text object and set the properties, variables, etc.

    On Start of Layout (System) destroy this object. (optimal)

    Then you can create it everywhere you want in a for-loop. (one tick).

    If you want to update the content of them, just destroy and create again.

    On the for loop event:

    • create a text object
    • set the text of your xml node. etc.

    OR: You can create the text object once and store their UIDs in a Array. So you can call it by "pick by unique id". And set the text.

    ... the xml case is your part.

  • Its a simply score system.

    Scores for password length.

    Scores for if the password has lowercase and uppercase.

    Scores if digits are used.

    etc.

    Example:

    Max. score: 100

    5 conditions a 20 scores.

    ...

  • ok I will summarize again:

    in your game there a fishes. 3 types: Good (1 score), Bad (Lose), Gold (5 score).

    Also: You want to check if a fish is not catched.

    We need more information about your gameplay!

    I think you have a screen like a aquarium. Fish swim from one to the other side.

    So just subtract 1 from your score when a fish is outside the screen. Or then the fish can't catched anymore.

    This is simple logic. Just try and play with some events.

  • CocoonJS has more than one engine for project compiling. Try another settings. Compiler version 1.4.7 or 2.0 beta. Run using Canvas+, WebView+ or System WebView. For more support of CocoonJS post your issue on Ludei forums.

  • Have all the layouts the same Event Sheet? Take a look to the layout properties. "Event Sheet". If so, check on what layout you are.

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