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

Trybien
Posts: 3050
Joined: Sat Oct 17, 2009 12:20 am
Gender: Male
Spoken languages: English

Re: Redoing the player in Flash

Post by Trybien »

That settles it, when Henke's Flashplayer is done, I make TWAA availible on it. Henke, your flash player is FTW.
Image
Winner of the “Broken Commandments” Case Competition
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 »

Aside from some animations and asset importing, it's ready for an initial release. It's stuff that I can't do.
Currently working on a redesign of Court-records.net.
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 »

More stuff I need help with, a load screen for saved games.
Currently working on a redesign of Court-records.net.
User avatar
Zeel1™
Posts: 3747
Joined: Thu Jun 03, 2010 10:29 pm
Gender: Male
Spoken languages: English
Location: Nobody uses this for what it's intended for.

Re: Redoing the player in Flash

Post by Zeel1™ »

henke37 wrote:More stuff I need help with, a load screen for saved games.
You mean like this?

Image

Screencapped that from a ROM - originally it said Farewell, My Turnabout 3-2 Investigation under the Load part, but I figured you wouldn't want that there, so I removed it to make it more generisized. Thought it didn't look quite right with just a blank space under the LOAD bit, though, so I made this version too, with the Load pushed to the center.

Image
Turnabout Ghost - 1400 Frames
Image
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 was thinking about allowing more than one save (per case).
Currently working on a redesign of Court-records.net.
User avatar
Dypo deLina
Posts: 5528
Joined: Fri Apr 02, 2010 7:24 am
Gender: Male
Spoken languages: English, Dutch, German, French, Spanish, Al Bhed
Location: Exactly where you least expect me to be.
Contact:

Re: Redoing the player in Flash

Post by Dypo deLina »

And then selecting whichever save you want to start at? I believe PyWright had that at some point, and it was quite handy when I presented the wrong evidence, saved, and died. :awesome:
チラセ・マギタ
~Married to Evolina deLuna~ <3
~Loving father to ZetaAzuel~


Proud creator of Cynder Janice, Rex Gladiorum, and Raimpius in Endless Time.

Image Image
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 »

Exactly yeah.
Currently working on a redesign of Court-records.net.
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 »

Until I get some assistance, I don't think there is much for me to code. Most stuff is done, it's just some gui code left. And a bunch of GUI animations. If I get the help I need, I think I might be able to hit my secret target date.
Currently working on a redesign of Court-records.net.
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 »

So, I am thinking about how to store AAI style investigations. I will sketch the XML tomorrow. But if you have any ideas, now is the time.

There are three main parts, the scene definitions and how to add scripting to the scene. The first is to define the stuff on the scene. The second is to define what stuff on the scene does when examined/walked on. Thirdly, defining how actions will cause stuff to move on it.
Currently working on a redesign of Court-records.net.
Mimi
Posts: 10382
Joined: Wed Jan 27, 2010 6:35 am
Gender: Female
Spoken languages: English: the only language I can brag about

Re: Redoing the player in Flash

Post by Mimi »

I can't wait for this. :D
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 »

How's this?
Spoiler : large xml :

Code: Select all

<?xml version="1.0" encoding="ISO-8859-1" ?>
<trial>

	<block id="boot">
		<load>
			<module src="office.swf"/>
			<module src="hallway.swf"/>
			<module src="caseX/trap.swf" />
			<module src="minis/edgeworth.swf" />
			<module src="minis/gumshoe.swf" />
			<module src="bigchars/edgeworth.swf" />
			<module src="bigchars/gumshoe.swf" />
		</load>
		<jump targetId="enterOffice" />
	</block>
	
	<block id="enterOffice">
		<setCrimeScene scene="office" />
		<miniWalk mini="player" targetX="110" targetY="250" />
		<frame>
			<speaker>Edgeworth</speaker>
			<text>It has been a while since I was able to visit my office, with all the stuff that has happened lately.</text>
		</frame>
		<frame>I think I will just take a break and read a book at my desk.</frame>
		<examineCrimeScene />
	</block>

	<crimescene id="office" bg="officeBG" walkmap="officeMap">
		<object id="desk" x="70" y="110" picture="officeDesk" walkmap="oficeDeskMap" examineBlock="niceDesk" />
		<mini id="player" x="128" y="192" mini="edgeworthMini" />
		<object id="chessboard" x="300" y="250" picture="chessboard" raduis="10" examineBlock="thinkingAboutChess" />
		<exit id="officeExit" x="250" y="350" width="40" height="40" link="hallwayExit" direction="down" />
		<trigger id="bookcasedrop" x="430" y="100" height="120" width="60" triggerBlock="bookstorm" />
		<object id="bookcase" x="450" y="100" />
	</crimescene>
	
	<block id="niceDesk">
		<miniPose mini="player" pose="point" />
		<frame>
			<character charId="edgeworthBig" pose="question" side="left"/>
			<character charId="gumshoeBig" pose="normal" side="right"/>
			<speaker>Edgeworth</speaker>
			<text>I see that my desk is clean as usual.</text>
		</frame>
		<miniPose mini="player" pose="normal" />
		<miniPose mini="gumshoe" pose="proud" />
		<frame>
			<character charId="edgeworthBig" pose="question" side="left"/>
			<character charId="gumshoeBig" pose="proud" side="right"/>
			<speaker>Gumeshoe</speaker>
			<text>I don't mean to brag sir, but I still take care of it for you.</text>
		</frame>
		<frame>
			<character charId="edgeworthBig" pose="fingertap" side="left"/>
			<character charId="gumshoeBig" pose="normal" side="right"/>
			<speaker>Edgeworth</speaker>
			<text>You do realize that we do pay for a cleaning serivce, don't you?</text>
		</frame>
		<frame>
			<character charId="edgeworthBig" pose="crossarmed" side="left"/>
			<character charId="gumshoeBig" pose="embaresed" side="right"/>
			<speaker>Gumeshoe</speaker>
			<text>Well, I suppose so...</text>
		</frame>
		<examineCrimeScene />
	</block>
	
	<block id="bookstorm">
		<shake magnitude="15" time="1000" />
		<miniPose mini="player" pose="fall" />
		<autoFrame>
			<text>Argh!</text>
		</autoFrame>
		<animation animation="bookcasedrop" />
		<miniPose mini="gumshoe" pose="panic" direction="0" />
		<autoFrame>
			<text>I will get you out in no time sir!</text>
		</autoFrame>
		<autoFrame wait="1500">
			<background background="gumeshoeRescuesEdgeworth"/>
		</autoFrame>
		<setCrimeSceneObjectVariant object="bookcase" variant="fallen" />
		<showCrimeScene />
		<frame>
			<text>You are lucky to be alive sir!</text>
		</frame>
		<frame>
			<text speed="0.6">Yeah...</text>
			<text>But my back is killing me!</text>
		</frame>
		<end />
	</block>
	
	<crimescene id="hallway" bg="hallwayBG">
		<object id="bench" x="0" y="380" picture="hallwayBench" walkmap="hallwayBenchMap"/>
		<exit id="hallwayExit" x="150" y="0" width="40" height="40" link="officeExit" direction="up" />
	</crimescene>
</trial>
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 »

That seems like a good layout. However, I don't like the names of the crimeScene and setCrimeScene elements. Is there a better word than "crime scene", because there might not always be a crime in it.
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 agree, I want something better there. But what to use?
Currently working on a redesign of Court-records.net.
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 »

Maybe just "setScene elements" or "setInvestigation elements"
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 idea of calling it a "scene". :)
Post Reply