frozenpeas's Recent Forum Activity

  • Just installed it with no problems. Must be Avast

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yeah Avast can be a bit over sensitive on times.

    Don't fancy uploading a 130 mb file to jotti as the kids are currently playing online and don't think I can stand the calls of "Lag....."

  • Just downloaded the latest nw.js from https://www.scirra.com/nwjs and getting an error "The file is a decompression bomb" from Avast scan.

    Version nwjs-for-c2-v0-13-0-beta5

    FYI

  • Add the browser object in Construct as it has a close or exit option not sure of the exact wording

  • Consolidated my thread.

    Cannot get this simple example to work on Android using XDK so made a simple example of the problem with everything stripped out.

    Using file chooser and specifying .png,.jpg,.jpeg in properties.

    I have included a capx, apk and screen shots of all the XDK settings I have tried.

    https://drive.google.com/folderview?id=0B3eaqRhfaUabaHRWOFg1ZXAyTkU&usp=sharing

    What is expected

    What I expect to happen is that the file chooser should enable me to select an image from my gallery or camera (on Android) and for this photo to appear within the sprite.

    What happens

    1. On Android the file browser appears

    I believe this is the wrong one. Note that it does not show the gallery. From this menu I select the camera and take a picture, it asks me to save and then it returns to the app but the sprite image does not change.

    I really want this dialogue to appear.

    2. On Chrome it works

    3. On NW.js it works

    What I have tried

    Changing the XDK plugins. Tried the Cordova ones and tried the XDK ones both without any luck (see Google drive screenshots)

    Not sure what to try next.

    Is this a Construct bug (think not) or a XDK bug

    Using XDK 2893

    Crosswalk

    CLI Version 5.1.1

    Anyone know where I should look next?

  • I have a problem that occurs randomly.

    Loop

    Create object on layer (60 pixels square)

    Pin the object to another

    Set animation frame to a value (frame already exists)

    Load image from URL (Keep current size)

    The images are 120 pixels square.

    All the above works as expected. However, occasionally, and its pretty random, the object is created of the wrong size.

    When this happens. they are always smaller and never bigger than the expected size.

    I have tried setting the size to 60 x 60 before and after creation but it still happens randomly.

  • Yes got it.

    I added it as a sub-event.

    Thank you to everyone

    Been away from the Construct 2 and this forum for a while and forgot how helpful everyone is - love this place

  • Unable to use "On start of layout" as it's triggered by other events.

    Tried the trigger once but still doesn't break out of looP.

    Will try trigger once and sub event now.

  • Whoops

    Nearly there, squares are all different.

    Still won't break out of the loop though.

  • Thank you for your reply.

    Not sure where to put the *80

    Tried this:

    But it doesn't break out of the loop and creates about 10 zillion objects?

  • Got a sprite called "typeShow" that has 6 frames each of different colour.

    0 Green - 1 Purple - 2 Red - 3 Yellow - 4 Black - 5 Blue

    Trying to spawn this sprite and set the animation frame at the same time.

    Expected result 5 boxes of a different colour side by side Green - Purple - Red - Yellow - Black

    Currently the result is 4 Green and 1 Black

    typeLoop = 0

    typeQuantity = 5

    I have stopped the animation and set speed to zero and loop to no.

    So my question, is it possible to spawn an instance of an object and set it's animation frame correctly at the same time?

    Thanks

    Rob

  • Thank you

    You have given me the confidence to attack this

frozenpeas's avatar

frozenpeas

Member since 14 Apr, 2015

None one is following frozenpeas yet!

Trophy Case

  • 9-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

11/44
How to earn trophies