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

Topics - PEd1

#1
So I've got a few characters in my game that are actually just part of the background art.
To set these up, I've got it so there is both a hotspot and a character.

The character is one transparent pixel and is in the same area as the hotspot.
When you "talk to" the hotspot, in the code the one-transparent-pixel character answers.

This is all working splendidly, EXCEPT for "GiveTo", which just doesn't work when trying to give anything to the hotspot.
It doesn't actually return any default responses to any hotspot in any room, and that's normally fine, but I want to be able to give items to this hotspot. So it just needs to work in this particular room.

Any way I can do this?
#2
So I have background animations and in "General Settings" I have "Default transition when changing rooms" set to "FadeOutAndIn"... (I am using the Tumbleweed template btw).

When my player enters the room, the animation is motionless during the fade-in (and any animations in the previous room are motionless during the fade-out of that room).

If I change the transition to "Instant" everything is moving right away...

Is there any way to have the FadeOutAndIn, but where the animations are already moving while the scene fades in?
#3
So there's a little problem I'm finding that's in my game, but can also be seen in the actual Tumbleweed demo game too...

When you go into the second room with the Hologram character, if you're not near him and you "Give" any item to the Hologram, the player character walks over to him to the correct spot, but then nothing else happens, it doesn't do the player saying his line and the Hologram responding.
It then works fine if you try it again, now that you're already nearer the character, he'll respond.

In my game, the same thing happens in any rooms that have a larger scrolling background. For all rooms that aren't scrolling, the "Give" works fine first time and runs perfectly from any distance.

Any way to fix this in the scrolling rooms?
I've tried putting a specific x, y place for the player to walk to, but that doesn't help, he still only walks over and then does nothing.
#4
Hi!

I'm making a game using the Tumbleweed template...

I've got most of it working and I know how to give an NPC a specific item and have them respond and give me a different item in return.
However, I am now stuck, as I don't know how to do this next bit -

I want an NPC to give the player an item but only once they've received four specific items from the player, and the player can give them the items in any order.

So, for example, the player has to give the NPC a cup, a fish, a plate, and a fork, and the NPC will take each of these items one by one, but will only give them an item in return, a key, after they've received all four items.
SMF spam blocked by CleanTalk