<meta name='google-adsense-platform-account' content='ca-host-pub-1556223355139109'/> <meta name='google-adsense-platform-domain' content='blogspot.com'/> <!-- data-ad-client=ca-pub-6479355989670726 --> <!-- --><style type="text/css">@import url(https://www.blogger.com/static/v1/v-css/navbar/3334278262-classic.css); div.b-mobile {display:none;} </style> </head><body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d30948183\x26blogName\x3dPKWONG+is+not+PK+WONG\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://pkwong4321.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttp://pkwong4321.blogspot.com/\x26vt\x3d-4438911400025071329', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe", messageHandlersFilter: gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER, messageHandlers: { 'blogger-ping': function() {} } }); } }); </script>

(NDSDEV) Bms Player


starting to get tired of typing this topic :P

actually, i got a very simple grading system to work
but i think i need some help to tune it
if u dun mind to install the devkit
find me and i'll send u the source and i'll tell u how to edit...compile...etc

let's explain how the simple grading system works:
case 1: key is pressed
1. get the channel of the key pressed
2. find the closest note on that channel
3. apply this formula "offset = (PERFECT_POS-y-192)/speed"
4. for different offset, give different grade
5. depends on the note's position, delete the note to prevent double count

case 2: note hits the line
1. wait until y = PERFECT_POS + 10
2. delete the note
3. poor + 1

i need some help on defining the grade to give with different offsets
and when to delete the note.

if u are interested, please help~

btw, my attempt to play "L'amour et la liberte'" at hi-3 and 0.5 song speed
i swear that i played good, but still got 88poor + 55 bad
really need some tuning, but i'm not interested :P

posted by PKWONG @ Sunday, September 17, 2006
10:48 PM

0 Comments:

Post a Comment

<< Home


Google
 
Web pkwong4321.blogspot.com