GameThirsty's Recent Forum Activity

  • Hello!

    Since I haven't had a chance to try out Ejecta, is there a way to use the mobile keyboard to get input from the user yet?

    Also, a bit more off-topic, will we ever see being able to use the DOM plugin file-reader from Pode to be able to upload images from the users phone to a sprite object? Or maybe not the file-reader but some way to allow users to upload an image.

    Thanks a lot!

  • > CJS also exports to iPhones

    >

    intelXDK can too

    Where has this been stated?

  • It could be cause of the DOM elements (textbox) Causes this. I have had this trouble before.

  • So I suppose we can start to use DOM elements in iOS now too?

  • Can you start with an array of width 0 and just push new values onto the end of it? Or do you need those blank elements in there?

    I already had a system working but was much more complicated than what you had suggested, so I went with your idea. Much more simple. Thank you.

  • IOS export is meant to be supported by the XDK at some stage, so that will be another option.

    Where did you find this information?

  • Hi everyone!

    I have ran into a problem, I am trying to add a value to the X axis of an array, I want to add this value to the next empty element inside the array.

    Example: Each X element is marked a "[]"

    How could I add a value to the 4th element where it is blank?

    [11321][127556][456546545][BLANK][BLANK][BLANK][BLANK][BLANK]

    I know how to insert values into the array if they are fixed, but what if this array is dynamic? After some values have been inserted.

    Summary:

    How do I add a value to the NEXT AVAILABLE blank array element.

    Thank you

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have been in contact with IntelRobert, over the past months and he recently announced that Crosswalk team is working on Facebook.

    The ETA is 'before May'.

  • On my games, I always make my layouts smaller than actual screen sizes. I then use scale outer everything works as promised.

    It may expand my sprites a bit, but there is no notable difference in image quality.

  • Your screen sizes are different on each device. Read this:

    https://www.scirra.com/tutorials/73/supporting-multiple-screen-sizes

  • I don't think off screen objects get rendered, so there is not much of a performance hit to have them around (but it is still having to loop through all of them every tick and calculate their position).

    If you delete all the ones off screen you may also be deleting new ones you are setting up to scroll onto the screen. So, you may want to do something like Sprite.X < -100 then sprite Destroy.

    (obviously you have to factor in the width of the platforms to make sure they are completely off the screen)

    I believe this is not true. For "sprite is off screen -> destroy" I believe it just deletes that instance of sprite.

    Another workaround is create a boolean variable "onScreen" and once the sprites are set on screen, make that instance boolean to true, then once its off the screen check to make sure that the boolean is set to true before its destroyed.

    Kind of a workaround, to check to make sure that the platform has made its course of being on screen.

    ->Sprite is off screen

    ->Sprite OnScreen is set to True

    • destroy
  • There is a trigger:

    Sprite -> Is Outside Layout

    • Sprite Destroy
GameThirsty's avatar

GameThirsty

Member since 29 Nov, 2012

None one is following GameThirsty yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies