radishrob Posted February 19, 2023 Share Posted February 19, 2023 I'm quite inexperienced so sorry in advance if I'm not being clear what I mean. I've been playing around with pixi starting to make a 2D space shooter, I got as far as rendering a sprite, plotting some stars across the width/height of the screen, getting it to rotate towards the cursor and firing bullets with the correct vector and rotation, and some basic position change on wasd keystrokes. What's stumped me is trying to create a container to use as a traversable map area, I want my ship to stay centered in the screen and the map to move around it on position change. I tried assigning a container dimensions, positioning that and adding the sprite to that with the star plot, but it just messes up everything I did so far. I'd appreciate any help with that or getting pointed to any resources. Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.