oosyrag's Recent Forum Activity

  • nw.exe is your program executable when exporting with nw.js. how are you packing your install? Nwjs should be self contained.

  • It should work. Check your sprite and make sure its solid? A capx file would help to troubleshoot.

  • Use a group for your jumping controls. When dead, disable that group with event action.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Align which window to what?

  • So main problem is loading time between layouts?

    https://www.scirra.com/tutorials/328/us ... onstruct-2

    I think you can use load image from URL to make custom progress.

    So instead of having all the images already placed in the next layout, use placeholder spirits so the layout loads and starts quickly, then load in images with events so you can provide feedback as they load.

    You can use a variable to add to after each image gets loaded.

  • Here are some resources for you -

    https://www.scirra.com/tutorials/73/sup ... reen-sizes

    https://www.scirra.com/blog/112/remembe ... our-memory

    This isn't a simple answer about what is best - you really have to work in your design limitations and goals.

    700x700 will take up that much image memory regardless of resizing. Maybe you don't have that many walls and memory is not an issue for you. Are you downsizing all your walls in the game anyway? If so then the extra resolution is wasted (Might even look worse!).

    One suggestion that almost always helps is to keep the size your images in power of 2s.

    Generally speaking, use smaller images and upsize in the engine, but there is a quality tradeoff to consider.

    Otherwise, it would be ideal to have the image size exactly the size you need to display based on the resolution you are designing for.

  • tokenat()

    https://www.scirra.com/manual/126/system-expressions

    Use nested tokens, first one would be for polygon, second one would be for points, third one for commas.

  • I highly doubt this is possible with C2, but I could be wrong.

  • Hmm not sure, hard to visualize. Sorry I was pretty tired when I wrote that, maybe it doesn't work.

    The idea is to take the difference between the area's total width or height, and where the first object spawned.

    Imagine 0 to 10 on a line, where 10 is your total width.

    Opposites would be 1 and 9, 4 and 6 ect. So if my object spawned at 1, 10-1=9. 10-4=6.

    If you do this for both the X and Y you should get the other side of a square. I think.

  • Keep your points and lives information in a global variable or array.

  • You'll have to do some pretty advanced coding for that, but it is possible in my mind. I've thought of a similar system but have never actually created it.

    Rough idea -

    Create an array representing the width and height of your layout: more cells = higher resolution.

    As you swipe, record where your swipe passed through by toggling values in the array.

    Compare the array data with your accepted patterns to do actions <- This is the hard part.

    You'll have to have a certain leeway for your comparisons - after all, everyone draws a different shaped/sized circle. Also they might start in different places, or even put their circle in different places on the screen.

    To fudge it a bit I would actually check for a more specific pattern in the array, but have the user input cover more cells, and as long as the pattern is found anywhere in the array the action would fire.

    A second method would involve recording the maximum values your swipe coordinates reach and when they reach them - basically record corners/vertices in your drawing, and compare the locations of those with each other to match patterns. This is how swype-style text input on smartphone keyboards work.

    Either way is a pretty large task to undertake.

  • https://www.dropbox.com/s/z7fc5hey0yzu5 ... c.zip?dl=0

    .capx located in the same folder as nw.exe. Use nw.exe to run exported project.

    Again, if you preview from capx using nw.js, you need to copy your file to the nw.js folder.

    The issue I found was textbox is not captured by snapshot, so I used a spritefont instead.

    There is no confirmation that the download happens in nw.js - check your default chrome save directory.

oosyrag's avatar

oosyrag

Member since 20 Feb, 2013

Twitter
oosyrag has 38 followers

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

21/44
How to earn trophies