Character appears twice, won't move, and object visibility problems.

Started by Alexis Vale, Wed 04/06/2003 15:05:45

Previous topic - Next topic

Alexis Vale

I should first introduce myself like it says I should under one of the read me topics. I am fifteen years old, I like good puzzles, I like to draw, and I like to run. The only adventure point and click games I have played are Broken Sword and Lure of the Temptress...and then there's Myst, Riven, and Exile. I got interested in making my own game when I wanted to play another adventure game (two days ago).

Now, I think it'd help if I explained what I'm trying to do for my first test game. It's another 'escape from the room' game. I'm trying to make it pretty simple. I have a mop, and a black bucket of paint. I want the character to pick up the mop, dump it into the paint, thus making it a mop with paint on it. Then I want them to paint a section of the wall and make a hole to escape, as through a door.

I have already accomplished making all the graphics. I have made it possible for the mop to be added to the inventory, then dumped into the bucket, then changed to a mop with paint on it. I found out two problems through all that. First, the character doesn't walk to the object...I know I'm supposed to tell the character to walk, but I can't find it...except under areas for the 'walk to' point. Second, I placed my character on a walking area, but when I tested the game the character is in the place I wanted it to be but there is another image of my character behind the false wall (see later problem).

Now I just have a question. How can I make it so the painted mop is used on a wall, that part of the wall dissapears, and a new wall with a hole appears? Should I use the object removed from room and visibility choices? Is there another way? I think I may be going about the problem wrong. This wall is accidentally transparent (can I remove having transparancy on a sprite?) and there is an image of my character behind him where the new hole-painted wall should be invisible.

Proskrito

the function that makes your character walk to an object is MoveCharacterToObject (CHARID, int object), look in the manual.
for the hole thing, i would draw the background without the hole, draw a hotspot over the wall and name it "wall" or whatever,  and make the hole as an object. Then, when the mop with paint interacts with the wall, turn the hole object on.
I didnt understand the other problem, sorry. :-\
And welcome to the community. :)

Scummbuddy

I think your double image problem is because when you made your character, you did not overwrite the default char, but you may have overwritten the walking sprites.  Go to the default char and change the starting room.
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

SMF spam blocked by CleanTalk