mOOnpunk's Recent Forum Activity

  • You need to put the sprites in a family then test for overlap between sprite and sprite.family, then move the sprites back in the reverse direction until theres no overlap.

  • That works great, thanks for your help.

  • I'm new to the whole json thing, and try as i might can't seem to find the answer when searching. The manual isn't much help either.

    I've got a sprite, i adjust its variable at runtime, then i create a new instance of that sprite, but the new sprite needs the old instances variables.

    I know i'm supposed to use "set from json"? Do you need the json object as well? what path do i set?

    Any help would be appreciated.

    Thanks.

  • I generally put all my code into various functions, then just call the functions when needed.

    This has the same effect but also helps a great deal in organising and debugging the game.

    It also means my main game loop is very readable since its just a list of functions.

  • It a shame that construct 3 can't have these sorts of ui plugins as standard. If one person could do it then why can't the dev team? Ashley

  • clicking page numbers doesn't work for me.

  • Functions are now built in, and parameters are handled as local variables.

  • Sorry i can't check your file at the moment, but perhaps the inventory layer needs to be set to 2d render and not 3d?

    Also you can you mouse.x("layer name") to get the coordinates of a specific layer, as they will be different between 2d and 3d.

  • Do you mean opposite angle?

    ((180+angle)%360)

  • I feel your frustration, ignore the most requested features, work on Construct Animate instead, which we subsidise, and no one asked for.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You would use it like this.

    Normally you could do;

    My_string=""

    My_tokens = "A,B,C,C"

    If condition met then set string My_string to tokenat(My_tokens,0,",").

    My_string = "A"

    settokenat() and changetokenat() would work the same, but on the token string itself.

    If condition met then set string My_tokens settokenat(My_token, 0,",","Z").

    My_tokens = "Z,B,C,C"

    If condition met then set string My_tokens changetokenat(My_token,"C",",","X").

    My_tokens = "Z,B,X,X"

  • You're right. It would be much more helpful for these types to be applied to tokens instead.

    Tokenat() we already have but,

    settokenat(string, index,seperator, new token)

    and

    changetokenat(string, matching tokens, separator)

    would be very useful.

    Thanks.

mOOnpunk's avatar

mOOnpunk

Early Adopter

Member since 29 Mar, 2017

Twitter
mOOnpunk has 5 followers

Trophy Case

  • 9-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 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
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

18/44
How to earn trophies