Ketoulou's Forum Posts

  • Hi,

    I think it's maybe about rotating the sprite ! the angle you gave them

    I have made some comparison with my project and this is the only difference I can see !

    here is my modification

    dl.dropbox.com/u/27306923/Construct%20public/example-rotate-sprite.capx

  • sorry my bad I said right column and it's left :)

    dl.dropbox.com/u/27306923/Construct%20public/example.jpg

  • Strange I have R63 (I checked on the right info icon on C2) and generally you can open project saved on previous release but not the contrary !

    sure you are not in R62 ?

  • I have made some changes :

    dl.dropbox.com/u/27306923/Construct%20public/frog_game.capx

    Just am not sure it's useful to have default control on platform behavior and then simulate them !!

    Also animation can be edited on the right column when you select them.

    I Speed them to 30 and loop right and left for example

    dl.dropbox.com/u/27306923/Construct%20public/frog_game.capx

  • Hi again !

    I tried to start scrolling at 30% of the windowwidth but no matter what I change to Kyatric example, it still scroll from the middle.

    As a consequence I solved this by adding an invisible sprite at X distance from the player.X

    Is there a way to do it without an invisible sprite ? or is it the good solution ?

    Example (modification of Kyatric capx):

    http://db.tt/xJAELYce

    Just copy paste the link in your brower can't make it work on the forum directly

  • Hi,

    Try PLatform Vector X ! it's good for bumping

    Here is a basic use of Vector X on collission !

    dl.dropbox.com/u/27306923/Construct%20public/basic-bounce.capx

    Also if you want to bounce on Y axis don't forget it is reverse which means to bounce up you need a negative number.

  • Thank you Kyatric,

    This is indeed very useful , I think you just solved my problem ! :)

    Thx again I will try to adapt it asap !

  • Thx andreyin for answering

    What expression should I use ? Is it for Construct 2 ?

    I can't find any window.x or viewport ! and also nothing about a camera !

    Any help on that ?

  • Edit : Solved :)

    Thx to Kyatric Demo in this thread

    Hi,

    I would like the Horizontal scrolling only to move forward and to bound on the left part!

    My game test : gamesrusher.com/test (Edit: now working)

    Here is what I already thought :

    I only needs the scroll when my player moves forward so here we are:

    * Player is playing animation Right > System Scroll to player.x

    It works but as soon as I press right the Player is back in the middle of the screen.

    It would work if I could use Windows coordinates.

    Like if Player playing animation right + is in the middle (or Window X coordinate) then System scroll to player.X

    Like that When I go back it doesn't scroll and it starts scrolling only when I reach the middle of the window for example!

    Also window coordinates could be helpful To bound the player.

    Because right now if I go back , the player may not be on screen but he is still on the layout and I can't make it bound.

    I could do it if I could just set an invisible Sprite on Left border of the window.

    So am I going all wrong with that ?

    What could do the magic ? Is there any Window coordinate to use ?

    Thanx

  • Hi me again,

    Just to say that to prevent the above issue you can just add the following condition

    Example

    On key released Right Arrow

    + On Key down Left Arrow   

    Then

    Set animation to PlayerLeftAnimation !

    As a consequence am not sure it is a bug but I am surprised Scirra left it in the Space blaster game (released on Chrome) so it's more a game bug

    Cheers :)

  • Hi,

    Would be better with a capx !

    I also use the set position and it works great !

    You may want to look after all your origin point if they are the same on all your frames (right click on the icon to apply to whole animation)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I think its all about your Origin Point on Sprite Personnagio !

    Dont change it between animations ! just create new if needed

    Set all the origin point to middle (of sprite personnagio) and you will see you character move will be smooth

  • Hi Everybody,

    I just noticed that when I Press 2 keys And I released one , then the released animation is active and the player goes to the direction.

    Example:

    C2 example Space Blaster game

    Condition

    If you press Left And Right simultaneously and then release Right >>

    The space ship is going Left but with the Defaut animation and not the left animation.

    For this game difference is quite not visible but in platform you don't want the player to do some bizarre moonwalk and just slide on the ground.

    Tried on Chrome + Firefox

    Sorry if it has been said already

  • I think it had been answered somewhere else but it's just simply because documentation is not yet available !

    Soon it will work , for now on all the help is on the forum

  • Thx R0J0hound

    I was also having some trouble with the vertical move !

    Also I am wondering is it a bug ? Because looking at the example on horizontal move it works fine ! Just wondering why it's not the same with Y and if it is a bug that has to be fixed.