[SOLVED]Has anyone gone through the "asteroids" tutorial off of the wiki?

Did it end up working for you? That is after you read all of the pages and did the steps as shown, did it work straight away or did you have to modify it a bit? Specifically talking about this: Asteroids [GDevelop wiki]

For me, it seemed to place the asteroids and the ship a quarter of the way down and across – The tutorial said to position the camera (presuming it’s the base layer) at 0,0 and the scale to -0.5

You can see it here: Specifically this page: Step 4 Setting the Scene

Here’s what it looks like:
asteroids tutorial preview

Also if you notice the player seems to rotate when hitting the ‘w’ button even if I use the a and d keys also.

I can upload the project upon request.

Thanks for your question! I’ll do my best to help out:

For me, it seemed to place the asteroids and the ship a quarter of the way down and across – The tutorial said to position the camera (presuming it’s the base layer) at 0,0 and the scale to -0.5

Yes, the camera gets centered at the top-left corner of the screen. This means you will need to place the ship in the top left corner for it to start in the center. (I will see if we can add that text to the wiki)

You will also need to place the asteroids centered around that same point (top-left corner). This wiki does explain this:

Place a few of each of these objects in to your scene, remembering that your new camera is zoomed out and centers on the 0,0 point. Which is the top left corner of the original camera’s screen.

Also if you notice the player seems to rotate when hitting the ‘w’ button even if I use the a and d keys also.

We would need to see your events to know what is happening for this.

1 Like

Thank you very much for addressing this – and yeah I read that, but I didn’t really catch it, you know where you don’t exactly understand what that means.

As far as the player movement, here’s the screenshot of my player keyboard events -

This is the page for the ship movement and controls: Asteroids [GDevelop wiki]

Figured out what was causing my ship to sort of curve in an arc (or specifically changes angle)

Turns out, that screwing around with floats for center point, interrupts the “center of mass” for physics 2 objects. Make sure you’re dealing with whole numbers (integers). You still need it to be the actual center of the sprite to get that forward motion correct.