No, you can still post an image. It's just a fun and interesting "find the connection" thing that Ben does when he posts a new movie capture based on the previous.
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 MenuSide-note (literally):Quote from: Renodox on Sun 23/06/2013 22:12:07 Quote from: Stupot+ on Sun 23/06/2013 22:42:39That isn't a counter response Stupot, it's a completely new insult that doesn't relate to the insult given. |
Quote from: Crimson Wizard on Sun 23/06/2013 17:50:28You were speaking of the offsets as actually being offsets, yes? Like whatever AGS currently automatically assigns as the position for the Portrait, the offset just adds to that? Otherwise it isn't an offset, it's strictly an X,Y position.
Uh, can you elaborate?
int Game.SpeechPortraitOffsetX;
int Game.SpeechPortraitOffsetY;
PortraitSpeechStyle.ManualPosition(int x, int y);
SpeechStylePortrait.ManualPosition(int x, int y);
Quote from: Crimson Wizard on Sun 23/06/2013 12:06:25What do you mean by that? (I'm not too knowledgeable with programming terms)
I'll redo that to a property.
game.speechPortrait_setPosition(int x, int y) // which also enables "manual positioning"
game.speechPortrait_disableManualPositioning() // to disable it and revert to AGS hardcoded placement
Quote from: ShinjinNakamura on Sun 23/06/2013 11:29:01Hmm. Out of curiousity... Did you end up putting the dialog_options_get_dimensions function that you had in? Is it possible the X and Y of the DrawImage was off the boundaries of this dialog?
By the way I tried the whole new script on a non alpha channel image. Unfortunately it didn't work.
Quote from: Armageddon on Sun 23/06/2013 06:33:29Is that a Tic Tac in your shorts or did you just swim in cold water?
Is that chapstick in your shorts?
Quote from: Crimson Wizard on Sat 22/06/2013 10:14:56I haven't had the chance to check this out, but is this what I think you've done. Instead of adding a new built-in enum, you've done the "unspeakable" mess of using an int that doesn't help the programmer in anyway to know what they're reading? I don't agree with this at all. Just my 2 cents.
game.speech_portrait_placement = 1; // enable custom offsets
game.speech_portrait_manual_placement
Quote from: ShinjinNakamura on Sun 23/06/2013 03:18:55For instance, in the case of your bubble graphic, you would simply use:
surface.DrawImage (100, 100, oDoor.Graphic, 40);
Where oDoor.Graphic is placed, how do I signify an object as a graphic? I assumed any object/picture/character we use always takes the form of a sprite.
surface.DrawImage (100, 100, 13);
function dialog_options_render(DialogOptionsRenderingInfo *info)
{
info.Surface.Clear(COLOR_TRANSPARENT); // Clear the area transparent
info.Surface.DrawImage(0, 0, 13); // Draws your cloud sprite behind the custom dialog render
int i = 1, ypos = 0;
while (i <= info.DialogToRender.OptionCount) // Render all the options that are enabled
{
if (info.DialogToRender.GetOptionState(i) == eOptionOn)
{
if (info.ActiveOptionID == i) info.Surface.DrawingColor = 13;
else info.Surface.DrawingColor = 4;
info.Surface.DrawStringWrapped(5, ypos, info.Width - 10, eFontFont0, eAlignLeft, info.DialogToRender.GetOptionText(i));
ypos += GetTextHeight(info.DialogToRender.GetOptionText(i), eFontFont0, info.Width - 10);
}
i++;
}
QuoteDrawImageCode: ags DrawingSurface *surface = Room.GetDrawingSurfaceForBackground(); surface.DrawImage(100, 100, oDoor.Graphic, 40); surface.Release();
Quote
GetDrawingSurface (dynamic sprite)Code: ags DynamicSprite *sprite = DynamicSprite.CreateFromExistingSprite(object[0].Graphic); DrawingSurface *surface = sprite.GetDrawingSurface(); surface.DrawingColor = 13; surface.DrawLine(0, 0, 20, 20); surface.Release(); object[0].Graphic = sprite.Graphic; Wait(40); sprite.Delete();
QuoteCharacters are not saved in room, they are global objects.d) the sprites assigned to the characters that are in the new room (as long as they weren't travelling with you, AGS has to load their sprites into memory).
function room_RepExec()
{
if (!cBoram.Moving) { // condition continues if he's not moving
if (cBoram.y != 380) cBoram.Move(705, 380, eNoBlock, eAnywhere);
else cBoram.Move(705, 370, eNoBlock, eAnywhere);
}
}
Quote from: frenzykitty on Tue 18/06/2013 16:48:38Mine was Loom and Monkey Island wrapped and sold together, given to me and my brothers at Christmas. At first I had called it Monkey Is-land.
I can still remember the first game I ever got (my dad bought it for me on my birthday) was Maniac Mansion
Quote from: monkey_05_06 on Tue 18/06/2013 01:29:09I saw this coming before I even finished reading your post. I'll say this again: I wholeheartedly prefer C# over Java. I had only suggested Java in the first place because of C# requiring .NET (and it being Microsoft - whom you hate). That and how Java is universally accepted on all OS.
But Ryan Timothy can take ahold of his precious Java and take a running leap.
Quote from: Calin Leafshade on Tue 18/06/2013 02:33:17That's exactly what I was going to say after reading Monkey's post. The challenge alone, if I were as capable as CJ, would've steered me towards making my own scripting language as well.
My guess is that CJ simply wanted the challenge of making a language and compiler from scratch
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.250 seconds with 15 queries.