Author Topic: Wiki and Forum Integration Update  (Read 4861 times)

Ramsus

  • Entity
  • Chronopolitan (+300)
  • *
  • Posts: 313
    • View Profile
Re: Wiki and Forum Integration Update
« Reply #15 on: January 08, 2011, 02:37:44 pm »
I'm just calling it Project Radicals for now. Here's how I've adapted the game engine so far:

http://www.chronocompendium.com/Radicals/game.php?id=1

I just made a few minor changes to make it load and save data using AJAX requests and I removed the debugging output. I also added a switch for setting an engine mode that isn't used yet, but I think we might be able to make it a generic novel writing game engine by creating a 'custom' mode that breaks compatibility with actual Radical Dreamers script dumps and simplifies some of the scripting (e.g. by adding support for plaintext labels instead of ROM memory addresses and maybe integrating the PlaySong commands with the Remix Center and using HTML5 audio to play the music).

alfadorredux

  • Entity
  • Mystical Knight (+700)
  • *
  • Posts: 746
  • Just a purple cat
    • View Profile
Re: Wiki and Forum Integration Update
« Reply #16 on: January 08, 2011, 07:26:45 pm »
I've often thought that the Compendium might benefit from adding a comprehensive index of Chrono-series fanfiction found elseweb--not hosting it, necessarily, but just linking to it and possibly reviewing it--but I've been reluctant to mention it because I don't think I have the time or energy to take on the project myself and give it the degree of attention that it deserves

Nevertheless, you could elect candidates for inclusion on the site or as part of a link collection, and others could help rate and categorize everything. If you're afraid of adding a lot of links to the Fan Fiction page that you'd then have to weed out, just nominate stuff on the Discussion page for the Fanfiction page like so:

http://www.chronocompendium.com/wiki/index.php?title=Talk:Fanfiction&action=edit&redlink=1

I can try, I suppose. Maybe I'll give it a shot after I recover from this wretched cold...

utunnels

  • Guru of Reason Emeritus
  • Zurvan Surfer (+2500)
  • *
  • Posts: 2797
    • View Profile
Re: Wiki and Forum Integration Update
« Reply #17 on: January 08, 2011, 07:48:13 pm »
Oh, that looks good (but why it's auto centered?)
I see there're some composing problems (can be fixed by editing the text, removing some extra line-break).
And I forgot to mention that day. I fixed a minor fade in/out bug and updated the file.

For instance, at the end of decode_fadein and decode_fadeout

Code: [Select]
setTimeout('fadein()', 0);
...
setTimeout('fadeout()', 0);
Instead of
Code: [Select]
fadein();
...
fadeout();
Now works fine when fade delay is 0 (instant change instead of fading).


Edit*

The control code sheet can be found here: http://sourceforge.net/projects/radicaldreamers/files/Textfiles%20and%20amp_%20Info/


Edit again*

Hmm, save/load don't work.
And load buttons should be disabled as well when save buttons are disabled, just in case the data is loaded when the engine is not paused.
« Last Edit: January 08, 2011, 10:23:31 pm by utunnels »

Ramsus

  • Entity
  • Chronopolitan (+300)
  • *
  • Posts: 313
    • View Profile
Re: Wiki and Forum Integration Update
« Reply #18 on: January 09, 2011, 02:44:42 pm »
What happens if the data gets loaded when the engine isn't paused?

utunnels

  • Guru of Reason Emeritus
  • Zurvan Surfer (+2500)
  • *
  • Posts: 2797
    • View Profile
Re: Wiki and Forum Integration Update
« Reply #19 on: January 09, 2011, 07:51:32 pm »
For example, if a fading timer is still active, it will continue fading.
Or a timer for next decodemain loop will be executed after the data is loaded.
So we should either clear all active timers or wait when the game is paused.