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 - mikesdk

#1
Nope it shouldn't, as the game engine cycles are defined in the AGS runtime, not the scripting language. That being said.. if you stuff 30,000 lines of code in there I'm sure you'll see some slowdown, but with normal game scripting it shouldn't have any noteworthy impact.

#2

Oops, missed that one. But that leads me to the question: if DrawStringWrapped exists, why is the other one there with it's "obsolete" implementation?
#3
I was looking through the manual to see if I could come up with a clever way to make multi colored credit texts when I stumbled across DrawMessageWrapped. Great! I think, but then I notice.. It doesn't take a string input but an integer referrring to a... room message? Seeing as I'm using AGS 3.0.2 I am therefore somewhat puzzled, as I thought global AND room messages were done away with for good... How do I define a Room Message? Or better yet, why doesn't DrawMessageWrapped take a direct string input?

Mike

EDIT: Okay I found out where to do the room messages, but I think it would be best to do away with the backwardness of this function, in line with how DisplayMessage was changed to the much simpler Display.
#4

Wow, quick response.

Thanks a bunch, I'll give that a try right away :)
#5
Hi there,

I've been lurking the forums for a while as well as trying to get a handle of this beast called AGS. I've run into a problem:

I'm trying to change the background of a room (lit to unlit version) if the player picks up a specific item in there. I tried setting up an alternate background, but there doesn't seem to be any way to halt the animation loop between the two, which unfortunately produces the undesirable result of the backgrounds swapping regardless whether the player has picked up the item or not.

My question is this:

Is there any way that I can change the background via the scripting language, for example by putting it in the function for manipulating the object, or am I stuck with making a completely new room and "teleporting" the player there once he picks the item up?

Thanks,

Mike
SMF spam blocked by CleanTalk