Processing
 

Ways of making a graphic/visual novel in flash

01/07/2011 18:29#1

Kirby

Member

Joined at: 10 months ago

Post: 8

Thank: 0

Thanked: 0

I'm trying to make a visual novel in flash, I have created the UI and the characters, but I don't know what could be the best approach as how to load the dialog and how to save them. I've been thinking about external files, but I don't know what could be the best type of files to do so. Also, when I load the game I want it to continue in the same scene and with the same variable values (obviously) is there a way where you can save all of them (like an image of the game).

Thanks in advance!

01/07/2011 19:09Top#2

Joined at: 9 months ago

Post: 55

Thank: 0

Thanked: 0

I've been working on a flash game that will need chains of dialogue and repeated sets of interactions. My idea is to create a "cut scene" class that would load up a xml file which goes to describe any number of different pieces of dialogue, available user actions, etc. I haven't built it yet, so its just theoretical at this point, but I think the idea is sound. In your case, you could use this approach to describe, say, an individual page, that would contain individual panel nodes, characters, dialogue, etc. In your parsing class, simply build your elements based on this data. In this case, maybe you have a different xml file for each page, then.

As far as saving your state, I think shared objects, flash cookies or whatever is probably the right way to go.

I this scenario, the user would come back to your app, the current page ID would be registered, xml would then load, and finally the page view would be constructed.

Maybe that helps?

Cheers!

01/07/2011 19:06Top#3

Cookies

Member

Joined at: 9 months ago

Post: 2

Thank: 0

Thanked: 0

You can use flash cookies, aka local shared objects. From wikipedia:

By default, a Flash application may store up to 100kb of data to user's hard drive. If the current limit is exceeded, the user is shown a dialog requesting more storage space.

Saving the state of the entire app would mean saving the state of the player. I don't think anyone's written a flash player that allows this, but it's possible.

But this is assuming you want it to run on the desktop, in which case why not use a vn maker?

Otherwise, I would make a thin client in flash (or html5), and store the state in a database record for each user.

05/05/2016 09:51Top#4

Joined at: 7 months ago

Post: 1

Thank: 0

Thanked: 0

You can just make an external file that contains the scene an the frame that was saved and the variables that need to be used more than once in the game (and does change). To load, you need a system to get the variables and the frame.

Hope it was helpful!

Similar articles

Open a folder in finder/explorer from a webpage?

5 years ago - Reply: 2 - Views: 80

How do I escape a reserved word in Actionscript?

5 years ago - Reply: 2 - Views: 198

Save PPS/PPT files as SWF using C#

5 years ago - Reply: 2 - Views: 171

Ways of making a graphic/visual novel in flash

6 years ago - Reply: 3 - Views: 114

Use PhoneGap + HTML5 and an Embedded Flash Movie

5 years ago - Reply: 2 - Views: 96

View word docs and PDF in browser?

5 years ago - Reply: 2 - Views: 52

ActionScript 3 Read JPEG quality

7 years ago - Reply: 2 - Views: 59

Export/Test Movie Issues

5 years ago - Reply: 3 - Views: 38

Flash always on top in Android browser workaround?

5 years ago - Reply: 2 - Views: 149

Sending Json Form from Flash AS3

5 years ago - Reply: 2 - Views: 29

parsing a swf/fla (using php?)

6 years ago - Reply: 2 - Views: 44

Getting high FPS on Flash/AIR games for mobile?

4 years ago - Reply: 2 - Views: 58

vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re vé máy bay vé máy bay giá rẻ ve may bay ve may bay gia re