LittleStain's Recent Forum Activity

  • Would it perhaps be easier in this case to use the touch object and the "on tap" "on double tap" and "on hold" events?

    another way would be to use the timer behaviour to check how long the mouse button is clicked and how long the time is between two clicks..

  • LittleStain

    [quote:1h1imv5n]You'd ofcourse have to make actions for what you want to happen when both right and left are pressed at the same time..

    Which one is dominant at what time?

    How can this be achieved best?

    I think that depends on what you want to happen..

    I can't decide what's best for you..

  • something like:

    on left pressed

    animation "right" is playing

    play animation "skid"

    You'd ofcourse have to make actions for what you want to happen when both right and left are pressed at the same time..

    Which one is dominant at what time?

  • Either create a new tiled background in front of the old and have it fade in, or create a new tiled background behind the old one and have the old one fade out?

    This could be done with the fade behaviour or by changing the opacity over time..

  • Wouldn't it be easier to do something like this?

    enemyA on created

    set bullet speed

    enemyB on created

    set bullet speed

  • Well it's obvious..

    system tickcount = 2

    can never be true if you have a layout before this..

    It checks if it's the second tick since the game started and that second tick has already long passed..

    This ofcourse also is the case for system tickcount = 3 and 4 etcetera..

  • yea well I wanted to make it that big because I hate the repetition. .. I guess there is no way to make it move with the wheel.. anyway thanks for the help!!

    If you guess there is no way, you are guessing wrong..

    There are many ways, simple and less simple, but all will require some effort on your part..

    There are many ways to prevent repetition..

    But like this blog tries to explain: Remember not to waste your memory

    As you see, some effective programming and use of images can get you a long way..

    Making a game will often consist of making it look like there are no limits, while working within limitations..

  • Without seeing at least your event sheet this question can't be answered, but maybe you can answer it yourself..

    What is the difference between starting the layout directly and starting it from another layout?

    Are there changes in global or other variables?

    Are there global objects that could be interfering?

  • Would you need the layout to be scaled or the layer?

    Is the player centered (scrollto)?

    What is the scale it should scale to when overlapping?

    The events would be something like this:

    Player is overlapping castle

    Scale > DesiredScale

    subtract something from scale

  • Making the tiled background IMAGE 10000 by 512 is ridiculous..

    Why would anyone use images that big?

    10000x512x4 = 20Mb of memory-use while playing

    if you use a 512 x 512 image and stretch it to 10000 it will work..

    https://dl.dropboxusercontent.com/u/485 ... rking.capx

  • because I tried to make a background of 10000 width but something went wrong!!

    Could you explain what this "something" was?

    Maybe we can solve "something" for you..

    Using tiled background it shouldn't be an issue making the background that big, but you could also choose to create and destroy instances of it when needed..

    It all depends on what you want to do, the result you want to get.

    There is not one solution that fits all circumstances, although there are "solutions" that fit none..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If your player is global you could use an instance variable on the player which you check to see if the player has a certain power, it will be carried to another level.

    If the player is not global you could also use a global variable for this.

    To make a random character appear you could have an instance variable/ global variable and set it to : choose("person","lion","firebreathingdragon")

    and have an event if variable is "person" system create person, etcetera..

LittleStain's avatar

LittleStain

Member since 26 Apr, 2011

Twitter
LittleStain has 4 followers

Trophy Case

  • 15-Year Club
  • Email Verified

Progress

16/44
How to earn trophies