Author Topic: TI-Hero  (Read 9068 times)

0 Members and 1 Guest are viewing this topic.

Offline Cinaed666

  • LV2 Member (Next: 40)
  • **
  • Posts: 22
  • Rating: +2/-0
  • All your base are belong to us.
    • View Profile
Re: TI-Hero
« Reply #15 on: February 07, 2010, 06:25:32 am »
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?

Offline Cinaed666

  • LV2 Member (Next: 40)
  • **
  • Posts: 22
  • Rating: +2/-0
  • All your base are belong to us.
    • View Profile
Re: TI-Hero
« Reply #16 on: February 09, 2010, 01:32:03 pm »
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.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: TI-Hero
« Reply #17 on: February 09, 2010, 01:34:45 pm »
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)


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
« Last Edit: February 09, 2010, 01:43:05 pm by DJ Omnimaga »

Offline Cinaed666

  • LV2 Member (Next: 40)
  • **
  • Posts: 22
  • Rating: +2/-0
  • All your base are belong to us.
    • View Profile
Re: TI-Hero
« Reply #18 on: February 09, 2010, 05:37:54 pm »
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.

Offline Cinaed666

  • LV2 Member (Next: 40)
  • **
  • Posts: 22
  • Rating: +2/-0
  • All your base are belong to us.
    • View Profile
Re: TI-Hero
« Reply #19 on: February 12, 2010, 11:38:28 am »
Final version is up, working on something new now.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: TI-Hero
« Reply #20 on: February 12, 2010, 04:36:53 pm »
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

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: TI-Hero
« Reply #21 on: February 12, 2010, 04:56:05 pm »
It looks nice.  Good job! :)