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 - Crimson Wizard

#11901
The Rumpus Room / Re: Name the Game
Tue 21/05/2013 13:20:48
Quote from: Anian on Tue 21/05/2013 13:18:56
If only there was a cool free game engine one or two clicks away...
If only I had free time to use it :P.
#11902
The Rumpus Room / Re: Name the Game
Tue 21/05/2013 11:47:21
Quote from: Parafia on Mon 20/05/2013 23:29:20
All those screenshots make me want to start a space opera project. >.<
All those screenshots make me want to make a game  :~(
#11903
Quote from: Kitai on Mon 20/05/2013 13:04:24
Also, when I use a textbox in a game and type in some text, letters don't correspond to keys, though it matches perfectly well in the script editor. I have a European (AZERTY) keyboard and a French ubuntu environment. I think it might come from this, but has any of you encountered the same issue?

Does this textbox problem occurs if you run your game under Windows or under Linux with Linux port?
#11904
I can confirm this.

Also, since we talk of the script names, there's other (lesser) problem I just found: in previous versions editor let to type in script's name in the project tree right when the script is created, and now it does not (program sets the focus to "Edit Script" node.

Also, if the script is open in the editor, and I click on script's name to rename it, I can't paste the text from clipboard, because it is pasted to the script text window instead. This problem is not new one, it exists in AGS 3.2 too.
#11905
Site & Forum Reports / Re: Bug reports
Tue 21/05/2013 09:18:58
In earlier forum version there was a way to enter your ICQ contact in the profile. Well, I did this when I was registering back in 2008.
However, I do not use ICQ often nowadays and I wanted to remove it from my profile info. To my surprise, there's no corresponding input field in the profile settings, so I cannot do this.
#11906
I've had an exchange of PMs with Chris Jones lately and he told that he does not have the original source of editor splash screen. He mentioned that one person did these pics for him, but he forgot who it was.

Right now I have a splash background cleaned from version numbers, but I was unable to find a matching font, so I did AGS 3.3 splash by copying the "3" digit from "3.2" splash.

Unless someone else knows the author of original splash, perhaps there's a person who would like to draw a new one?
Maybe there are people who may invent concept art for a splash screen?

This is not urgent, but sooner or later we will need this.
#11907
I have my own template here, you may use it as an example (it may have some parts you won't want to have or have differently):
https://www.box.com/shared/13f5pq38x7
#11908
Quote from: KodiakBehr on Mon 20/05/2013 14:35:10

InventoryItem*item = InventoryItem.GetAtScreenXY(mouse.x, mouse.y);

And then later on in the same function I say,

lblInvDescription.Text=item.Name;

This causes crashes and sadness, and I'm clearly missing the big picture.  What is the correct way of doing this?

InventoryItem.GetAtScreenXY may return null, that's why you should test "item" pointer against one:
Code: ags

if (item != null)
  lblInvDescription.Text=item.Name;
else
  lblInvDescription.Text="";
#11909
Quote from: waheela on Sat 18/05/2013 19:21:39
A couple days ago, I had this conversation with someone else who is currently reading the books. He was actually surprised at how the books were more gratuitous than the show in a lot of ways.
I might be misunderstanding the meaning of the word "gratuitous", for I did not find anything gratuitous in the book. It describes horrors of war as seen by certain characters, why is that gratuitous?
#11910
Quote from: dbuske on Sun 19/05/2013 15:09:58
The play-quit game GUI is corrupted (meaning the box and words are mishaped and out of place).

I may be mistaken, but aren't you are using the SkyGoblin's build with custom resolutions? Maybe it causes wrong position for built-in dialogs? Other thing that comes to mind is a font that does no look good on it. Can you show some screenshots?

Also, what about other built-in dialogs, like save/load ones. How will they look like if you call them ( SaveGameDialog() and RestoreGameDialog() )?

I must agree with Iceboty's advice to make a custom gui instead, because you won't be able to customize standard Quit dialog anyway.
#11911
Quote from: Kitai on Sun 19/05/2013 11:57:37
I use AGS 3.3.0 beta.

It is a bug in 3.3.0 beta...   :embarrassed:
I am going to look in this.
Sorry for inconvenience!

EDIT: It looks like I've already fixed that in our development version :)
We will release the update shortly anyway.
#11912
Interesting.
What AGS version do you use?
What are your "Backward Compatibility" settings (on the "General Settings" page)
#11913
Wait. There's something really strange in this.

First of all, this was my mistake. In fact AGS really treats "char" as "unsigned char", meaning it stores numbers in the 0-255 range (this is stated in the manual).
Secondly, when I use your code I get all positive values all the time (0-255).

EDIT: I think I understand now.
This convertion problem arises only if you use String.Chars directly, like
Code: ags

Display("%d", String.Chars[0]);


If you do just this:
Code: ags

char c = String.Chars[0];
Display("%d", c);

You will get always positive value.
#11914
Quote from: Kitai on Sat 18/05/2013 17:53:10I tried to display it with a non-SCI font but it behaves the same. Should I check for negative values whenever I handle a char variable as an int?
Well, obviously, it does not depend on font. It is the nature of "char" type, it interprets the number as one from the -128/+127 range.
The solution would be to cast char to int (which has greater range) and add 256 if the char value is negative:
Code: ags

int fixed_value;
if (char_value >= 0)
  fixed_value = char_value;
else 
  fixed_value = char_value + 256;



EDIT: err, wait a second... AGS manual states that char can be 0-255, so it is in fact "unsigned char". Hmm, I need to make a test...
#11915
Quote from: Snarky on Sat 18/05/2013 17:12:25
Actually, I don't remember the episode before last ("Climbing the Wall," I think it was called) having any nudity, but it did have:
There were prostitutes hired by Tyrion to repay his steward the service. That was one of the first episodes, don't remember which one.

Quote from: Snarky on Sat 18/05/2013 17:12:25
This last one had the two naked girls, obviously, but that was just leading up to:
BTW, unlike some other similar moments, this one serve the purpose, IMHO, to provide more contrast to what has followed.
#11916
Quote from: Anian on Sat 18/05/2013 15:17:09
Quote from: Crimson Wizard on Sat 18/05/2013 13:56:55...did anyone mention murder and mutilation? I so like how people find nudity offensive and happily watch how characters slay and torture each other.
But that's just it, there was basically no violence in the last few episodes, maybe a short scene or two, but definitely not that much.
I'm not all that for violence either, it can take away from the story as much as the nudity/sexual scenes can. Great example might be Spartacus series which I find basically unwatchable.
Oh, well, sorry, I did not mean GoT in particular, that was just a ... generic statement. :)

But the scene of flaying a pink finger was enough for me, haha (maybe I have vivid imagination).
#11917
Quote from: Jaffles on Sat 18/05/2013 04:18:57
"You like GoT? You perv! That show is like a porno!"

...did anyone mention murder and mutilation? I so like how people find nudity offensive and happily watch how characters slay and torture each other.
#11918
Like JJS said, and this -
Error: load room: unable to deserialize prop schema

This is because the missing plugins did not read their data (obviously), and following deserialization screwed up.

BTW, this also gives me a hint that the plugin deserialization should be tested somehow and proper message displayed, this one does not reveal actual problem.
#11919
Here's the link to the editor version that supports 1280x720: http://gitorious.org/skygoblinags/skygoblinags/trees/master/bin
Warning: it is made not by author of AGS, but by another person, so you likely receive less technical support (not that it should be different in terms of gameplay though).
I hope someone knows how that works, because I really don't.
#11920
I've commenced reading the book after watching these series, and to my surprise it has much much fewer episodes mentioning nudity than the movie :).

Even before that I couldn't stop thinking that they put the nude scenes there simply because they could. Looks like some kind of daring act to me, as if producers wanted to prove they are brave enough to show, umm, content on TV.

But I know little about situation on TV around the world, maybe it is common nowadays?
SMF spam blocked by CleanTalk