Mary Jane's Forum Posts

  • You shouldnt need the trigger once for those sub events. also you could put them in with the comparison. the On key pressed acts as a trigger once for all the sub events.

    Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you very much!!!

    Your methods using variables are really working. I especially liked the ansmesnobody's solution:

    <img src="http://i48.tinypic.com/kapc9z.jpg">

    This is similar to my third method in the first post.

    I think the David's method is the best, because it consists only of 3 events and doesn't use any variables.

    <img src="http://i48.tinypic.com/8x63o5.jpg">

    It's really simple and works perfectly.

    Thanks! <img src="http://i987.photobucket.com/albums/ae352/constructgame/ew.gif">

  • if space is down

    - Set variable 'space' to 1

    if space is not down

    - Set variable 'space' to 0

    If space is pressed

    If variable 'space' is 1

    - actions - set space to 0

    I've tried your method, here is a screenshot:

    <img src="http://i47.tinypic.com/x3cqol.jpg">

    This method doesn't work or I didn't understand you... Could you make an example?

    ~~~

    on layout start disable the off group

    <img src="http://i46.tinypic.com/10ni5fk.jpg">

    I tried this but it doesn't work.

    1st method

    You first Disabled the "on" group yet it have to enable "off" group first.

    > Sprite: Set Y to Sprite.Y-64
    System :Disable group "on"
    System :Enable group "off"[/code:c16ns8cp]
    
    Should be [code:c16ns8cp]
    Sprite: Set Y to Sprite.Y-64
    System :Enable group "off"
    System :Disable group "on"
    [/code:c16ns8cp]
    

    I tried this but it doesn't work too.

    This is a cap file: download.

    Could you download it and make necessary changes?

  • The first method doesn't work because you enable the group "off" after running the first event, which means that the second event is run in the same frame as the first, moving it back before the screen is drawn.

    I understand, but how to force it works properly?

  • Madster

    Do you know why the first method doesn't work properly? May be it is a bug?

    I use the method with variables too, but I'd like to find the method not using any variables and easier than 2nd method.

  • And now for a question! how did you handle collisions? they work perfectly!

    If you mean collisions with boxes, when the bike collides with the snowy block, block is being destroyed and spawns particle object with one particle. This particle has block texture and gravitation (this is why it's falling so).

    I tried to use motion blur but background is very blurring because of the speed and it looks bad.

  • Hi.

    In this topic I'd like to write my methods of solving a particular problem and discuss with you how it could be made more easily and properly.

    The first task:

    We need to make that if we press ''Space'' sprite moves up to 64 pixels, and then if we press ''Space'' again it returns to the original position (moves down to 64 pixels) and so all the time.

    I made it by 3 methods:

    1st method.

    <img src="http://i45.tinypic.com/10hk4rq.jpg">

    2nd method.

    <img src="http://i48.tinypic.com/11vp6s3.jpg">

    These two methods work but not properly � when I run the application and press ''Space'' the first time nothing happens. But if I press it again � sprite moves and events begin to work .

    Question: why it doesn't work the first time?

    ~~~

    3d method.

    <img src="http://i45.tinypic.com/c7pk4.jpg">

    This method works fine.

    Question: is there any way to accomplish the task easier ?

  • Thank you very much guys! <img src="http://i987.photobucket.com/albums/ae352/constructgame/ev.gif">

    I'm very glad that you liked my game!

  • Santa Smile

    The walkthrough video on Youtube:

    Download:

    SantaSmile (v1.4) 12mb "zip"

    Controls:

    Space: Jump

    Up/Down Arrows: Moving on the left/right sides of the road (to go around obstacles)

    Left Arrow: Deceleration

    Right Arrow: Acceleration

    Mission:

    You should collect gifts and go around obstacles.

  • I've added new translation of Behaviors documentation.

    P.S. Dear Administration, please remove 2 messages in Russian (Post ?35809 and Post? 35810), because this is flood (message of user Antonio_moder and my response to it). <img src="http://i987.photobucket.com/albums/ae352/constructgame/gb.gif">

    Thanks!

  • Information about the user interface is in the registry under HKEY_CURRENT_USER/Software/Construct (lots of programs use the company name but we used the product name just to be different). You can then right click this and select 'export'. I think that creates a bat file or something which when you run it will copy the settings back over.

    Use at your own risk

    Thank you! <img src="http://i987.photobucket.com/albums/ae352/constructgame/dw.gif">

  • I don't know why it would reset... do you know anything in particular that causes it to reset?

    I have not noticed any regularity. Probably program crash causes it to reset..

  • Oops, maybe not. It looks like that info is in the registry.

    Exactly!

    May be do you know how to copy the settings from the registry and in the case of resetting to paste them back?

  • But why does it reset if I don't install a new version?

    And how to save the settings?

  • Are they resetting after you close or after a new install?

    Always different.. But after a new install exactly.