Author Topic: [Axe] KoFiX (yet another Guitar Hero clone :P)  (Read 18283 times)

0 Members and 1 Guest are viewing this topic.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
[Axe] KoFiX (yet another Guitar Hero clone :P)
« on: August 18, 2012, 07:21:14 am »
First of all, don't expect too much from this project, I only made this because I got bored (when waiting for Jacobly's map generator for TinyCraft :P) so I may or may not make a real game from it.
In fact, the note-displaying engine was made a long time ago but I was too lazy to make it display several notes at a time, so I forgot all of what I made. Then Samos on TI-Planet asked some help with his Guitar Hero clone and it reminded me of KoFiX.

So, why is it called KoFiX ? Because of FoFiX, the free Guitar Hero clone one computer. FoFiX is very flexible, allowing you to create your own musics to play with the game, or change the theme of the game, etc, while Guitar Hero is all done with nothing really modifiable. KoFiX (if one day finished) will at least allow you to create your own musics to play with the game beacuse I am too lazy to make songs myself :P

For now, it only displays notes (up to three at the same time), there is no way to play them nor hear any sound :P
And concerning sound, it is not a priority, I'd first want to make it at a decent speed for regular 83+ then I may add Full speed and sound.

Now what does it look like ? Compare the real Guitar Hero and KoFiX on Monsters by Matchbook Romance ;)


(also, the demo download ↓)
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline kindermoumoute

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 836
  • Rating: +54/-3
    • View Profile
Re: [Axe] KoFiX (yet another Guitar Hero clone :P)
« Reply #1 on: August 18, 2012, 05:08:40 pm »
Pretty cool. :D
Projects :

Worms armageddon z80 :
- smoothscrolling Pixelmapping : 100%
- Map editor : 80%
- Game System : 0%

Tutoriel français sur l'Axe Parser
- 1ère partie : en ligne.
- 2ème partie : en ligne.
- 3ème partie : en ligne.
- 4ème partie : 10%
- Annexe : 100%

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: [Axe] KoFiX (yet another Guitar Hero clone :P)
« Reply #2 on: August 19, 2012, 05:48:26 am »
Pretty cool. :D
Thanks :D
There is also a major problem with this project: If the notes go too slow, the game is not entertaining, but if they go too fast, the bluriness makes the game impossible to play. I tried inverting the screen and it is already better :)
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: [Axe] KoFiX (yet another Guitar Hero clone :P)
« Reply #3 on: August 19, 2012, 12:10:30 pm »
(double post with an update)

Update, now with a black neck (and some stupid effects when drawing the neck :P)
(↓ executable if anyone is interested)

Also, I don't know why but it is slower on Wabbit than on real calc ???
« Last Edit: August 19, 2012, 12:11:21 pm by Hayleia »
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: [Axe] KoFiX (yet another Guitar Hero clone :P)
« Reply #4 on: August 21, 2012, 05:41:13 am »
I don't know how I should do key detection, so I made a poll. I describe the choices here:


Autostrumming:
This means that as long as your fingers are on the right frets when the note hits the bottom of the screen, you have the point. Which means that if you have a sequel of identical notes, you just need to keep the frets down to have them all. This also means that if you press a fret for no reason, that doesn't remove points, only missing a note will remove points.
Easy to code and to play.

Strumming required:
This means that to get a note, you have to keep the frets down and press the strum key. So to make a sequel of identical notes, you just keep the frets down for the whole combo and press the strum key each time a note hits the bottom of the screen. This is the solution that looks more like Guitar Hero than the other solutions. However, this may not be easy to play on a calculator (there would not be problems if we could plug the guitar controller in the calc but it is not very possible).
Easy to code, may be not easy to play on a calculator

Option "Strumming: Auto/Manual":
Basically, this is if you don't want to vote the last one and can't choose between the first two ones :P
This means that the menu will include an option to let you choose between the first Autostrumming and required strumming.
Still quite easy to code and playable

