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

#1
Snarky/Khris
  Thank you so much for your assistance. I have got it to work now. I used the code from you guys but had the keyhole as a hotspot instead of an object and it worked a treat.

Many thanks

:cool:
#2
Hi Snarky.

Firstly, thanks for your reply.

I dont want anything as complicated as a key hole image over a background, just a command to look at the key hole, my character walks over, looks at the keyhole which then shows an image of the room behind the door :)

#3
And here comes my lack of understanding.

My keyhole is an object called oKeyhole. It is image 39 in a sprite subfolder called objects. The image I want it to display is image 40 in a sprite subfolder called rooms (I dont think the subfolder matters but I am trying to provide as much info as possible)

I have tried to find information on the overlay command but I am not coming up with much. I dont want you all to think I am abusing your kind nature in helping me. I have written the command ;

Overlay oKeyhole = Overlay.CreateGraphical(20, 20, oKeyhole_40, true);
  Wait(GetGameSpeed() * 3); // 3 seconds
  oKeyhole.Remove();

Any help is greatly received. And apologies for being a noob.

Lars
#4
Excellent.

Many thanks for your reply, I will give it a whirl tonight.

Very kind regards,
Lars
#5
Hi, long time reader, first time poster.

    I have the basics of making a game. I can create it, move from one room to another, pick up/look at objects blah blah blah.

What I really want to do next is my character looks through a key hole and see's what is on the other side of the door. And I will be damned im I can figure this out. I have put the image of the room in the sprites section but I cannot work out the command to display the image for x seconds before reverting back to the playable "room"

Any help would be greatly appreciated

I really hope this isnt the simplest question y'all have had.

Regards,
Lars
SMF spam blocked by CleanTalk