CoolCoderMan281 / God-of-Food

Game Dev II - Project I
0 stars 0 forks source link

⚙️ Player Sprite Lag? | 10.24.2 #8

Closed cellaneza closed 10 months ago

cellaneza commented 10 months ago

⚙️ Hey, in the most recent version of the Scratch MVP, I added a hitbox that directly follows under the mouse and made it so that the actual sprite lags behind the actual hitbox by a bit (so that you get that nice gliding motion for the character while still having the responsiveness). Here, try it out! Play this version and move the mouse around slowly as you hold the "R" key. You'll see what I mean. https://scratch.mit.edu/projects/913489170/ (For context, here's how the movement felt before: https://scratch.mit.edu/projects/911754590/) But anyways, I wanted to show you because maybe this could be a good idea to implement into the actual game? The controls feel a lot smoother, but it's very subtle. I definitely want your thoughts, because while this was easy to implement in the MVP, it might be harder in Unity since I didn't have to code the player's sprite lagging behind the hitbox. That's just a quirky scratch thing that happened to work well here.

CoolCoderMan281 commented 10 months ago

I tested it out just now and I think it's actually a really good idea. If you don't mind, would you tag all of your other issues with a priority so I know which ones are most important to do first.

cellaneza commented 10 months ago

You got it!

On Thu, Oct 26, 2023 at 7:09 AM CoolCoderMan281 @.***> wrote:

I tested it out just now and I think it's actually a really good idea. If you don't mind, would you tag all of your other issues with a priority so I know which ones are most important to do first.

— Reply to this email directly, view it on GitHub https://github.com/CoolCoderMan281/God-of-Food/issues/8#issuecomment-1781210040, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5QKFDUPGTFUZM4N6H6FJDLYBJVKBAVCNFSM6AAAAAA6QLHNTCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBRGIYTAMBUGA . You are receiving this because you authored the thread.Message ID: @.***>

CoolCoderMan281 commented 10 months ago

If you suggest a different delay, or feel the hitbox should be changed, create a new issue