Redoing the player in Flash

Discuss topics that are unrelated to Ace Attorney Online, introduce yourself if you're new and read the latest Member of the Month interview.

Moderators: EN - Assistant Moderators, EN - Forum Moderators

Post Reply
User avatar
Meph
Posts: 13439
Joined: Mon Nov 10, 2008 10:07 pm
Gender: Male
Spoken languages: English
Location: Probably Disneyland Paris... or the UK

Re: Redoing the player in Flash

Post by Meph »

I like the XML language that you've made (don't forget the XML declaration). I like how things like music can be controlled outside of frames. :D

However, here is my feedback:
  • The language of the trial should be stored in the root element.
  • Why is everything stored in block elements? What are they?
  • How are autoFrame elements different from frame element?
  • Dialogues should be stored in a dialogue element.
  • How are line breaks added to dialogues? Are you going to use <![CDATA[ ]]> ?
  • The voice, textColour and speaker should be an attribute of the dialogue element.
henke37 wrote:Right now, I am a bit stumped about how to do classical locations.
What do you mean by a "classical location"? :)
User avatar
henke37
Security expert / tools programmer
Posts: 3031
Joined: Wed Mar 04, 2009 9:42 pm
Gender: Male
Spoken languages: Swedish,English
Location: Sweden
Contact:

Re: Redoing the player in Flash

Post by henke37 »

  • The language can be indicated yes.
  • A block element is just a container. It holds a bunch of stuff. It got an id too. As is obvious, you can jump to a different block. In fact, it is an error to run out of a block. That is why there is always a jump or end element at the end. A good thing about the blocks is that you can easily rearange large chunks of the trial data. And as you can see in the CE, that is a special kind of block. I am hoping to do other kinds of blocks later on.
  • autoFrame has different frame termination logic. It runs on a timer instead of waiting for the advancement button. I could have used the same type, but I did not.
  • There is no reason why I would need a child element for the actual dialog.
  • I have not thought about linebreaks.
  • I might move the color to a textFormat element instead. But otherwise, I try to follow the rule that each element triggers a change of its own. And the speaker is element content for another reason, because it is displayed text.
  • Classical here means "not modern", "not latest kind", "the original kind" and so on. I mean non AAI investigations.
Currently working on a redesign of Court-records.net.
User avatar
Meph
Posts: 13439
Joined: Mon Nov 10, 2008 10:07 pm
Gender: Male
Spoken languages: English
Location: Probably Disneyland Paris... or the UK

Re: Redoing the player in Flash

Post by Meph »

henke37 wrote:
  • Classical here means "not modern", "not latest kind", "the original kind" and so on. I mean non AAI investigations.
Oh, I see. You mean AA investigation locations? :)

Hmmm. Well obviously you'd need an element called investigation, but other than that, I'm not sure. Maybe conversations could be stored inside block elements that are inside the investigation element.

Code: Select all

<investigation id="foo">
    <examine>
        <point coordinates="12,15 90,40" goTo="bar" />
    </examine>
    
    <block id="bar">
        <!-- Put a conversation here. -->
    </block>
</investigation>
User avatar
henke37
Security expert / tools programmer
Posts: 3031
Joined: Wed Mar 04, 2009 9:42 pm
Gender: Male
Spoken languages: Swedish,English
Location: Sweden
Contact:

Re: Redoing the player in Flash

Post by henke37 »

But how would it work with a talk menu? That is the main concern here. The rest can rather easily be adapted once that is settled.
I also want those intro conversations.
Currently working on a redesign of Court-records.net.
User avatar
Meph
Posts: 13439
Joined: Mon Nov 10, 2008 10:07 pm
Gender: Male
Spoken languages: English
Location: Probably Disneyland Paris... or the UK

Re: Redoing the player in Flash

Post by Meph »

Introductory conversations would be in their own block called investigationIntro.

Talk menus would be stored in elements called investigationTalk. Each talk conversation would have a boolean attribute to show if they are hidden.
User avatar
henke37
Security expert / tools programmer
Posts: 3031
Joined: Wed Mar 04, 2009 9:42 pm
Gender: Male
Spoken languages: Swedish,English
Location: Sweden
Contact:

