Desperate Need of HELP!

Posted By: xbox

Desperate Need of HELP! - 01/26/08 19:43

I am trying to make a similar game to guitar hero. I have the X-plorer Guitar hooked up and i have the fret buttons and strum bar all mapped out. I am now trying to make the notes come down my fretboard by a path. When I placed the path, set the note to "patrol_path", built and ran the level, the note just turned 90 degrees clockwise. I don't understand why this is happening. I would really apreciate any help I can get. Thanks in advance.
Posted By: xbox

Re: Desperate Need of HELP! - 01/27/08 03:40

Thats okay people, I finally figured it out. I couldn't use paths for some odd reason. I mean, I've done it before but, oh well. I had to use the script from the help.chm file. "action moveme". Now All I have to do is get the collision detection in and the songs, menu, score, and background. Shouldn't be to hard. If any one wants to help please let me know and I might have something to do for you but DON'T GET MAD IF I SAY NO. Thanks again. Oh and if you want screenshots, just let me know and I will post some. And by the way YOU WILL NOT BE PAID AT ALL.
Posted By: xXxGuitar511

Re: Desperate Need of HELP! - 01/27/08 19:11

...instead of using paths, you could have simply moved the entity...

Code:

ACTION Button
{
while(my)
{
// change 10 to the speed
my.x -= 10*time_step;
//
wait(1);
}
}


Posted By: xbox

Re: Desperate Need of HELP! - 01/28/08 23:26

Thank you it works now. My fret buttons that light up are just simply panels. So i added block s on the fretboard so that when the note s come down, they hit each other. My problem is, i don't know if it possible to basically tie the panels with the blocks so that when you press the green fret (or what ever fret) and the strum bar, the block that corrisponds with the fret pressed, the block will become un passable and enable impact with the note allowing you to "hit" the note. Basically my code looks similar to this. (keep in mind i am a definate noob at programming)

action green_block
{
MY.PASSABLE = ON;
MY.ENABLE_IMPACT = ON;
MY.EVENT = collide();
}

function collide()
{
if (joy_1 == on && key_cud == on && event_type == event_impact)
{
MY.PASSABLE = OFF;
beep();
}
}
© 2023 lite-C Forums