Asmodean's Recent Forum Activity

  • How do I lock the position of a sprite so that it cannot move outside the white box shown above?

    The heart inside the box?

    You could use 4 Sprites, one for each side or you could use a tilemap.

  • Side question: Is there a recommended plug in for construct that could help with audio and perhaps help in this situation?

    Because this is not the correct behavior I would make a bug report.

    Did you use the Construct2 Audio importer (from wave-file)?

  • Sebastien Do you know Magix Music Maker? It sounds that could hit your requirement.

    Little example what is possible:

    youtube.com/watch

  • Works fine here with FireFox and Chrome. Did you try another browser?

  • Thanks! I didn't even know you could use tilemaps like that! Can you explain the loops and the "on key released" event?

    That's only an or expression: if playerOne.X is not equal to playerTwo.X or playerOne.Y is not equal to playerTwo.Y there isn't the other player on this position.

    Otherwise this position is occupied and you put the old position of PlayerOne and Two as TilePosition back to the instance Variable.

  • I would use a tilemap. I made a little example:

    drive.google.com/uc

    It's a litte bit chaotic. please ask if something is unclear.

    PlayerOne ArrowKeys + Shift

    PlayerTwo WASD + Space

  • I want to dynamically change each of the three RGB values seperately.

    Make 3 variables, for example: myR, myG, myB and put they in the rgb expression.

    rgb(myR, myG, myB), now you can put the rgb expression where you want and alter each variable separately

    .

    If this is not what you want, could you provide an example what you want to achieve.

  • When you load the project, click on Layer0 in the layer-tab on the right. The effects are all bound to the layer not to a sprite (it should also work on a sprite, I think). Now you should see on the left in properties all effects that are used. If you click on the parameters you will get a litte description on the bottom what this parameter/effect do.

  • On the C3 Start-Page on the left, there are examples. Click on 'Intermediate Examples' and scroll to Effects: old tv.

    If possible I would do it without effects and try to use animations instead.

    Especially on mobil you can get performance problems with effects.

  • I understand it like that: if the player has 50 point the bar is in the middle at 500 pixels from the 1000 pixels maximum, if the player has 150 it's again in the middle.

    Try to set the width of the bar with modulo: ((Score-1)%100)*10

    Every time the player is over 100 Points (Score) the bar should be set back to 0 and 1 point are 10 pixels on the bar.

  • 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 know if I understand your question correct, but there is the expression 'rgb'.

    rgb(r, g, b):

    Generate a single number containing a color in RGB format. This is useful for conditions or actions taking a color parameter.

    This number can easily stored in a variable.

  • nod.X=other.X | nod.Y=other.Y

    I assume this is expression in a IF condition. it means:

    if (nod.X=other.X or nod.Y=other.Y) It is true if one of the conditions is true.

    If you want to look if a instances of the nod object have the same x or y position. You have to use a family for that. Because if you have more than one instance of nod you would compare nod with itself. You need a family to compare against something. So you put the nod also in a family.

Asmodean's avatar

Asmodean

Member since 31 Jul, 2015

Twitter
Asmodean has 9 followers

Trophy Case

  • 9-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

15/44
How to earn trophies