oosyrag's Recent Forum Activity

  • It's really cool, where does it come from?

    Is it an auto-tiling bitwise based method?!

    The tiles are not neighbor aware - its just clever graphic design. You can clearly see the corner/edge seam if you look for it.

    Can do this in Construct with 9-patch with edges/fill set to tiled. Rotation on 9-patch was something asked for in C2 a long long time ago though...

  • Without seeing your project, it is impossible to diagnose.

    Memory issues are first suspect, physics/collisions second, and too many pixels to fill on a draw call third (lots of layered/invisible sprites).

  • Check your debug event to make sure its accurate?

    You can make a quick test by changing the instance name to be sure everything is clear.

  • Yes multiplayer connections persist across layouts. I've modified the chat room example for users to be able to send messages from different layouts to each other.

    However, objects normally do not, and I have no idea how object syncing works when the host and peer are on different layouts. I assume you will need to work out how to handle re-association of objects to their correct peers upon changing layouts on your own. It may be simpler to have peers and hosts change layouts at the same time.

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

    [quote:3nyqmvxc]lowercase(text)

    Convert the given text to all lowercase.

  • You need to pick the correct instance you want the event to take action on by specifying it in the conditions.

    In this case, your condition should be Sprite - compare instance variable - instancevariable = textbox.text.

  • The live preview is web based, but should be fine for testing. If you specifically want to test the Cordova export, you'll indeed need to export each time.

  • If you have trouble getting the correct bars again, you can always go into preferences and use the "reset all dialogues" button

  • Try lerping. lerp(a, b, x) Linear interpolation of a to b by x. Calculates a + x * (b - a).

    So a is your starting point, b is your target, and x is the amount between the two values (0-1 scale)

    For your case, object.angle is a, angle(object.x,object.y,mouse.x,mouse.y) is b, and you can choose anything between 0 and 1 which determines how much you want to move towards the target every tick.

    Note that this will never actually reach your target value unless you round() the value. And even then only when your c value is more than 0.5.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • https://www.scirra.com/tutorials/73/sup ... reen-sizes

    Summary -

    1. Use letterbox scale - design for any aspect ratio you want (easy, lazy, black bars)

    2. Use scale outer - design to allow users with wider screens to see more of your background/layout

    2. Use scale inner - design keeping in mind users with narrower screens will get portions cut off

    Either way, I generally like to start designing with the squarest aspect ratio in mind.

  • I believe a single value in construct uses a 32 bit float, or roughly 2 billion. If you need more than that you can use a second value as a multiplier, so 2b squared. You can probably accomplish an infinitely scaling number system by pushing out an array whenever you need to. The bigger design decision for you would probably be how to represent this number on screen for the user.

    Edit: never mind, construct uses doubles, so your maximum number is 9007199254740992.

    After a certain point the lower digits won't be significant at all so it probably wouldn't matter anymore.

  • Construct.net, it is web based. You'll also get the first year for free if you got c2 recently.

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