oosyrag's Recent Forum Activity

  • Does your frame rate ever drop below 10fps? I think that will result in a discrepancy, although I'm not sure. Maybe someone else can confirm?

  • Do your counter variable and time match?

    Seems like a workaround would just be to set your variable to wallclocktime every tick if that's what you are looking for.

    I've also had scenarios where time falls behind wall clock when I run a very heavy loop - time can freeze but wall clock keeps going. I don't know how much other stuff you have going on in your project though.

  • Time

    • Can be modified by timescale
    • Stops when window is unfocused/hidden
    • May start slightly later than wallclock

    Using dt to increment a variable should work well.

    Otherwise, you can use time and wallclocktime directly as expressions directly as well.

  • You do not have permission to view this post

  • If you're using bullet, you should be able to set the angle of motion to 180. Turn off set angle in the bullet behavior properties.

  • Depending on your situation, a solution would be to not move the viewport/window at all, but move everything else on the layout relative to the player instead.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • OK sound good. I was worried if I had images for example at 1024 and they all got bumped up to 2048 in memory, it would be a pretty significant waste of resources.

  • Have you tried following this tutorial?

    https://www.scirra.com/tutorials/5005/m ... ing-lights

  • I recall reading somewhere a long time ago regarding a 1px transparent pixel border that construct adds for images, but I don't seem to be able to find it anymore.

    The reason I am asking was because I forgot the implications... for example should I be importing bitmaps at 512x512, or 510x510?

    Or maybe did it have something to do with resized images or seamless tiling or 9patch? I can't remember!

    I know I was having some issues with 9patch using exact pixels with solid colors and not leaving space around the edges, or similar when I make a solid color sprite square and down size it in the image editor, the edges pixels get changed to semi transparent. Are these related?

  • When you use ProjectileObject On Collided with EnemyObject, only the objects involved with the collision are "picked". Then you can use expressions and instance variables in your action - Subtract ProjectileObject.DamageInstanceVariable from EnemyObject.HealthInstanceVariable.

  • You can use a counter variable. This can let you keep track of how long your key has been down for.

    Then use that counter as a condition for an event.

    This is the quick way, but the problem is the random(15,30) will give you a new random number every tick, so basically you will never get to 30. If you want, you can use another variable to store the target time once, and have the condition compare the two variables to run your spawn action instead.

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