Re: Redoing the player in Flash

Post by henke37 »

I duno about the names having a prefix. But what matters the most is where they are stored. In the trial element or in the investigation element?
This has an impact on the scripting. My issue here is how the conversations return to the talk menu.

About newlines: My engine apparently already supports them. No element used, just make a linebreak in the text content.
Currently working on a redesign of Court-records.net.
User avatar
Meph
Posts: 13439
Joined: Mon Nov 10, 2008 10:07 pm
Gender: Male
Spoken languages: English
Location: Probably Disneyland Paris... or the UK

Re: Redoing the player in Flash

Post by Meph »

When you reach the end of a block, you just return to the talk menu.
User avatar
henke37
Security expert / tools programmer
Posts: 3031
Joined: Wed Mar 04, 2009 9:42 pm
Gender: Male
Spoken languages: Swedish,English
Location: Sweden
Contact:

Re: Redoing the player in Flash

Post by henke37 »

Except as I said before, that is considered an error. Either the game ends or you jump somewhere else.
Currently working on a redesign of Court-records.net.
User avatar
Meph
Posts: 13439
Joined: Mon Nov 10, 2008 10:07 pm
Gender: Male
Spoken languages: English
Location: Probably Disneyland Paris... or the UK

Re: Redoing the player in Flash

Post by Meph »

Oh yes! I didn't notice the jump element. Maybe you could have an attribute in the jump element that returns you to a talk conversation by entering the investigation's ID.
User avatar
henke37
Security expert / tools programmer
Posts: 3031
Joined: Wed Mar 04, 2009 9:42 pm
Gender: Male
Spoken languages: Swedish,English
Location: Sweden
Contact:

Re: Redoing the player in Flash

Post by henke37 »

It is quite limited, it is mainly for jumping to blocks. It does support jumping to a specific subtask, but that is messy and requires counting. Maybe I should allow it to use ids instead?

How about this, you write up an example location and we see how it end up. Meanwhile, I will just import some more graphics into flash.
Currently working on a redesign of Court-records.net.
User avatar
Singapore123
Posts: 2085
Joined: Wed May 05, 2010 8:56 am
Gender: Male
Spoken languages: English, 1337, french, spanish,

Re: Redoing the player in Flash

Post by Singapore123 »

I just thought about it,
  • Do we need to download it?
  • If so, or not so, do we need a flash player?
  • My com have a problem playing a vid on youtube, that means that we can't continue if we do not watch finish the vid! You should do something!
User avatar
henke37
Security expert / tools programmer
Posts: 3031
Joined: Wed Mar 04, 2009 9:42 pm
Gender: Male
Spoken languages: Swedish,English
Location: Sweden
Contact:

Re: Redoing the player in Flash

Post by henke37 »

The data does need to be downloaded, yes. But no data needs to be saved on disk. Flash player ten is a requirement. I know of the issue with youtube videos failing, I have experienced it myself.
Currently working on a redesign of Court-records.net.
User avatar
Singapore123
Posts: 2085
Joined: Wed May 05, 2010 8:56 am
Gender: Male
Spoken languages: English, 1337, french, spanish,

Re: Redoing the player in Flash

Post by Singapore123 »

I meant donwload the editor like PWLib
Broocevelt
Moderator
Posts: 7319
Joined: Fri Sep 11, 2009 6:06 pm
Gender: Female
Spoken languages: ES/FR/EN/DE
Location: Spain
Contact:

Re: Redoing the player in Flash

Post by Broocevelt »

. . .
It... wouldn't be AA Online then. It would be AA Offline, don't you think?
You just need the flash player to play trials.
User avatar
henke37
Security expert / tools programmer
Posts: 3031
Joined: Wed Mar 04, 2009 9:42 pm
Gender: Male
Spoken languages: Swedish,English
Location: Sweden
Contact:

Re: Redoing the player in Flash

Post by henke37 »

I am not making any editor. If anyone wants to, they should be able to do it easily, XML is quite popular as a dataformat format.
Currently working on a redesign of Court-records.net.
Post Reply