oosyrag's Recent Forum Activity

  • I don't believe NW.js works for Android.

  • Basic % chance logic - roll 100, compare results

    On Trigger

    Set RollVariable to random(100)

    If RollVariable comparison 1 is true, do something

    Else If RollVariable comparison 2 is true, do something

    ect.

    For your comparison conditions, you can compare to another variable, which can be changed as you dictate

    For example, if you want a decreasing trigger chance -

    TriggerChanceVariable = 25

    If RollVariable <= TriggerChanceVariable - Subtract 1.25 from TriggerChanceVariable

    Else - Set TriggerChanceVariable to 25, subtract 1 bullet

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This would be a nice improvement. In C2, it was pretty much always better to just make your own particle system (which allowed for random, animated, rotated, et al. particles).

  • 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.

oosyrag's avatar

oosyrag

Member since 20 Feb, 2013

Twitter
oosyrag has 39 followers

Trophy Case

  • 12-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

22/44
How to earn trophies