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
This commit is contained in:
@@ -75,7 +75,7 @@ function onCountdown(event) {
|
||||
};
|
||||
}
|
||||
|
||||
function onPlayerHit(event:NoteHitEvent) {
|
||||
function onRatingsShown(event:RatingsShowEvent) {
|
||||
if (!enablePixelUI) return;
|
||||
event.ratingPrefix = "stages/school/ui/";
|
||||
event.ratingScale = daPixelZoom * 0.7;
|
||||
|
||||
Reference in New Issue
Block a user