#1 Movement, Object Collision & Gravity Fields
As the title suggests, this week we implemented a movement system. The game will be top-down style so you can move around in eight directions: up, down, left, right and any combination of those.
Now you can interact with objects! Players now have collision and can move other objects around.
Since our game wont be physics based, we found a way to stop objects from spinning around when hit at an angle (as our collision boxes are rectangles).
As you can tell by the images above, these objects that you can move around have a certain "drag" (or friction). This was done in order to get the "pushing" motion right. This was also made with another feature in mind, which we'll be talking about now:
Gravity Fields
They were showcased in our last devlog, but now they behave with objects as they should:
Because our objects have friction, they now go directly to the center of a gravity field and stay there.
As always, we included a demo so you can test around how the movement feels overall, and maybe leave a comment if you desire.
DEMO INPUTS:
WASD (move around)
ESC (pause the game)
Next week, we will be showcasing (hopefully) the portal mechanic.
Portals will be inside a Gravity Field and they will transfer any object that comes in to the other portal's end.
So stay tuned for our next update, see you around :D
Files
Get what lies beyond the EVENT HORIZON?
what lies beyond the EVENT HORIZON?
Status | Released |
Authors | Goose, GenericGuy101, Dinkleberg1 |
Genre | Puzzle |
More posts
- #10 One More LevelNov 28, 2022
- #9 New Levels and SettingsNov 21, 2022
- #8 Music and Sound EffectsNov 14, 2022
- #7 Credits, Camera System & Improved tutorial levelOct 30, 2022
- #6 Tutorial Level, Background & CameraOct 24, 2022
- #5 Grabbing boxes!Oct 17, 2022
- #4 Buttons, Doors & LevelsOct 10, 2022
- #3 Player Duplication, Animations and new Sprites!Oct 01, 2022
- #2 Time Portals, Switches & Object DuplicationSep 25, 2022
Leave a comment
Log in with itch.io to leave a comment.