oosyrag's Recent Forum Activity

  • You probably want to use tween (or possibly pathfinding) rather than custom movement. You can have an event upon completing your tween to check conditions to decide on the following action.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't have any trouble using blend effects on mobile. It is possible the phone you are testing on has outdated graphics drivers.

  • Set text to - Var1 & "text string" & var2

  • I messed around with this some more, and I found the tween behavior actually has a color property you can use. So this can be done with just one event and no additional variables.

    + System: Every 2 seconds

    -> Sprite: Tween "" property Color to rgbEx(floor(random(101)),floor(random(101)),floor(random(101))) in 2 seconds (Default, destroy: No, loop: No, ping pong: No)

    I also updated the example file with it in the Layout 3.

  • Awesome, thanks!

  • That's unfortunately clunky. Guess manually setting three variables when using colorvalue to set color is the cleanest way for now.

  • For a given angle θ and a circle of radius r and center (h,k), recall that we can determine the Cartesian coordinates (x,y) of the point on the circle determined by θ and r, where

    x=h+rcosθ , y=k+rsinθ

    Since you don't care about radius in this particular application, it would be

    x=self.x+cos(a)

    y=self.y+sin(a)

  • It is likely blocked. After all your game might not be the only thing open in a user's browser.

    Why do you need a quit button? A user can leave the website by closing a tab or browser on their own. If you insist, maybe a button to return to the title screen would be appropriate.

  • Is there a reverse function for the following expressions?

    rgbEx(r, g, b)

    rgbEx255(r, g, b)

    rgba(r, g, b, a)

    rgba255(r, g, b, a)

  • You can use tween to changes values over time, on a color adjustment effect.

    You'll need to specify if there is a target color or just random.

  • Looks like you can use a regular curve and apply some 1d perlin noise to it.

    Again you'll need to define either a min/max range or a maximum rate of change.

    Since you're using a formula/procedurally generating the temperatures anyway, might as well do it for the whole year in one go. The coolest temperatures in winter and the warmest in summer. It would just be another similar looking curve as the daily temperatures but on a different timescale. That's actually how perlin noise works in general.

    If you don't mind waiting a bit I can experiment later on putting this together, probably with a variables for yearly, monthly, and daily variation. A tropical location would have less variation across seasons than others. Maybe also need a start/target temperature variable, which would basically be your average.

oosyrag's avatar

oosyrag

Member since 20 Feb, 2013

Twitter
oosyrag has 39 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