Author Topic: So then...what sucks about Mysterious Song?  (Read 3852 times)

nodtveidt

  • Guest
Re: So then...what sucks about Mysterious Song?
« Reply #45 on: November 26, 2009, 11:17:13 PM »
Mysterious Song is actually 98% programmed in HuC. Tom added some kickass helper functions to library.asm that weren't in there originally, so they're unique to the game and I count them as the remaining code. :) Two of our platformer games are also coded in HuC, and our third may be as well. But anything new will be done exclusively in assembly.

Here's a couple of new screenshots. Black Tiger submitted some new battlefields, so they got put into the game after a few tweaks.


hcf

  • Jr. Member
  • **
  • Posts: 93
Re: So then...what sucks about Mysterious Song?
« Reply #46 on: November 27, 2009, 12:46:26 AM »
Wow, those screenshots are amazing!!  :D

Thanks for the info. It is encouraging to know that a big part of Mysterious Song is made in HuC. It is a proof that HuC is powerful indeed, and you can do lots of things with this compiler. Of course, I understand Tom's explanation too, because there will be parts of the game where optimization is mandatory, so it's necessary to use assembly there... and also to make some special effects, I guess.

nodtveidt

  • Guest
Re: So then...what sucks about Mysterious Song?
« Reply #47 on: November 27, 2009, 01:04:27 AM »
If MSR had been coded in assembly, it would likely have been a lot smaller. And actually, there are some things I would have done differently even if I were to start this from scratch. For example: the BRAM functions require a single, contiguous region of memory. MSR uses a lot of different arrays and variables. Therefore, it is necessary to put all the variables and arrays into one large array when saving, and to split up said large array when loading. That eats up a LOT of code space. Going back into the code and changing all of this would be a tremendous effort and would take at least two weeks' time in and of itself, so it's not really worth the trouble, plus it would set the beta testing back considerably. It would have been better to use a large char array for all the data from the start and implement a custom number system; would have saved a lot of code space I think. But of course, that was all done before BRAM access was even added, and by then, the code was already too far along to go back and modify. If HuC had struct support, it would have been a simple case of writing the struct to BRAM and that would be the end of it. But alas... :(

HuC is powerful, but it's knowing how to use it that's the trick. Array access, for example, is extremely slow, so arrays can be difficult to use for fast-paced action games, where arrays are normally required. What you do instead is get the pointer to the array (still slow, but only has to be done once) and use that for all references in the code. Saves a ton of time. And using globals is really a "must" because of HuC's slow stack method for function arguments; this defies "normal" logic for C coding, where globals are best used sparingly.

Tom

  • Guest
Re: So then...what sucks about Mysterious Song?
« Reply #48 on: November 27, 2009, 04:39:31 AM »
Wow, those screenshots are amazing!!  :D

Thanks for the info. It is encouraging to know that a big part of Mysterious Song is made in HuC. It is a proof that HuC is powerful indeed, and you can do lots of things with this compiler. Of course, I understand Tom's explanation too, because there will be parts of the game where optimization is mandatory, so it's necessary to use assembly there... and also to make some special effects, I guess.

 Despite the some of the big draw backs to huc, I actually like writing asm routines and other optimizations for it. If you need some help with something as such, let me know ;)

sunteam_paul

  • Hero Member
  • *****
  • Posts: 4732
Re: So then...what sucks about Mysterious Song?
« Reply #49 on: November 27, 2009, 04:40:57 AM »
Anyone else notice that the female character has the most masculine jawline?
The PC Engine Software Bible
Quote from: Tatsujin
I just felt in a hole!

nodtveidt

  • Guest
Re: So then...what sucks about Mysterious Song?
« Reply #50 on: November 27, 2009, 04:51:08 AM »
My wife isn't too partial to those profile pics...she says that they look like they're staring you down, as if to say "whatcha gonna do, huh? HUH?". I don't like her pic either, honestly...

sunteam_paul

  • Hero Member
  • *****
  • Posts: 4732
Re: So then...what sucks about Mysterious Song?
« Reply #51 on: November 27, 2009, 07:17:58 AM »
My wife isn't too partial to those profile pics...she says that they look like they're staring you down, as if to say "whatcha gonna do, huh? HUH?". I don't like her pic either, honestly...


There ya go, I've made everyone look a little less threatening. There is no charge.  :D

The PC Engine Software Bible
Quote from: Tatsujin
I just felt in a hole!

Necromancer

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 21366
Re: So then...what sucks about Mysterious Song?
« Reply #52 on: November 27, 2009, 07:24:23 AM »
There ya go, I've made everyone look a little less threatening. There is no charge.  :D

Frickin' awesome!  Tiger kinda looks like the bastard child of Pennywise and Ronald McDonald.  :lol:
U.S. Collection: 97% complete    155/159 titles

sunteam_paul

  • Hero Member
  • *****
  • Posts: 4732
Re: So then...what sucks about Mysterious Song?
« Reply #53 on: November 27, 2009, 07:31:14 AM »
Attacking that fairy almost seems cruel now. Perhaps they should tell jokes and make it laugh itself to death.
The PC Engine Software Bible
Quote from: Tatsujin
I just felt in a hole!

guyjin

  • Hero Member
  • *****
  • Posts: 3896
Re: So then...what sucks about Mysterious Song?
« Reply #54 on: November 27, 2009, 10:09:08 AM »
Anyone else notice that the female character has the most masculine jawline?

you're new at this Japanese RPG thing, aren't you? :wink:
"Fun is a strong word." - SNK
"Today, people do all kind of shit." - Tatsujin

nectarsis

  • Hero Member
  • *****
  • Posts: 3607
Re: So then...what sucks about Mysterious Song?
« Reply #55 on: November 27, 2009, 12:42:19 PM »
Anyone else notice that the female character has the most masculine jawline?

you're new at this Japanese RPG thing, aren't you? :wink:

 :-s :-s Seems you are...  :P
My Blogger profile with all my blogs of wonderment:<br><a href="http://www.blogger.com/profile/08066967226239965436" class="bbc_link" target="_blank">http://www.blogger.com/profile/08066967226239965436</a>

nodtveidt

  • Guest
Re: So then...what sucks about Mysterious Song?
« Reply #56 on: November 27, 2009, 10:55:27 PM »
Just a quick update here...MSR's EX Game development has been in full swing lately, and I've gotta say...it will drive the ordinary player to the brink of insanity. It will take someone with an iron will to complete it. Fans of Rogue should enjoy it though. :D

Arkhan

  • Hero Member
  • *****
  • Posts: 14142
  • Fuck Elmer.
    • Incessant Negativity Software
Re: So then...what sucks about Mysterious Song?
« Reply #57 on: November 28, 2009, 12:47:55 AM »
. Fans of Rogue should enjoy it though. :D

score.
[Fri 19:34]<nectarsis> been wanting to try that one for awhile now Ope
[Fri 19:33]<Opethian> l;ol huge dong

I'm a max level Forum Warrior.  I'm immortal.
If you're not ready to defend your claims, don't post em.

esteban

  • Hero Member
  • *****
  • Posts: 24063
Re: So then...what sucks about Mysterious Song?
« Reply #58 on: November 28, 2009, 07:51:01 AM »
This is pure genius:



I suggest these updated images be unlockable for the EX quest.

  |    | 

Joe Redifer

  • Hero Member
  • *****
  • Posts: 8178
Re: So then...what sucks about Mysterious Song?
« Reply #59 on: November 28, 2009, 09:59:59 AM »
Will there be a Super EX + alpha ' version?