LittleStain's Recent Forum Activity

  • hey your example is perfect for my needs how to achive hat???

    I worked on it for a few months..

    To achieve it, add the plugin I talked about to your project..

    Create the markers on the spots you would like..

    Add Date/Time plugin and base the colour of the markers on it..

    Add an "on marker touched" to open the corresponding information..

    It's all pretty basic once you've got the hang on it..

  • In what way are you counting the time?

    seems to me resetting the global variable for score/time should do the trick..

    top 10, only four places?

    I'd need more info..

    Would you mind sharing your events and/or capx?

  • when touch is not touching, touch.x = 0 and touch.y = 0

    so using a simple "is between values" should work in this case..

    You could ofcourse also use collodium's trick by setting a variable to 1 on touch start and back to 0 on touch end and doing something similar for the keyboard..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The example in this thread might help..

  • I'd add a timer-behaviour and then something like this should work..

    player is overlapping at offset y=2 destructible

    destructible set timer "destruct" for 0.5

    destructible on timer "destruct

    destructible destroy

    You might be able to do this with just a wait action, because you want to destruct anyway..

  • Which part of this do you have difficulties with?

  • I made this app

    Wat is open?

    using the Open Streetmap plugin from the plugin section..

    It doesn't use google maps, but is an interactive map updated every minute to show which bars/pubs are open in the area I live..

    So what you are trying to achieve is entirely possible, but maybe not as easy as one might think..

    There is also a google map plugin I think, which might work for you, although I haven't worked with it, so I can't be sure..

  • But the overlapping didn't work out.

    What didn't work out?

    To be more clear:

    What are the exact events you are using?

    What is happening right now in your game and what did you expect to happen?

    Providing a capx for us to look at would be very much appreciated, for it will make answering your question much easier..

  • What are the event/conditions you use to get the enemy to play the animation?

    is it possible to use an else event?

    are there any variables chanched which should be set back?

  • If you want the boss to have certain actions under certain conditions, you have to create those conditions and attach the actions..

    It's like programming anything else..

    First decide what you want the boss to do..

    then decide when he should do itband when not..

    then create the events/conditions based on that..

    let's for example say your boss has an attack he only performs when the player is within 100 to 200 pixels to the left of the boss

    system is between values : player.x (is between) boss.x-200 (and) boss.x-100

    boss play attack

  • I guess you know what you want the player to do to make that attack..

    So when those conditions are met play the attack..

    So for example:

    keyboard down button is down and shift is down

    play attack animation

  • Just thinking out loud:

    keyboard on down arrow pressed

    player is not on floor

    player disable platform behaviour

    layer play animation "stomp"

    player on animation "stomp" ended

    player enable platform behaviour

    To get a bigger speed using the bullet behaviour for the fall might be a better solution..

    just re-enable the platform behaviour after the stomping action..

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