absolllute / Mega-Hack-Pro-Future

Mega Hack Pro Suggestion & Issue Tracker
41 stars 5 forks source link

run comparison #1115

Open eckshton opened 1 year ago

eckshton commented 1 year ago

it'd be cool if you could compare your run against a completion and see how many frames off each of your inputs is. either it would compare against a botted run or it would build a profile of the level as you play, logging inputs and compare against that. not sure how the trajectory thing works, but it might also be able to use that. would be cool. fyi its live, in the top corner, updates on each input.

CoderQCYT commented 1 year ago

The reason Show Trajectory takes away performance I think is something called Trignometry. They take many more clock cycles than normal math but allow for stuff like movement based on direction. Combined with the checks it does and rendering, this takes a lot of power.

Brittank88 commented 1 year ago

The reason Show Trajectory takes away performance I think is something called Trignometry. They take many more clock cycles than normal math but allow for stuff like movement based on direction. Combined with the checks it does and rendering, this takes a lot of power.

It's less about specifically the use of trigonometric functions, and more about having to run a simulation of where the player goes from the point that you're actually at. This involves running all the physics calculations I'm pretty sure.

Brittank88 commented 1 year ago

In terms of OP's idea, I think this is pretty cool. Deviance statistics between runs would be nice.

CoderQCYT commented 1 year ago

The reason Show Trajectory takes away performance I think is something called Trignometry. They take many more clock cycles than normal math but allow for stuff like movement based on direction. Combined with the checks it does and rendering, this takes a lot of power.

It's less about specifically the use of trigonometric functions, and more about having to run a simulation of where the player goes from the point that you're actually at. This involves running all the physics calculations I'm pretty sure.

Ahh ok, I don't know how Show Trajectotry works. Also what does the performance mode do?

NewAlexGamer commented 1 year ago

less accurate, less resource heavy

eckshton commented 1 year ago

yeah i dont know anything about show trajectory thats why i was thinking a brute force method like logging clicks could work instead. maybe even have both available but swap between the two