It happens immediately after choosing the text in the open-file dialog. The dialog box disappears, the game window opens, but doesn't render anything (it shows my desktop through it in Vista. clicking on it turns the render area black and tells me that the program is not responding). If I see text on the screen almost immediately, it never freezes.
Damn; that sounds just like the issue I've been having, although it's the first time I've heard of it occurring outside of the IDE. :/ I'll look into it some more, but it probably won't be a priority for the deadline since there's all the game-nicety stuff to do before then as well...
By the way, is the entire game supposed to quit when you die? Would it be possible to have it restart the level instead, quitting on ESC or Alt-F4?
Yeah; basically, the game consists a load of nested states, and when you die it quits out of two states. One of these is the 'handle player death' state, and one of them is the 'game-stage' state which contains that. Ordinarily this would quite back to the menu state which sits right at the top, but I've not written a menu yet. ;-) That's for tonight.
It's also changing that directory to My Music as well. Weird.
Have you opened any files from that folder? The only directory-changing stuff I'm doing is changing the application's 'current directory' so that it can still find game assets after you've loaded a text file from a different dir; I wouldn't have expected it to be even
possible to affect the instance of Explorer which the app was launched from...
Enemies were shouting "Be still, you pessimistic mole!" and "Become mediocre!"
Awesome. ;-)
For a long while I was testing it with
Full-Life Consequences, mostly 'cause it turned out to have a nice tall and wide game arena, and at the time - I've since changed some of the generation - the stage opened with a few seconds' pause, followed by a single guy charging right down the middle yelling "ITS TIME TO END THIS ONES AND FOR ALL!" ;-)
1) I don't know how to make it select a poem that isn't Raven.txt. The only way I can get it to read another poem is to paste one intoe Raven.txt. All other methods seem to make it fault just as it says "Reading Input File".
The interface for this will be improved before I mark it as 'finished'; are you starting the app with the '-O' commandline argument (a temporary hack) and getting the same freezing issue that Noyb was describing?
2)The enemies only quote things in quotes I take? What of poems with no speech? Shouldn't they just quote whole lines/sentences?
Yep, just stuff in quotes. I guess it wouldn't be too hard to check whether it's managed to glean any quotes and take some likely-looking lines if it hasn't, but it's a whole lot harder to detect sentences that make sense on their own from free text, which is why I'd not done it previously. I expect some of the time to get some pretty weird utterances when grabbing stuff which isn't dialogue!
3)It's a real shame you haven't been able to get sound, music and varying (themed) backgrounds in time.
(As it goes, I should be able to get some sounds done this evening, and at the very least drop a combat theme from a previous game in so it's not totally silent the whole game.)