justifun's Forum Posts

  • Also leverage using groups. You can enable and disable groups at runtime to help control stuff. Multiple event sheets are great for separating larger features.

  • I'd start with a smaller scope project if you are still learning construct. It's not just a matter of loafding and unloding tilesheets that you will run into for a massive size game like that. Save the idea of your dream game for later.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • When switching aspect ratios like portrait and landscape theres a few things to keep in mind. There is a browser object you need to add to your project that will have some actions in it including one that detects if your game is running in landscape or portrait on device. When switching you probably need to re adjust your camera using the system-> scroll to action. You will probably also need to enable the "unbounded scrolling" checkbox in the layer properties so that the camera can center on your upper left viewport window where you probably set all of your graphics. This will let the camera see beyond the corners of the layouts while running.

  • Its a top down view sorry.

  • Imagine if you will a crossbow at the bottom 3rd of the screen on a portrait oriented phone screen. The player could aim the crossbow left and right, but the camera (layer) would also rotate to orient with the direction of the crossbow, but the ground below would stay put.

    The problem is that the layer with the crossbow pivots from the center of the screen instead of from where the crossbow is.

  • Thank you Mikal - You're the best!

  • Well this will be a great start at least. Thanks again.

    I know C2 stores the default package.json that it uses to compile each time. Does C3 keep a default one somewhere so you don't have to edit the file each time you export?

  • TheRealDannyyy - Thanks, Got the "always_on_top": true, working.

    One final question. Is it possible to enable/disable the click-through feature while the app is running? I'm thinking since its enabled with the chrome flag via a shortcut there might not be a way of doing that while the app is running?

  • Thank you for the example file It works great in C2.

    Clickthrough works great, but the window gets sent behind the new window you clicked on. It there a setting/flag for "always on top"?

    Where do I find the package.json file for C3 Exported projects?

    I read in another thread about unzipping the package.nw file, adjusting the files in there, then rezipping it. But once i do that the .nw file doesn't work anymore. NW.JS only opens its default loading screen after adjusting that file.

    Thx for the help with this.

  • TheRealDannyyy I've been trying to see if i can export nw.js and utilize the transparent window feature -http://docs.nwjs.io/en/latest/For%20Users/Advanced/Transparent%20Window/

    I'm hoping to make an overlay with elements on top of the users desktop as if the background of the app is see through. But i'm not having much luck.

    I've tried modifiying the package.json and package-win.json files in the C2 exporter folder by adding

    "frame": "false",

    "transparent": "true",

    but according to that page i need to edit the HTML body as well to specify the background color, but not sure where to adjust that.

  • VoxelVomit - did you ever figure out how to do the transparent window?

  • Incredible! Thank you Eren !

  • Any chance of making a c3 runtime version?

  • The simplest way would be to break down that graphic into 10 or more animation frames with each a bit more full up to 100%. then simply move to the next frame depending on the health points of the player.

  • Looks cool. Adding a video on the play store showing it in action would go a long way.