nutmix's Recent Forum Activity

  • I get this problem with R99 and R100. If I take my very basic app, rotate it a few times, I then get a black blank screen, and have to reload.

    I can reproduce on ipad2 and iphone4

    It happens after 2 or three switches of orientation.

    My app uses scale with letter box, and just diplays some sprites. I made a blank project with nothing but a backgroud image, and get the same problem.

    This is pretty serious.

  • To support different mobile window sizes and orientaionts, we need to find out what the browsers availiable size is.

    displaying the "WindowWidth" and "WindowHeight" always just returns the hard coded window size in your project settings, not the availble browser size, no matter which of the "full screen in browser" options you select.

    Any ideas how to do this?

    Thanks!

  • Hi, if a game has say 10 layouts, are they all loaded before the game starts, even if some will never be used?

    To support mobile, I am looking at one strategy which is to have 10+ layouts for different screen sizes and orientations.   Will they all be downloaded, even if not used? IS there a way to change this behavior (e.g. test the screen size & features, then only load the required layout)

    If the layouts all use the same objects (e.g. the sprites are simply copied across all layouts, with different positions), what are the overheads in terms of:

    1) download size

    2) perfomrnace? E.g. if you animate a sprite, will it animate on all 10 layouts, even if only one layout is active?

    Thanks,

  • Hi Guys, which of these should be used to do stuff before the game loads? What is the difference between them? I.e. when would one use:

    1) on start of layout

    2) on end of layout

    3) on loading finished?

    E.g. If I want to grab the screen size and change the window size, should this be done on loading finished,at start of layout or end of layout, or does it not matter?

  • Sorry, I wasnt looking for the post - I have the capx. Im just looking for a solution.

    If I work out how to do it I will post it.

  • I have been searching for some time for a nice way to swipe in layouts from the left and right.

    Here is a working single layout version which smothly scrolls between screens like on the ipad.

    https://www.dropbox.com/s/i0tnhmtb1nx3nlm/swipe_on_one_layout.capx

    If anyone has any suggestsions about performance, code style or better ways of doing it I would be happy for the feedback. E.g. is it better to put all those globals as instance vars on a dummy object?

    Its hard coded for a window of 480x800, but you get the idea.

  • Ok, dont get both events: if get touch start, dont get in touch, horay!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you have two events:

    1) touch->on touch start

    2) touch->is in touch

    Im guessing that they will both fire on the first touch.

    I need to not fire the second, if the first fires.

    I tried experimenting with else, but I dont think that works with events (only conditions?)

    I thought about using a state variable in the on touch start, the question is, are events always processed in the same order, and from top to bottom, and in sequence (i.e. one at a time)?

  • If one upgrades, the recommended approach is to uninstinal then reinstall.

    Is there a way to do this without having to find and re-copy the plugins?

    E.g. can one set the plugin directory in a registry setting, then have the plugin dir in another location (not in program files)?

  • Kyatric - you must be sick of me by how - sorry!

    A wiki we could contribute to would be an interesting Idea, kind of like your FAQ list would point to how to articles, rather than discussions. This could be the missing user guide with examples counterpart to the manual which is the refrence part.

    Have you not been tempted to write a user guide for dummies like me and sell it for �40 a pop? There is an oreilly book for Impact titled "HTML5 game development" which is only 100 pages, but seems to sell well (I read it anyway).

  • OK, getting there slowly.

    1) create a layout 3x the width of the window.

    2) in "System->start of layout" do "System -> set scroll X to (half your layout width)

    3) on your event to scroll left/right, do: "System->Set scroll X to scrollx +/- 10

  • FYI, I tried doing:

    System set scroll X to scrollx -10

    and

    System set scroll X to scrollx +10

    based on input, but neither of these does anything (visible at least).

nutmix's avatar

nutmix

Member since 16 Aug, 2012

None one is following nutmix yet!

Trophy Case

  • 13-Year Club
  • Forum Contributor Made 100 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies