nutmix's Forum Posts

  • If I want a static black bar to strech across the top of the layout, would it be better to create a single 1024x60 image and past it in as a sprite, or create a 1x60 image and create a tiled background and let it strech across?

    Both will look the same.

    Im guessing the tile version will adversly affect performance on slow devices such as the iphone3? This would outway the benifit of a smaller file to download. Or perhaps the sprite, even if not being animated, reduces performance?

    By performance I mean FPS and responsivness of GUI.

    Any thoughts?

  • In crop mode, the game can be played in an area bigger than the layout. I have all my lahouts set to the target mobile window size so I can see what I am doing and set anchors, then I put a 1024 background image on them.

    However, if the player should have a large screen, and open the game window bigger than 1024 (in crop mode), there is a white background around it. This is what I need to change. I could of course create a background image which is larger than the largest monitor available and put it on every laout, but apple keep bringing out even higher res ones. Putting a 4k x 4k black backgroud image on each layout for mobiles is getting a bit extreme.

    Im hoping the white background outside of the layout is changable somehow (even If I have to write a javascript parser to change some code in the compiled js).

  • Brockatkinson, what is the canvas, and how does it relate to the projects "Window size"? Canvas is not in the manual, unfortunately. I have seen viewport mentioned a few times also, but cant find any reference to it. Are they different?

    Any tips appreciated!

  • Ashley, which version does it work on for you?

    I pulled out my network cable, switched off wireless (have HW switch), and tried to hit a page (e.g. google) to check it failed. For the phones and ipads, I simply siwtched off my ADSL wireless router, then checked i could not access any web pages (there are no other access points near me).   I tried on iphone4, iphone 3, ipad2, PC with chrome and FF.

    I would be very excited to get this working, as it would really help the app.

  • Thanks Ashley!

  • Frequency: Always

    Repoducability: 100%

    Method of reproduction:

    1. open a layout

    2. insert a tiled backgroud

    3. import a png into the image editor

    4. select an area with the rectangular select tool

    5. click on the crop transparent edges.

    6. Observe hang.

    7. restart app.

    Actually, hitting "cut" instead of crop also hangs C2.

    I am just trying to find a way to crop an image.

  • Im using crop fullscreen mode to support multiple mobile screen sizes. The background is white. How do I change it to another colour?

  • I put:

    Browser->On went offline: do something in GUI
    

    but it doesnt work for Chrome (21) or FF (14.1) on a PC or safari on iphone4

    I bascially switched off the wifi, and tried hitting a page in another tab so the browser really knew it was offline, but no joy.

    I tried it from the preview on lan, and also I exported the project to apache 2 and hit that, but no joy.

    Am I doing something wrong?

    using R99

  • Our game only works when connected to a server, and we dont want to scare off our casual users with the browser message:

    "this web site (...) is asking to store data on your computer for offline use"

    How can we switch this feature off (i.e. no offline caching)?

    Its a reqirement for us launching, unfortunately.

  • We have very poor bandwith, and would like to load the game assets (images & sould etc) from a CDN (content delivery network).

    Also, we wish to be able to skin the games by pointing to different asset locations dynamically, or at least statically.

    Is there any way to do this (and still work locally in dev mode?)

    Thanks!

  • The ability to have simple popups like "are you sure [YES] [NO]" or "Lost connection to the server [OK]" would be a huge help. Every game I have created needs these, and its not easy to create them as events go through layers.

    If its not feasible to create a popup window type function, then at least the ability to block events past a layer would do - then one could consturct ones own modal dialogs.

    A games input logic is usually complex and hard to read with nested Ifs etc, I dont think its tennable to add more state to try and ignore input by hand if we are simulating a modal dialog. So currenty I suspect some of use developers don't offer the player choice or warnings when perhaps we should.

  • Thanks for the link. Looks like modal dialogs are not possible with construct 2 as I feared. Its not possible to block events to the layers below.

  • If I want to do a popup with for example some text, and ok button and cancel button, is there a way to do this?

    I dont want to switch to another layout as it will delete all the current layouts objects.

    I experimented with bringing hidden sprites to the top, but the games buttons etc. underneath are all still clickable, even if I make them invisible and put them to the bottom layer.

    I searched the forums and the howto FAQ

    Any Ideas?

    I imaging most games will need this at some point, e.g. asking if you are sure you want to start again.

  • Try Construct 3

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

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

    I see one can set the layout and also the layer scale. Would I be correct in thinking that scaling the layout scales all its layers?

    Thanks!

  • thanks for the reply.

    Unfortunately, the letterbox scaling is not appropriate for mobile, as black bars are not acceptable to the customer and it makes the buttons too small, especailly in landscape.

    What is a canvas? I cant find it in the manual.

    I am strugling to understand the difference between window size, viewport size, actuall browser window size, layout size, layer scaling and canvas - I belive its a missing page in the manual.

    Any tips appreciated.