fishfolk / punchy

A 2.5D side-scroller beatemup, made in Bevy

Home Page:https://fishfolk.github.io/punchy/player/latest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiple Players

odecay opened this issue · comments

Prerequisite for actual multiplayer,
Systems which work on our current single entity with player component should be changed to work with multiple players.
Camera follow player system will have to change. Could be based centered on average point between all players to start.
Input will have to support multiple players, each should have their own input map.

  • Camera refactor to support multiple players; closed by #62
  • Input refactor to support multiple players. Work started in #52
  • Update AI targeting to better account for multiple players. Done as of c36ceca

Camera follow player system will have to change. Could be based centered on average point between all players to start.

In beat 'em ups, the camera typically moves when the players go out of an (invisible) box, with some extra rules (ie. boss fight, enemies wave etc.). I've started the groundwork for this in #62.

I'll do part 3 of this tomorrow.

Done in c36ceca. Could probably still use improvement.