Files
CodenameEngine/source/funkin/backend/scripting/events
pharaotisRealandGitHub a485080c27 Ratings event addition to the engine (#1015)
* Update PlayState.hx

Implemented RatingsShowEvent

* Add files via upload

* Update pixel.hx

Update because of ratings commits

* Update PlayState.hx

put the flxpoints after they're used, forgot to use event.tweenDuration in displayRatingNumbers

* Update PlayState.hx

oops

* Update PlayState.hx

I'm so not careful

* Update PlayState.hx

Commited NoteHitEvent checks for all display rating functions

* Update PlayState.hx

oops 2

* Update NoteHitEvent.hx

made the rating vars null class

* Update PlayState.hx

juust in case

* Update PlayState.hx

oops 3

* Update RatingsShowEvent.hx

Implemented a rating var which allows you to change the rating sprite.

* Update PlayState.hx

Implemented a rating var (In RatingsShowEvent) which allows you to change the rating sprite.

* Update PlayState.hx

now it should support displayRating/Combo being set from note hit event

* Update PlayState.hx

fixed a possibility where if the display bool was set to false or the event was cancelled, then it would still display the sprite as a haxeflixel logo
2026-06-28 09:31:59 +07:00
..
2025-08-09 00:31:45 +07:00
2024-08-31 20:21:00 +02:00

NOTE

Keep in mind that a certain criteria was used to place events in their corresponding folders which is simply what the events themselves are mostly related to.

For example:

  • GameOverEvent inside of the gameplay folder instead of the gameover folder since it gets called in the PlayState class (that owns the gameplay folder) instead of the GameOverSubstate class itself;
  • NoteHitEvent gets indeed called by the PlayState class but it's also used in the StrumLine (For those who didn't really know, Strumlines are the Input Notes) class and since the event's name itself starts with the word Note it was more accurate to place it in the note folder instead of the gameplay folder that PlayState owns.