Homebrew FretFury

Musturd

Well-Known Member
Newcomer
Joined
Aug 18, 2008
Messages
54
Trophies
0
Website
Visit site
XP
27
Country
United States
I decided that it would be easier and less work to just make the .chart reading rather than making it read embedded songs.
But I need the help of someone who is really good at math and knows calculus or linear algebra or something that I don't know yet.

My knowledge is algebra 2, no pre-calculus yet.(and geometry which doesn't matter for programming).
 

Musturd

Well-Known Member
Newcomer
Joined
Aug 18, 2008
Messages
54
Trophies
0
Website
Visit site
XP
27
Country
United States
GRR my math was wrong
mad.gif


Say BPM = 120
Beats per 1 VBlank = 0.0334 * 120
Beats per 30 VBlanks = 1.002 * 120

OK that makes more sense and is still not hard to implement!
yaynds.gif
yaynds.gif
yaynds.gif
yaynds.gif


EDIT: NO IT DOESNT MAKE SENSE
hate2.gif
 

alex

Well-Known Member
OP
Member
Joined
Jul 1, 2008
Messages
1,655
Trophies
0
Age
28
Website
Visit site
XP
249
Country
United States
Musturd said:
GRR my math was wrong
mad.gif


Say BPM = 120
Beats per 1 VBlank = 0.0334 * 120
Beats per 30 VBlanks = 1.002 * 120

OK that makes more sense and is still not hard to implement!
yaynds.gif
yaynds.gif
yaynds.gif
yaynds.gif


EDIT: NO IT DOESNT MAKE SENSE
hate2.gif
lol stop double posting xD

You should ask someone who will help
 

Musturd

Well-Known Member
Newcomer
Joined
Aug 18, 2008
Messages
54
Trophies
0
Website
Visit site
XP
27
Country
United States
Trying again

BPM = 120
1,002,000 VBlanks = 1 minute

120 * x = 1,002,000
x = 8350

8350 VBlanks per Beat???

EDIT: I'll edit for ya, Alex. I just had an epiphany
yaynds.gif
. As soon as someone on gbadev.org verifies this I will get the frets to move at a different speed based on the BPM of the song!
yaynds.gif
yaynds.gif

I am VERY happy.
bow.gif
bow.gif
bow.gif
 

alex

Well-Known Member
OP
Member
Joined
Jul 1, 2008
Messages
1,655
Trophies
0
Age
28
Website
Visit site
XP
249
Country
United States
Musturd said:
Trying again

BPM = 120
1,002,000 VBlanks = 1 minute

120 * x = 1,002,000
x = 8350

8350 VBlanks per Beat???
Wow dude, I don't even know what the FUCK you are talking about but...
yaynds.gif

tongue.gif
High school stuff, bleh...
tongue.gif
 

ShakeBunny

Well-Known Member
Member
Joined
Jul 11, 2008
Messages
316
Trophies
0
Location
Nope
XP
228
Country
United States
I have got Algebra, Algebra 2, Statistics, Math Analysis, and Trigonometry under my belt (I'm going to make games for a living). I can help you, but it will have to be later. I have to sleep now, so that I'm not tired for work.
 

alex

Well-Known Member
OP
Member
Joined
Jul 1, 2008
Messages
1,655
Trophies
0
Age
28
Website
Visit site
XP
249
Country
United States
Musturd said:
Trying again

BPM = 120
1,002,000 VBlanks = 1 minute

120 * x = 1,002,000
x = 8350

8350 VBlanks per Beat???

EDIT: I'll edit for ya, Alex. I just had an epiphany
yaynds.gif
. As soon as someone on gbadev.org verifies this I will get the frets to move at a different speed based on the BPM of the song!
yaynds.gif
yaynds.gif

I am VERY happy.
bow.gif
bow.gif
bow.gif
bow.gif
to you too!
bow.gif

yaynds.gif
Now you just have to get it to read the offsets in the .chart file. Or .txt file, it doesn't matter.
biggrin.gif
biggrin.gif
biggrin.gif
:
biggrin.gif
biggrin.gif
biggrin.gif
yaynds.gif


So have you got the note reading figured out?
 

Musturd

Well-Known Member
Newcomer
Joined
Aug 18, 2008
Messages
54
Trophies
0
Website
Visit site
XP
27
Country
United States
OK, if it still isn't verified by the time you have the time to do it. Please do.

I'm thinking of doing something a little different from Guitar Hero, but in my opinion is better. When the BPM is high in Guitar Hero the lines are close together and when the BPM is low the lines are farther apart. I want to speed up or slow down the frets based on the BPM, which I think is more realistic (and potentially more fun). Maybe GH3 did what I am attempting to do and I am just thinking that GH2 did the line distance variation.

First I have to convert my thoughts into C code
wacko.gif
. Then the offsets and others.
I already have the correct thoughts to do note reading that is easy. It's the conversion to C code which is hard
yaynds.gif
.
 

Musturd

Well-Known Member
Newcomer
Joined
Aug 18, 2008
Messages
54
Trophies
0
Website
Visit site
XP
27
Country
United States
Sorry for double post, but I edited too many times.
I am thinking of actually reusing some of wazmo's hitCheck code. Maybe tweaked a little for my OCD of programming organization (which isn't actually a bad OCD).
 
P

pasc

Guest
I think vblank is a measurement for .... waitscreens in programing language ? lol I wonder if people will quote me for this overly stupid answer
tongue.gif


lol forget is, this is vblank.
 

Musturd

Well-Known Member
Newcomer
Joined
Aug 18, 2008
Messages
54
Trophies
0
Website
Visit site
XP
27
Country
United States
pasc said:
I think vblank is a measurement for .... waitscreens in programing language ? lol I wonder if people will quote me for this overly stupid answer
tongue.gif

Basically the vblank is the period of time where (something about drawing pixels to the screen) happens. (sorry for not knowing exact). Basically it is used mainly for making sure that images don't get messy when they are drawn on the screen. But tepples at gbadev pointed out to me that the time between each VBlank is 16.7 ms.

I needed a very exact timer, and the vblanking is the highest precision timer I can get.
Time for a halo 3 and movie brake. I will continue working on this later tonight.
 

Moonlite

Well-Known Member
Member
Joined
Jul 29, 2008
Messages
118
Trophies
0
XP
34
Country
Canada
hey i made another and better fret fury grip and i took some pictures with my grip and the other fret fury

ghotskinfrobv2.jpg
whiesidehk7.jpg
redsidexm1.jpg
redanglefi7.jpg


also im almost done battle hymn charting so itll be up tommorow
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: @AncientBoi, Dont forget your meds.