amkp's Forum Posts

  • You must use Iframe.

    See Youtube's embed code:

    <iframe width="560" height="315" src="https://www.youtube.com/embed/IDVIDEO" frameborder="0" allowfullscreen></iframe>

    You export your game from C2 with Export HTML5 / Embed style

    On your server, you upload your game http://www.mywebsite.com/MYGAME/

    Then, you write a html code like:

    <iframe width="width_you_want" height="height_you_want" src="http://www.mywebsite.com/MYGAME/" frameborder="0" allowfullscreen></iframe>

    And you put it on your html page.

  • Here you have a method to slide menu:

    http://shatter-box.com/downloads/c2-sli ... -elements/

    To stop the game play, you can use GROUP in event sheet.

    In one GROUP "GAME" -> all events for the game

    In other GROUP "POPUP_DIE" -> event for the popup die

    Then, you use SET Group Activated/Deactivated...

  • Aphrodite

    Isn't possible to configure lock option for auto-update ?

  • We all have this same problem

    Apk: crosswalk 17Mo + c2 game 2Mo = 19Mo in the market

    When the app is started, 19Mo * 2 or more in the device memory

    Like you said, sometimes more than a 3D game

    It's a problem of Webview android component.

    All the HTML apps like Construct2 export are displaying in a the java Android webview.

    A webview is like a browser, but a very light browser. So all the complicated code (html5, Jquery..etc..) are bad or not at all understanding by the webview.

    So we need to use Crosswalk, who is a webview with a full browser.

    If your game is very simple, you can to try to import it into apk android without crosswalk, I've tried it.

    But some android devices can't open it or the performance will be bad.

    For example, the function "Load image form url" don't work well without crosswalk.

    The game is started on some devices (not all), but the images are not loaded

    With Android 5, I've read that the component Webview is better (like a full browser) but I haven't tested it.

    If it's true, when all the device will work on android 5 or more, no need to crosswalk

  • Hi!

    I'm wondering if it's possible to download images into C2 file folder.

    The mechanic is:

    From a C2 game (wrapping in Android apk with XDK)

    ->Download image files from server

    ->Save into file folder of C2

    Then, when the game need it:

    ->Sprite -> Load Image from URL: "ID_IMAGE.jpg"

    Maybe it's possible to save image from sprite into file folder, during the game ?

    If it would be possible, I can do this:

    -> Sprite -> Load Image from URL: "http://www.server.com/ID_IMAGE.jpg"

    -> Save img from sprite into c2 file folder

    Then: Sprite -> Load Image from URL: "ID_IMAGE.jpg"

  • I like the idea and graphics.

    I don't know why but it reminds me Abe oddworld

  • rexrainbow

    Yes, "Item table" is one of them, but I had not finished the document yet.

    Is there an official Post for your Parse plugins ?

  • hello rexrainbow

    I had implemented "One-to-One and One-to-Many Relationships" in my parse application plugin.

    You are talking about your plugin Parse "Item table" ?

  • hello Arne

    About Pointer/Relation in class

    The use is simply:

    A User (class) have "one or many" Image (class).

    So the class Image need a Pointer reference to the User object (if we use the Parse official logic).

    For the moment, I make it with a "manual" relation : the ObjectId of User is inserted like a simple string in Image class.

    But there is other difficulty...

    About default Columns in Parse Query with User class or Custom class

    It seems the defaults columns of class: objectId,createdAt,updatedAt are not returned when we use ParseFE.QueryDataCurrent("objectId") or ParseFE.QueryData(ParseFE.QueryDataIndex, "objectId")

    However, if I use a general ParseFE.LastData, these infos are well returned.

    Is it normal, bug or error from me ?

    (this is more important than Pointer/Relation for me at this day)

  • About Pointer/Relation in class

    Hello Arne,

    Is it possible to make Relational Data with the plugin ?

    Exemple with a Post and Comment here:

    https://www.parse.com/docs/js_guide#objects-pointers

  • cranberrygame

    Hi!

    Do you think it's possible to integrate AppStart ads in your plugin for the future ?

  • Android 4.1.2

    Android 4.2.2

  • I'm still waiting..

    I tested with 2 devices, sony xperia and alcatel one touch, when the app is killed, notification is never received but if the app is in the background, it's ok...

    thanks for analytic, i found it

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for your answer

    I think I didn't express me well..

    I use the Parse dashboard to sent push.

    I talk about Alert Notification that's displaying in the Status Bar of the mobile.

    The json is well displaying in the debugtext app, but there're is no alert notification in the status bar.

    That I wanted to do is open an url when the user touch the notification.

    And I read on Parse that is possible for Android with a json:

    "alert": "My message notification", "uri": "http://scirra.com"

    But I found another way to do this.

    However, I have new question about push notification...

    If the app is closed on the device, whan I sent a simple text push notification, the notification(status bar) is not displaying, is it normal ?

  • Hi!

    It seems that the push notification in json format are not received by Android...

    Json: { "aps": { "alert": "A test notification from Parse!" } }

    or

    { "channels": "FrostyNews",

    "aps": {

    "alert": "A test notification from Parse!",

    "uri": "http://www.scirra.com"

    } }

    Test with your demo HelloParse.capx , export cordova -> xdk crosswalk android