[SOLVED]going through the gravity platform tut

0 favourites
  • 5 posts
From the Asset Store
Gravity Square is a game where I aim to reach the square at the polka dot door :)
  • Hey all,

    So I'm making my way through the gravity platformer tut but I have an issue when I get to the last line of code here:

    It won't allow me to put commas in the parenthesis when I enter the "(0,0,Xvector,Yvector)-90" part. Any idea why that might be?

    Thanks for your help!

  • seems like you are missing the word angle..

    angle(0,0,xvector,yvector)

    If I understand what you are trying to do..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks LittleStain - I thought that the "angle" part was pre-setup by the input. Now I've got the script ready! I must say that I really appreciate the community here being so helpful. I know I have a lot to learn but you guys have really been making the process fun .

  • I'm sorry to keep doing this but I just don't know why these gravity zones aren't working (My platform just jumps around like normal in non-relative zones, no matter which way the gravzone sprites are pointing). Any thoughts?

    In the original tut (in the first post), there is cox(gravzone.a)xvector - but when I type in the ".a" part C2 tells me "a" isn't an expression. I'm thinking that something going on there is holding me back but I can't find ".a" in the manual.

    Any help is greatly appreciated!

  • EDIT: Tinkering in another project and got it working.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)