Tap Tap style:
This one is the worst choice I guess. That means that you have to press frets when the note hits the bottom, and only at this moment or you'll lose points. But that also means that when you have a sequel of identical notes, you have to whack the keys each time a note reaches the bottom. This is the most logical way to play but not the easiest way to play at all (when there are sequels of 3 notes chords) nor the easiest way to code.


Now that you know everything, please vote, even if you don't plan on playing the game because I really don't know what to do :(
« Last Edit: August 21, 2012, 09:52:38 am by Hayleia »
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: [Axe] KoFiX (yet another Guitar Hero clone :P)
« Reply #5 on: August 21, 2012, 10:24:33 am »
Requiring strumming seems like it wouldn't work very well, especially when playing at quicker speeds (such as the chorus of the Monsters gif you posted) since alt-strumming like on a real guitar controller isn't possible.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: [Axe] KoFiX (yet another Guitar Hero clone :P)
« Reply #6 on: August 21, 2012, 11:28:14 am »
Sorry, I am French, what do you mean by "alt-strumming" ?
Do you mean "strumming at high speeds" ?
Or "strumming in alternatively upwards and downwards" ?

But yeah, that is what I thought. The problem is not even alt-strumming but also how to take the calcs in hands to press frets and strum ? ???
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: [Axe] KoFiX (yet another Guitar Hero clone :P)
« Reply #7 on: August 21, 2012, 11:42:39 am »
Or "strumming in alternatively upwards and downwards" ?
This.
But yeah, that is what I thought. The problem is not even alt-strumming but also how to take the calcs in hands to press frets and strum ? ???
Yeah, that could also be tricky. I just imagined that the strum button would be pressed like a normal calc button instead of holding it like a guitar (controller).

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: [Axe] KoFiX (yet another Guitar Hero clone :P)
« Reply #8 on: August 21, 2012, 12:39:22 pm »
You can just put the calc on a table or your knees :)

And personally I haven't any problem on pressing [enter] or [clear] at a high speed level (I think that [clear] can be a good strum).

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: [Axe] KoFiX (yet another Guitar Hero clone :P)
« Reply #9 on: August 21, 2012, 02:20:09 pm »
Or "strumming in alternatively upwards and downwards" ?
This.
I could put two mediator keys so you can strum alternatively with two fingers, maybe ?

But yeah, that is what I thought. The problem is not even alt-strumming but also how to take the calcs in hands to press frets and strum ? ???
Yeah, that could also be tricky. I just imagined that the strum button would be pressed like a normal calc button instead of holding it like a guitar (controller).
For now, I've put F1 to F5 as frets and Enter as strum so it is impossible to hold it as a guitar.

You can just put the calc on a table or your knees :)

And personally I haven't any problem on pressing [enter] or [clear] at a high speed level (I think that [clear] can be a good strum).
You won't say that when there will be One from Metallica :P

So, here is a test version, in attachement. I compiled it as an app for two reasons:
 - It needs a lot of RAM to uncompress data to run fast enough to be playable
 - In the end, when the editor will be here, I guess it will not be far from 16384 bytes

I mentionned uncompressing data ;)
In fact, to put the beginning of Monsters in it, here is what I wrote, in the spoiler:
Spoiler For Spoiler:
---O-
 -----
 -----
 O----
 -----
 -----
 --O--
 -----
 -----
 O----
 -----
 -----
 ---O-
 -----
 -----
 O----
 -----
 -----
 --O--
 -----
 -----
 O----
 -----
 -----
 ---O-
 -----
 -----
 O----
 -----
 -----
 --O--
 -----
 -----
 O----
 -----
 -----
 -O---
 -----
 -----
 --O--
 -----
 -----
 ---O-
 -----
 -----
 ---O-
 ----O
 -----
 ---O-
 -----
 -----
 O----
 -----
 -----
 --O--
 -----
 -----
 O----
 -----
 -----
 ---O-
 -----
 -----
 O----
 -----
 -----
 --O--
 -----
 -----
 O----
 -----
 -----
 ---O-
 -----
 -----
 O----
 -----
 -----
 --O--
 -----
 -----
 O----
 -----
 -----
 -O---
 -----
 -----
 --O--
 -----
 -----
 ---O-
 -----
 -----
 ---O-
 ----O
 -----
 ---O-
 -----
 -----
 O----
 -----
 -----
 --O--
 -----
 -----
 O----
 -----
 -----
 ---O-
 -----
 -----
 O----
 -----
 -----
 --O--
 -----
 -----
 O----
 -----
 -----
 ----O
 -----
 -----
 O----
 -----
 -----
 ---O-
 -----
 -----
 O----
 -----
 -----
 ----O
 -----
 -----
 O----
 -----
 -----
 ---O-
 -----
 -----
 O----
 -----
 -----
 ----O
 -----
 -----
 O----
 -----
 -----
 --O--
 -----
 -----
 O----
 -----
 -----
 ----O
 -----
 -----
 O----
 -----
 -----
 --O--
 -----
 -----
 O----
 -----
 -----
 ---O-
 -----
 -----
 O----
 -----
 -----
 -O---
 -----
 -----
 O----
 -----
 -----
 ---O-
 -----
 -----
 O----
 -----
 -----
 --OO-
 --OO-
 --OO-
 --OO-
 O-OO-
 -----
 -----
 O-OO-
 -----
 -----
 O-OO-
 O-OO-
 O-OO-
 O-OO-
 O-OO-
 -----
 -----
 -O-O-
 -----
 -----
 --OO-
 -----
 -----
 --OO-
 --OO-
 -OOO-
 -OOO-
 -OOO-
 -----
 -----
 -OOO-
 -----
 -----
 -OOO-
 -----
 -----
 -OOO-
 -----
 -----
 --O-O
 -----
 -----
 --O-O
 -----
 -----
 ---OO
 ---OO
 -O-OO
 -----
 -----
 -O-OO
 -----
 -----
 -O-OO
 -O-OO
 -O-OO
 -O-OO
 -O-OO
 -----
 -----
 O-OO-
 -----
 -----
 OOO--
 -----
 -----
 O-OO-
 -----
 -----
 -----
 -----
 -----
 O-O--
 O-O--
 O-O--
 -----
 -----
 -O-O-
 -----
 -----
 -O--O
 -----
 -----
 -O--O
 -O--O
 -O--O
 -O--O
 -O-O-
 -OO--
 -O-O-
 -----
 -----
 O--O-
 -----
 -----
 O-O--
 -----
 -----
 O-O--
 O-O--
 O-O--
 -----
 -----
 O--O-
 -----
 -----
 -O-O-
 -O-O-
 -O-O-
 -O-O-
 -O-O-
 -----
 -----
 -O-O-
 -----
 -----
 -O-O-
 -O-O-
 -O-O-
 -O-O-
 -O-O-
 -----
 -----
 -O-O-
 -----
 -----
 -O-O-
 -O-O-
 -O-O-
 -O-O-
 O-OO-
 -----
 -----
 O-OO-
 -----
 -----
 O-OO-
 O-OO-
 O-OO-
 O-OO-
 O-OO-
 -----
 -----
 -O-O-
 -----
 -----
 --OO-
 -----
 -----
 --OO-
 --OO-
 -OOO-
 -OOO-
 -OOO-
 -----
 -----
 -OOO-
 -----
 -----
 -OOO-
 -----
 -----
 -OOO-
 -----
 -----
 --O-O
 -----
 -----
 --O-O
 -----
 -----
 ---OO
 ---OO
 -O-OO
 -----
 -----
 -O-OO
 -----
 -----
 -O-OO
 -O-OO
 -O-OO
 -O-OO
 -O-OO
 -----
 -----
 O-OO-
 -----
 -----
 OOO--
 -----
 -----
 O-OO-
 -----
 -----
 -----
 -----
 -----
 O-O--
 O-O--
 O-O--
 -----
 -----
 -O-O-
 -----
 -----
 -O--O
 -----
 -----
 -O--O
 -O--O
 -O--O
 -O--O
 -O-O-
 -OO--
 -O-O-
 -----
 -----
 O--O-
 -----
 -----
 O-O--
 -----
 -----
 O-O--
 O-O--
 O-O--
 -----
 -----
 O--O-
 -----
 -----
 -O-O-
 -O-O-
 -O-O-
 -O-O-
 -O-O-
 -----
 -----
 -O-O-
 -----
 -----
 -O-O-
 -O-O-
 -O-O-
 -O-O-
 -O-O-
 -----
 -----
 -O-O-
 -----
 -----
 -O-O-
 -O-O-
 -O-O-
 -O-O-
Then, using NotePad, I just replaced the space of the beginning of each line by a "Data(pi", all the "-" became "0" and "O" became "1". This makes song creating very easy :D
You can try to make songs already, if you don't want to wait for the editor ^^

edit: Also, the number in the top left corner is:
(number of notes you managed to get)-(number of overstrumming)
The notes you miss still don't appear in the calculation of the score.
« Last Edit: August 22, 2012, 03:23:34 am by Hayleia »
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: [Axe] KoFiX (yet another Guitar Hero clone :P)
« Reply #10 on: August 23, 2012, 03:41:19 am »
UPDATE
- Now score is calculated like this:
(notes you got)-3*(notes you missed+overstrummed)
Note that the score starts at zero, which is not a good idea :P
- Added the support for notes that don't need to be strummed.
Beware, it was coded GH III-style, not like in next versions. Which means that the note will be counted as good if you are holding the right key when it reaches the bottom, even if you started to press that key 10 seconds ago. So don't release the key too soon ;)
(and don't try to hammer-on/pull-off, that won't work, you need to be holding only the right key :P)

Here is what they look like



Also, I got an idea, thinking about Guitar Hero on a DS :D
What about this keymap (in spoiler) ?
The problems I see is that keys are not aligned on a 84+ and that there might be problems with the ON key :(
The ON key is getKey(41) but is it a real getKey() or a special command "getKey(41)" ? I must try (moreover, zTrumpet's KEYGROUP program doesn't allow me to test the ON key)
Spoiler For Spoiler:
I don't know if this is doable but I think that could be a way of playing that looks more like the real Guitar Hero :)

Also, as usual, the download is below, with a screenshot of me sucking at my own game (I found an excuse: my keyboard doesn't support 4 keys at the same time :P)
« Last Edit: August 23, 2012, 03:48:53 am by Hayleia »
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Matrefeytontias

  • Axe roxxor (kinda)
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1982
  • Rating: +310/-12
  • Axe roxxor
    • View Profile
    • RMV Pixel Engineers
Re: [Axe] KoFiX (yet another Guitar Hero clone :P)
« Reply #11 on: August 23, 2012, 04:58:56 am »
I tried it, it's really not bad :thumbsup:

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: [Axe] KoFiX (yet another Guitar Hero clone :P)
« Reply #12 on: August 23, 2012, 06:53:14 am »
UPDATE
Now with a shiny File browser :D
You can see I tested it with appvars with random names :P
There is just one bug with this, there are two appvars named Ft\uc that appears sometimes ???
Thanks to Matrefeytontias for the appvar repertoring through the VAT ^^
This also means that you need songs in your archive to play it, not only the App, so if you want to test it, you might want to download the appvar Monsters too ^^

And don't worry Matref, I don't use the same header as yours. Mine is "KoFiXsong" :P
And you'll have credits when the credits section is done (but I first need a main menu :P)

Also, I started to implement the keymap I said but the screen is not inverted yet. For now, the keys On, 0, . , (-) and Enter are from left to right, but soon they will be from right to left (with inverted) ;)
« Last Edit: August 24, 2012, 02:57:59 pm by Hayleia »
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: [Axe] KoFiX (yet another Guitar Hero clone :P)
« Reply #13 on: August 24, 2012, 03:02:28 pm »
um, UPDATE :P
In fact I pressed the Modify button instead of the Reply button, so the previous post is in fact the new one, and a post disappeared :P
So for more info about the update, read the previous post :P
« Last Edit: August 24, 2012, 03:02:51 pm by Hayleia »
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: [Axe] KoFiX (yet another Guitar Hero clone :P)
« Reply #14 on: August 24, 2012, 03:12:54 pm »
so how did you make the appvar browser? :D
Sig wipe!