LPGameDevs / EditarrrPublic

Public repo for level editor tools in Unity
MIT License
11 stars 2 forks source link

Feature: Player Controller #10

Closed yanniboi closed 9 months ago

yanniboi commented 1 year ago

Description

We need to be able to play the game. The result should be a Player prefab that we can spawn into a level.

In order to build this I would suggest creating a new scene, adding a tilemap to be able to draw a floor and then add a square sprite to start working on. Animations/etc can be added at any point and all the required sprites should already be included in the project.

Todo

Everything...

MVP

Lower priority

Notes

We may want to use Tarodev player controller as a starting point:

https://github.com/Matthew-J-Spencer/Ultimate-2D-Controller

yanniboi commented 1 year ago

I've added the input mapping to the player controller so now we can tell with movement or jumping is happening.

https://user-images.githubusercontent.com/1744957/229808714-9a9feb7c-44ea-49ac-90a7-51f933c1b400.mp4

yanniboi commented 1 year ago

Research credit: @Kiqa

GMTKs platformer toolkit is pretty good for understanding player controllers in a 2D sense as well.

yanniboi commented 1 year ago

I've split this up into several smaller tasks so people can assign those without having the whole PlayerController assigned:

X-0X commented 1 year ago

I would like to take the lead on the player animations. I basically understand how it's done but definitely need practice! I'm also happy to assist whoever wants to work on Health and Movement portions, and if anyone else is interested to work on the animation portion, let's talk!

CalmPewter commented 10 months ago

This issue is marked as In Progress but has no assignees. Is it actively being worked on or should I have a look?

CalmPewter commented 9 months ago

I'd say we're in a good spot with the controller at this point. Minor changes here and there, but all the big items listed here are in (assuming respawn == restart level). What do you think about marking this ticket Finished, @yanniboi ?