CosyClub / ProjectTempo

Rave Cave, A rhythm based MMO where players rock out together!
3 stars 0 forks source link

Jt/visualize attacks #154

Closed RcColes closed 6 years ago

RcColes commented 6 years ago

The wait is finally over - we can actually see where we are attacking.

Also, this need a quite large rewrite of the stage rendering code.

Unintended changes:

TODO / future improvemnts:

grant-m-s commented 6 years ago

Yeah it seems to attack in the direction the enemy is facing, so because they start facing north it colours north, the moment it turns it lights up correct

AnthonyWharton commented 6 years ago

@Codrin-Popa The FPS is exactly the same for me. Were you running on your laptop when not plugged to power?

RcColes commented 6 years ago

AI should be synced properly now - it was a bug with how their rotation code interacted with the netcode

Codrin-Popa commented 6 years ago

@AnthonyWharton FPS is 21 with the laptop plugged in

RcColes commented 6 years ago

I'm not getting any FPS changes either, could @grant-m-s and @jnterry weight in on their experience?

grant-m-s commented 6 years ago

on linux im still getting 60, ill give it a run in the lab tomorrow morning and give you the important verdict

jnterry commented 6 years ago

I'm also still getting 60fps. Attack direction is now correct so I'm happy

AnthonyWharton commented 6 years ago

Just merging in master now manually to sort conflicts, Can I ask how this is going to affect the HUD/colours for tomorrow?

AnthonyWharton commented 6 years ago

Should be good to go, but the previous comment/question stands before I make a review.

RcColes commented 6 years ago

Currently the only change is to the floor tiles - if you want to adjust this you can pass arguments into the function I mentioned in the description.

RcColes commented 6 years ago

Probably easier to just patch this one so that the floor is colored like it used to be - should be easy but I'm not sure how it used to work so @AnthonyWharton or @Codrin-Popa might be able to do it more easily

Codrin-Popa commented 6 years ago

@RcColes I'll make the changes now.

Codrin-Popa commented 6 years ago

@AnthonyWharton Floor is now coloured as it used to be