The Poker Club rip I released the second beta version of the Fling the Teacher generator
(version 0.8) two weeks ago. At the time of typing, there have been 376 downloads – which is really pleasing to see. Feedback has been very positive too. The Fling the Teacher generator is a free program, available for anyone to download once they have registered on the ContentGenerator.net forums.
Fling the Teacher initially began as “Who wants to be a Historical Millionaire?”. It was based on some open-source JavaScript that I added graphics, sound and additional code to make it more usable. It then saw further improvements, notably Russel Tarr of ActiveHistory.co.uk who helped make the code more efficient. It rapidly became a really popular game on both our sites. However, Celador, the owners of the Millionaire concept, contacted both of us and threatened legal action if we didn’t remove the game. Obviously we complied immediately and removed the game. Rather strangely though, there are now hundreds of ‘Millionaire-type’ games, including many made by other teachers, which seem perfectly acceptable.
Nevertheless, we weren’t bitter (;)) and I developed the ‘Fling the Teacher’ concept changing the game entirely by adding Flash to the JavaScript. This game has proved really successful ever since, but was not standards compliant – it only worked on Internet Explorer. This was a constant annoyance to me. The game was actually made up of five separate .swf files that were controlled by JavaScript. Questions were stored in an external .txt file that the JavaScript imported and then transferred to the appropriate .swf. When the user selected an answer, another .swf file stored the answer, passed it to JavaScript to carry out the next function. It was all rather complex, but as it worked for the vast majority, it was left.
During the summer, I began experimenting on a updated version that would have an entirely Flash-based front end handling all the questions and marking, only relying on JavaScript to pass the initial question data. It proved very straightforward to merge all the separate .swf files into one file, and actually equally straightforward to amend the code so it worked with Firefox. I wanted to retain the use of JavaScript for the question data so all the existing games on SchoolHistory.co.uk and ActiveHistory.co.uk would still work. I posted this new version for people to test and began work on a ContentGenerator.net program that would enable anyone to develop their own customised games.
Unfortunately, it rapidly transpired that the new version wasn’t as standards compliant as I’d hoped. It did work on IE and Firefox, but failed to load the questions on any Mac browser and also didn’t work when using Opera. The solution I’d found simply wasn’t good enough. It was incredibly frustrating but nevertheless, a better solution had to be possible. I then discovered the work on the ‘Flash / JavaScript integration kit‘. This made it possible for Flash to communicate with JavaScript effectively, regardless of which browser or operating system was being used.
So, why am I explaining all of this? Well, when I’d managed to produce the new Fling the Teacher game, which worked on any modern browser with Flash 7 installed, I was delighted. I’d been able to take the outdated code of the existing version and produce a much improved version that could still handle the existing question data.
Thus, when I came to put together the ContentGenerator.net program, I wanted to allow others to share in this technological development. I created the new ‘generator’ program which produced all the required files and allowed anyone to create their own games. There were three JavaScript files (one for the questions and two for the JavaScript integration kit), two .swf files (one for the actual game and the other for the JavaScript integration kit) plus one .html file for the whole game to work in. This was what the Fling the Teacher generator 0.7 produced. It was an impressive technical achievement, but one that was completely pointless!
Xtro II: The Second Encounter divx
I had done the complex work to ensure backwards compatibility with the existing game, but anyone who wanted to generate their own new games didn’t need to go through this hassle of having six files for one game. When the beta was first released, the feedback was extremely positive, but there was confusion with all the different files. As the ContentGenerator.net programs save their data as a .txt file too, this only added to the confusion
Consequently for beta 0.8 I changed the way the Fling the Teacher generator worked. It now is a showcase for how well my ContentGenerator.net technology works. You type the 15 questions in, press ‘generate’ and then a single .swf file is produced. No messing about, no multiple file requirements – one, custom generated .swf file. With beta 0.7 I had been far too focused upon the ‘clever’ solution to make the games backwards compatible. Thankfully with beta 0.8 I realised this error and have hopefully been able to produce something far more user friendly.
Hostel dvdrip To produce the final free Fling the Teacher generator I now need to enable users to have multiple question sets and fix a couple of minor usability issues with the generator program itself.

0 responses so far ↓
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment