Simple Point&Click Inventory Mechanics

Forum Home Forum Home > Construct 2 General > How do I....?
 Post Reply Post Reply
Author
556 Rep
Post Options Post Options   Quote hayungs Quote  Post ReplyReply Direct Link To This Post Topic: Simple Point&Click Inventory Mechanics
    Posted: 21 Nov 2011 at 1:44pm
Hi guys,
I'm really new to construct, so excuse my noobness.
I already searched the forums, but can't find something fitting.

I just have a static screen with a baground-picture.
Now I want to place objects there you can collect by clicking on them and they will appear in you inventory box.
Like in monkey island you know, but without a moving character.
I only found Mikey's Adventure Tutorial, which looks like a little too complex.

Do you have any tutorials for point&click mechanics or general
advice, how I should handle this?
Back to Top
6,861 Rep
Post Options Post Options   Quote Wastrel Quote  Post ReplyReply Direct Link To This Post Posted: 21 Nov 2011 at 4:22pm
hayungs, is this what you mean?

Click Inventory Example
Don't see the fnords and they won't eat you!
Back to Top
556 Rep
Post Options Post Options   Quote hayungs Quote  Post ReplyReply Direct Link To This Post Posted: 21 Nov 2011 at 5:13pm
Thx for your reply Wastrel.
Your example LOOKS like what I need, but it only imitates it.
It only changes the objects screen position on click.
I need something like: On-click -> remove item from screen -> let item appear on free position in inventorybox.
Later you should be able to use items from inventory with other objects on screen etc...
Back to Top
6,861 Rep
Post Options Post Options   Quote Wastrel Quote  Post ReplyReply Direct Link To This Post Posted: 21 Nov 2011 at 9:06pm
hayungs, I have updated the example to include what i think you are talking about. It's been a long while since I played anything like Monkey Island, so I'm a little unsure about the exact mechanics. This should get you started though.

Download from the link in my first post.
Don't see the fnords and they won't eat you!
Back to Top
556 Rep
Post Options Post Options   Quote hayungs Quote  Post ReplyReply Direct Link To This Post Posted: 21 Nov 2011 at 11:03pm
yes! that's looking very promising. Thx a lot.

We are looking for a game-programmer for this project, perhabs you could contact me via hayungs.de

Edited by hayungs - 21 Nov 2011 at 11:07pm
Back to Top
7,746 Rep
Post Options Post Options   Quote Wink Quote  Post ReplyReply Direct Link To This Post Posted: 21 Nov 2011 at 11:35pm
Nice work Wastrel. I also was thinking of making a point, and click style game. This will come in very handy I think for a lot of people. Thanks for the nice example.
Back to Top
6,861 Rep
Post Options Post Options   Quote Wastrel Quote  Post ReplyReply Direct Link To This Post Posted: 22 Nov 2011 at 3:47pm
Thanks @wink. C2 is really nice for throwing something together and having it turn out pretty well.
Don't see the fnords and they won't eat you!
Back to Top
1,445 Rep
Post Options Post Options   Quote 3division Quote  Post ReplyReply Direct Link To This Post Posted: 08 Dec 2012 at 7:17pm
Hi! I was looking for something like this and found this post.

What I would like to build is something like this example but that saves the items with name and value to a list on disk so you can call it back in other layout and combine items /use in other object. I don“t know if this can be done all using global variables or is it something else.
Back to Top
335 Rep
Post Options Post Options   Quote Kabobawsome Quote  Post ReplyReply Direct Link To This Post Posted: 13 Jan 2013 at 6:50pm
It can be done with WebStorage.
You just have to call it back later.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down