shinkan's Recent Forum Activity

  • haha yeah, it's a harsh solution but will do for now ;)

    get well sqiddster :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for answer sqiddster it should work but it's not :/

    floor(choose(random(0,Last_Left_Angle-90)/90,random(Last_Left_Angle+90, 360)/90))*90

    if Last_Left_Angle = 90

    then choose(random(0,0)/90, random(180,360)/90)*90

    • choose(0,[2 or 3 or 4])*90
    • will give 0, 180, 270, 360 - correct

    if Last_Left_Angle = 180

    then choose(random(0,90)/90, random(270,360)/90)*90

    • choose([0 or 1], [3 or 4])*90
    • will give 0, 90, 270, 360 - correct

    but sprites still are on the same angles :/

  • haha, thanks Kyatric

  • On my desktop computer, I do have some widget on the desktop that allows me to keep an eye on the performances of my nvidia graphic card, giving me the amount of VRAM used/available, usage percentage, etc...

    Could you share a link?

    Edit: To the widget, not your desktop ;)

  • Here's what i have.

    Event 4 is checking if newly created sprite angle is equal to the previous sprites angle. If both angles are equal then it sets new angle for new sprite.

    Example:

    If first sprites angle is equal 90 then second sprite is set to random(angle), but this random(angle) for second sprite can produce angle equal to 90 as well.

    How can I prevent this?

  • Ashley no, not a bug. But you could mention that somwhere, manual maybe or anglelerp exp. itself in editor, cause it's a bit confusing at begining.

  • It is weird behavior. I've deleted everything except layouts Game and Menu and it works correclty. Then I load capx again and did exactly the same and it's not working :)

  • Thanks

  • It's not lerping correctly - or am I missing something?

    System: "something" -> Sprite | Set angle to anglelerp(self.Angle, 45, dt)

    Red square indicates current angle of the sprite.

    <img src="http://dl.dropbox.com/u/34375299/Construct%202/bugs/alerp01.jpg" border="0" />

    Works as it should, nothings wrong here.

    But if sprite angle is changed to something different than 0, like here for example:

    <img src="http://dl.dropbox.com/u/34375299/Construct%202/bugs/alerp02.jpg" border="0" />

    Sprites angle should rotate to "green" position instead it's going all the way to "red" position (original angle position).

  • It's kind of my fault, sorry ;)

  • I't not crashing for me, but i can not close Edit image:Particles window. Have to force it to shut down in task manager.

  • Simple plugin to create square/rectangle object (was to lazy to add sprites for simple temporary objects every new project). You can select fill color, outline color and outline size.

    Square 1.0

    Conditions:

    • Is fill color - can't make it to work with color :/
    • Is outline color - can't make it to work with color :/
    • Is outline size

    Actions:

    • Set fill color
    • Set outline color
    • Set outline size

    Expressions:

    • FillColor - returns current fill color
    • OutlineColor - returns current outline color
    • OutlineSize - returns current outline size

    Square 1.1

    • Added: Is overlapping another object
    • Added: On collision with another object

    // forgot to include that from my earlier version

    EDIT: This plugin is not available anymore.

shinkan's avatar

shinkan

Early Adopter

Member since 21 Nov, 2008

Twitter
shinkan has 8 followers

Connect with shinkan

Trophy Case

  • 16-Year Club
  • x5
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • 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

25/44
How to earn trophies