Help Me On This... broblem

Get help using Construct 2

Post » Sat May 10, 2014 4:01 pm

I have object (inventory) which moves into my player-object when inventory is "open." It should be directly on top of player, but it moves too fast if player runs off from exact area.

Also Inventory won't show when it should to.

Events are:
===========
[Is GuiOpen] = Inventory: Set Visible
_____________= Inventory: Set position to Player (image point 0)

[X is GuiOpen] = Inventory: Set Invisible

[Is GuiOpen]
[On E pressed] = Set GuiOpen false

[X Is GuiOpen]
[On E pressed] = Set GuiOpen true

===========
for more information, here is dropbox link:
https://www.dropbox.com/s/zwi742zv4j3j8xd/rpg.capx

Can someone fix this?
~~~~Jabutosama
B
13
S
3
Posts: 68
Reputation: 1,414

Post » Sat May 10, 2014 6:13 pm

Is this what you want?

Please have in mind that since you want the inventory on-top of (the scrolling) player, the UI layer should also have to scroll, therefore it's parallax values can't be different from the Game layer values. I suggest moving the "inventory" object into a different layer and keep the UI with 0,0 parallax for static things like health bars, score and that kind of stuff
You do not have the required permissions to view the files attached to this post.
composer - multimedia artist
www.eli0s.com/en/
B
68
S
26
G
4
Posts: 1,146
Reputation: 9,649

Post » Mon May 12, 2014 4:41 pm

hmm... it says that it needs C2 r169, but newest download i find is r168.... would you be nice and put link to r169 download :3?
~~~~Jabutosama
B
13
S
3
Posts: 68
Reputation: 1,414

Post » Mon May 12, 2014 4:57 pm

There you go. You can always find the latest release here.

https://www.scirra.com/construct2/releases
composer - multimedia artist
www.eli0s.com/en/
B
68
S
26
G
4
Posts: 1,146
Reputation: 9,649

Post » Wed May 14, 2014 1:23 pm

Thank you by both of your messages. You helped & taught me so much :P
~~~~Jabutosama
B
13
S
3
Posts: 68
Reputation: 1,414

Post » Wed May 14, 2014 5:00 pm

Hmmm, I must have a split personality, but you are welcome :D
composer - multimedia artist
www.eli0s.com/en/
B
68
S
26
G
4
Posts: 1,146
Reputation: 9,649


Return to How do I....?

Who is online

Users browsing this forum: imothep85, KTML5 and 4 guests