Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - GarageGothic

#1821
Quote from: LimpingFish on Mon 12/11/2007 19:26:39"Flashbax" contains a short scene of old-man masturbation, complete with animated ejaculation, which caused a lot of people to get very indignant.

Wasn't it just Vel making so much fuss about it that it seemed like a lot of people?
#1822
I don't really mind nudity, but I'm certainly not going to waste time on a crap game just because it has tits and ass (I recently had to watch Basic Instinct 2 and the only moderately interesting thing about the bloody movie was its use of that wonderfully phallic gherkin-building in London's financial district). On the other hand, if you're making an otherwise solid game where nudity has a natural part in the plot - I assume that the "club" you're referring to is a strip club? - I say go for it. I doubt it will lose you many players, and possibly gain you a few... If there's male nudity, I do hope that it will be from other character than that Jake guy though, 'cause I'm really not sure I want to see his boney white ass.

#1823
Maybe I phrased it badly. What I meant was that to get the PROPER length of the created substring, you calculate it by taking the length of the current String (tempsyn.Length) and subtracting the length of the part you're cutting off (tempsyn.Contains(".")+1). Hence my suggestion of:

Code: ags
tempsyn=tempsyn.Substring(tempsyn.Contains(".")+1, tempsyn.Length-(tempsyn.Contains(".")+1));


What you're CURRENTLY doing is just taking the length of the original String, which is - I think we can agree on this - longer that the substring you want to create. So you're asking AGS to cut off the beginning of the String, but to keep the new String the same length as the original one, which doesn't make much sense.
#1824
Since the problem seems to be solved, I'll just reply as future reference for others. You're not using the length of the created substring, you're calculating it by taking the length of the current String (tempsyn.Length) and subtracting the length of the part you're cutting off (tempsyn.Contains(".")+1).

What's currently happens in your code is that you're asking for a substring the same length as the original, but it seems that AGS is somehow correcting that, since it can't go beyond the end of the string anyway. (I'd actually be curious to know if it returns a String of the requested length by adding spaces at the end or not).
#1825
But the length that you're currently using is the length of the current String, not of the substring. Perhaps AGS handles this by cropping the String to the right length without adding blank spaces or anything, so there's no problems, but the length you're supplying is indeed "wrong".
#1826
Isn't the point to cut off the first word of the String, including the "."?

Substring doesn't ask for two index values but for an index value and the length of the substring, which in this case should be the length of the original String minus the part you're cutting off.
#1827
Shouldn't it be:
Code: ags
tempsyn=tempsyn.Substring(tempsyn.Contains(".")+1, tempsyn.Length-(tempsyn.Contains(".")+1));
?

Edit: Not sure about the +1, I always mix up the index/length thing and have to adjust after testing.
#1828
Quote from: Jim "Dualnames" Span on Sat 10/11/2007 20:32:10
Wondering... why doesn't Yahtzee post himself?

Long story. His AGS Wiki entry explains it pretty well.
#1829
This is actually one of the reasons that I wish winsetup could be customized, because it's a somewhat broken, undocumented feature that pretty much nobody uses and it only confuses the end-user.

Press ALT+R during gameplay to start recording a replay, the press ALT+R again to stop recording and you'll be asked to supply a description and a file name. Having done this, you should be able to select your replay file in winsetup and start the game to run it.

Replays tend to get out of sync and break after a while though, which is also why it's not in the help file.
#1830
I'm guessing that's the internal function used by AGS when you call Character.LoseInventory. I sometimes get unexpected function names like this in error messages when using RawDraw functions incorrectly.

Mirek, I did check the function I posted above in my own 2.72 game, and it works as it should. Let me know if you have any further problems.

#1831
Sure he's using 2.72 as it says in the error message, but hey, you know what? I copied the "Character.LoseInventory(InventoryItem *item)" syntax straight from the 2.72 manual. Please do a bit of research if you want to argue a case.
#1832
No it doesn't, they both use InventoryItem pointers, you're thinking about the old LoseInventory function. This is Character.LoseInventory(InventoryItem *item).

#1833
How did you get the error? Did you click the button without actually having selected an active inventory item?

Have you tried:

Code: ags
if (player.ActiveInventory != null) player.LoseInventory(player.ActiveInventory);


?

Edit: I see now that there was a space between the function and the parenthesis, not sure if that could cause problems.
#1834
I must admit, I never even got to the anagram part - I based my guess on the "XXX XXXXXXXX XXXX" format of the title and on the fact that shortly after announcing the contest, Grundislav removed the cardinal sprite he had posted on his site. I smelled a cover-up, and well, it turned out to be a good hunch.
#1835
Quote from: vertigoaddict on Mon 05/11/2007 06:13:26This is TOTALLY out of topic; perhaps he is equating Ali to the creator of the 'world wide web'?

Probably he confused Ali with Al Gore ;)
#1836
Awesome idea, this is like the pixel equivalent of Flatland. An even geekier version could emulate historical graphic modes like advancing from ASCII to CGA and Hercules through EGA to VGA and hi-res graphics. What I'm wondering though, is how to make an interface that will seem consistent throughout the game - maybe the best solution would be something keyboard based.
#1837
Critics' Lounge / Re: Which BG Style?
Sun 04/11/2007 20:47:19
I would prefer the second one in the style of the first ;)

No, seriously, what I mean is that the first - though very charming - seems to be trying too hard at being distorted for no special reason, whereas the second one hurts my eyes a bit with all the straight (pixelly) lines and bright colors. If you did the second one in a more painterly style, without using the line tool, with a wider range of shades and some anti-aliasing it would be just great. The highlights in the first example also work wonders, that awning just looks so inviting, almost like it's made out of candy :)

I should probably add that I'm no great fan of pixel art, but I really don't see the point in not using anti-aliasing just for the sake of nostalgia.
#1838
I don't really understand, are you going to put all these module into one big module? If so, what's the purpose? Most AGSers use one or two modules per game, so why bloat the code and create possible conflicts by adding a ton of unused modules (which would, by the way, also be a lot more work to keep updated)? But perhaps I'm misunderstanding the whole thing.
#1839
Quote from: SSH on Sat 03/11/2007 22:24:50
Well, to anagram the whole thing:
Ben Jordan and the Snide Arachnid Oppressors

Actually it turned out to be "Ben Jordan Case 7: Anchorpersons Dispraised"
#1840
I really like the style, but as others have noted, perhaps it needs a few more details to identify it as an LAPD office. I think a notice board with crime scene photos, police sketches of suspects and perhaps some wanted posters would do a lot for the room. And, in case you widen the room a bit, there might be space for a window on the back wall to show a view of Los Angeles.

I keep thinking that should play a bit more with light sources (especially if you add a window), but it may not fit the Yahtzee-inspired style. The colors could also easily be more desaturated, but it all depends on which mood you're going for - I'm imagining a James Ellroy sort of story, so these suggestion may be way off.
SMF spam blocked by CleanTalk