LittleStain's Recent Forum Activity

  • I don't know what the wrap system is..

    You could create events to change the width and the height of your cannon-sprite, if that's the efffect you are after?

    Should be relatively easy to do..

    If you are looking to use effects for it you could search the effect part of this forum to see if any fit your need..

    Also a plugin like litetween might get you some nice results, you can find it in the plugin section of the forum..

  • There are more events that can be true at the same time..

    This was just an example..

    You will find several similar events in your event-sheet..

  • Like you said..

    Creating an animation for it would be the first thing that comes to mind..

  • event 3

    if shift is down and right is down - set animation to run

    event 11

    if right is down and down is not down - set animation to walk

    both these events are true when both shift and right are down, so both events will have their actions executed..

  • Please check my capx ok?

    Like I told you last time..

    I did..

    The question is the same, the answer is the same..

    Add conditions so only one event setting animations is true at the same time..

    The way you do this is up to you..

    You asked for a suggestion in the last thread after I already gave you one..

  • Using object.physics.velocityX and object.physics.velocityY you can get the pixels per second the object is moving in horizontal and vertical direction..

    Without having to use math

    angle(object.x,object.y,object.x+object,physics.velocityx,object.y+object.physics.velocityy) should get you the current angle of movement..

  • Ah sorry, I already told you this before..

    Here's some reading material

    How events work

  • Sounds like you have conflicting events..

    If you have more than 1 event setting animation where the conditions are true, both events will run its actions resulting in restarting the animation every tick and therefor only displaying frame one..

    Add conditions so only one event is true at the same time..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • From your explanation it is unclear to me how you have this set up..

    How would the program know you already have berries and how many you already have?

    Are you using variables to keep track of this?

  • I suggest searching the forum for split screen..

    You'll find adjustable examples..

  • I'm not sure why this version is linked..

    It's not finished, I was adding some more functionality, but ran out of time..

    In event 10 I set the instance variable SpriteUiD of the text-object "notavailable" to the unique ID of the associated background..

    In event 7 I want to perform actions on the background associated with the instance of "notavailable", I have to pick the background and do that by checking if its UID is the same as the instance variable of the texobject..

    Like I was saying, this example was not finished completely, althpugh it does most of what you asked for and more..

  • I guess you want the opacity?

LittleStain's avatar

LittleStain

Member since 26 Apr, 2011

Twitter
LittleStain has 4 followers

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies