Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onCreatePost()
- {
- // mimi and req note alpha is handled in 'thezoomisfuckinwme.lua'
- // comment out the onUpdatePost code to make them fully opaque
- for (i in 0 ... game.unspawnNotes.length) {
- var note:Note = game.unspawnNotes[i];
- switch (note.noteType) {
- case 'mimi':
- // mimi
- note.rgbShader.r = 0xFFc24b69;
- note.rgbShader.b = 0xFF561f4f;
- case 'GF Sing':
- // req
- note.rgbShader.r = 0xFFc2984b;
- note.rgbShader.b = 0xFF56221f;
- default:
- if (note.mustPress) {
- // bf
- note.rgbShader.r = 0xFF4b90c2;
- note.rgbShader.b = 0xFF1f2356;
- }
- else {
- // kevin
- note.rgbShader.r = 0xFF834bc2;
- note.rgbShader.b = 0xFF22173d;
- }
- }
- note.rgbShader.g = 0xFFFFFFFF;
- }
- }
- function opponentNoteHit(note:Note)
- {
- changeStrumColour(game.opponentStrums.members[note.noteData], note);
- }
- function goodNoteHit(note:Note)
- {
- changeStrumColour(game.playerStrums.members[note.noteData], note);
- }
- function changeStrumColour(strum:StrumNote, note:Note)
- {
- strum.rgbShader.r = note.rgbShader.r;
- strum.rgbShader.g = note.rgbShader.g;
- strum.rgbShader.b = note.rgbShader.b;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement