Omnimaga
Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Cinaed666 on February 05, 2010, 11:53:25 am
-
Hey guys, I haven't been on here for a while, but I thought I'd share this program I made today.
It's basicly a guitar hero clone for the TI-84+
It generates random notes, a little big buggy perhaps. ah well.
Use keys F1 - F4 to play.
To play, run GH. Oh, and please do look at my horrible coding. ;)
UPDATE:
* Cleaned up some code
* Easy/medium/hard selection (speed).
* Uploaded in ZIP
ANOTHER UPDATE (FINAL)
*Highscore
*No more doubles
*Pause function (f5)
It's pretty slow, since I made an error I couldn't find, so I had to patch it up with some slow code.
So even hard is pretty slow. Ah well, HAve fun ;)
Sorry it's 3 files, I just like to keep it modular.
-
Heya welcome back, where did you go? D:
I will try this when I get a chance
-
Heya welcome back, where did you go? D:
I will try this when I get a chance
Guess I got out of TI programming for a while, but somebody challenged me to do this, so I did ^^
-
Aaaw that sucks :( but I guess it can't really be as interesting for everyone, not to mention programming can be quite a challenge by itself (and requires motivation)
-
Aaaw that sucks :( but I guess it can't really be as interesting for everyone, not to mention programming can be quite a challenge by itself (and requires motivation)
I think I was kinda annoyed by the fact my TI is one batch too young to be able to play the GB emulator xD
-
Aaah I see, altough you can still do some other cool stuff on it ^^
-
I tried to try it, but I couldn't as it's not in the .8xp format. Can you upload it just as a program please? I can't wait to try it. Welcome back! :D
-
I tried to try it, but I couldn't as it's not in the .8xp format. Can you upload it just as a program please? I can't wait to try it. Welcome back! :D
It's an archive, this file contains two files, GH.8xp and ppop.8xp, you need winrar or 7zip to extract it.
-
Try to upload in .zip so everybody can use them. Also, zip is all you really need for such small files.
-
I tried altough I sucked pretty bad XD
Not too bad, altough it could probably use some optimization for speed, but everyone has to start somewhere. I hope you continue coding
-
I tried altough I sucked pretty bad XD
Not too bad, altough it could probably use some optimization for speed, but everyone has to start somewhere. I hope you continue coding
Hah, lol.
With optimization, you mean like a setting for the speed?
Did that now ;)
-
Wow, looks nice. I'd really like it uploaded in a .zip format, as then I could try it. :)
This is a pretty nice first attempt. Great job!
-
Wow, looks nice. I'd really like it uploaded in a .zip format, as then I could try it. :)
This is a pretty nice first attempt. Great job!
Check the file, I already re-uploaded it in a zip version ;)
-
Looks great! The only thing I don't like is the multiple notes at once. Since this is Pure Basic, you cannot have two keys pressed at the same time. Due to this fact, you can't hit both notes, so it's impossible to hit two notes at once. :)
-
I tried altough I sucked pretty bad XD
Not too bad, altough it could probably use some optimization for speed, but everyone has to start somewhere. I hope you continue coding
Hah, lol.
With optimization, you mean like a setting for the speed?
Did that now ;)
Well I meant like to optimize the code so it runs a bit faster, because looking at the game, I am certain it would be possible to have it run at least 1.5x faster (4x if the notes are pregenerated before song starts and stored in a list, altough that takes a long while to load). However it's a start and I am happy you got back in calc programming again ^^
-
I tried altough I sucked pretty bad XD
Not too bad, altough it could probably use some optimization for speed, but everyone has to start somewhere. I hope you continue coding
Hah, lol.
With optimization, you mean like a setting for the speed?
Did that now ;)
Well I meant like to optimize the code so it runs a bit faster, because looking at the game, I am certain it would be possible to have it run at least 1.5x faster (4x if the notes are pregenerated before song starts and stored in a list, altough that takes a long while to load). However it's a start and I am happy you got back in calc programming again ^^
Any hints on what parts slow it down the most?
-
Just to let you know, I'm rewriting a large part of it, new features when finished:
Pause Function (done)
Pre-rendered, random notes, without any doubles. (done)
Implementing new note system in engine: nearly done.
-
I will probably check the code later, totally missed the previous post lol. I can't guarantee the best optimizations, though, but I'll see what I can do x.x
If you're using random songs simfiles, I am pretty sure the Rand or RandInt( function might be at fault.
Otherwise, an idea I would have is that you check through xLIB xLIB Revolution or Super Mario Smash Dance code for how I did my rhythm games engines. They are not GH games, they're DDR-style, and uses xLIB (or Celtic III) for displaying graphics, but it might give a small idea and hopefully help. Just assume everything that is real(1 is Output( and real(4 is Disp "". Also my levels were pre-rendered and external and only 3 are avaliable so that part might be a bit different.
EDIT: screenshot of it in action (altough you need to use a browser tha supports higher than 10 frames a second in animated GIFs, like Firefox or Opera, or Quicktime Player)
(http://xlib.mtv-music-generator.com/xxr.gif)
But nice to see new version coming up, though :)
EDIT: Also if in any case it can be made faster, I would recommend still keeping it a lil slow for begginers, though, lol :D
-
Also if in any case it can be made faster, I would recommend still keeping it a lil slow for begginers, though, lol :D
[/quote]
Well the version up now has an easy/medium/hard mode, which changes the speed, just a short pauze every sequence I implemented which can be adjusted.
-
Final version is up, working on something new now.
-
sorry didn't have time to check if I could optimize, and I am afraid I doubt I will have time soon :(
I might check the new version later, though, if I don't forget due to being sidetracked by other stuff again
-
It looks nice. Good job! :)