Myton Music's Recent Forum Activity

  • Hi there,

    I'm facing a little problem here...

    What I would like to accomplish is the following:

    I want some variable (let's name it 'A') to decrease while the x-position of a certain sprite increases.

    So say 'A' starts with a initial value of 100. As the sprite moves to the right, so as the x-position of the sprite gets higher, the value of 'A' is supposed to get lower until it reaches the value of 0 (zero) when the sprite 'hits' the right side of the screen.

    Any help would be appreciated.

    Thanks in advance!

  • Hi there,

    don't know excactly what you're trying to achieve, but wouldn't the sine behaviour be a solution?

  • Hi warrio1988,

    you can't post URL's yet due to your 'low' reputation... I still have the same problem

    You could however include the picture in your message.

  • Uhm, set walls to solid behaviour or isn't that what you mean?

  • Hi ex32,

    you mean something like in attached file?

    Don't know if this is the best way, but it works

    Of course you can live yourself out with explosions and all that stuff, but the basic coding is in the capx.

    Good luck!

    [attachment=0:3rj1bicq][/attachment:3rj1bicq]

  • Oh right. My rep is still too low...

    Can't send url's yet...

  • Yep, it does make sense, but I'll have to think about this one.

    Maybe other forum members have the answer right away?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm only still a beginner but I would suggest to place all the characters in an animation frame, each with its own frame number.

    Then you have C2 select a random frame every x seconds, on a button click, on start of layout or whatever.

    Like so:

  • Why don't you just try it?

  • Hi there,

    what's the best way to import large chunks of text (and images)?

    I'm working on a music theory app and I would like to show all kinds of big text objects and images which I copy from my own site.

    I can hardly imagine one should use the regular text-object to show large pieces of text.

    Maybe I could use arrays to accomplish this?

    Or maybe even some kind of plugin?

    Hope my question is clear...

  • There's a tutorial on this item. I think it's called 'choosing a character in a game' or something similar.

    Just take a look in the tutorial section.

    Good luck!

  • Wow akashlakhotia, hold your horses!

    I wasn't trying to offend you, I was only trying to help.

    Given your reps, I assumed you were a noob: I'm a noob as well!

    If I was wrong: I'm sorry.

Myton Music's avatar

Myton Music

Member since 28 Jul, 2014

None one is following Myton Music yet!

Connect with Myton Music

Trophy Case

  • 10-Year Club
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

12/44
How to earn trophies