Could use help with improving my inventory system

Get help using Construct 2

Post » Sun Oct 27, 2013 12:28 pm

It took me a little while to figure out how to work an inventory system to my liking, and I could use some help in improving it. Just in general, but I like to globalize this, as in not have to use the pick instance. I'm also working on an equipment/equiping, crafting, and hotbar systems, so input on those is appreciated too.

Screenshots are below for the setup, but here's also my capx if you want to see it in action, but it's +10 MB.
Click here!

Basics 1/3
Basics 2/3
Basics 3/3

Dragging
Zelda Gamekit (my project)



Example capxs:

Zelda-Style Inventory

Zelda Health

3-saveslot system

[url=https://www.dropbox.com/s/d4396pwak0oh7q6/ZeldaDialogueSystem.capx?dl=0]Zelda-like Dialogue[
B
51
S
24
G
30
Posts: 534
Reputation: 19,620

Post » Thu Oct 31, 2013 5:32 am

Any help, if anybody wants to take a look?
Zelda Gamekit (my project)



Example capxs:

Zelda-Style Inventory

Zelda Health

3-saveslot system

[url=https://www.dropbox.com/s/d4396pwak0oh7q6/ZeldaDialogueSystem.capx?dl=0]Zelda-like Dialogue[
B
51
S
24
G
30
Posts: 534
Reputation: 19,620

Post » Thu Oct 31, 2013 8:08 am

There is a problem with loading, you are preloading the audio in the music folder, while in fact I believe everything in this folder is streamed so you dont need to preload it... at least, that how I understood it. things in the Sounds folder on the other hand were not.

After having disabled your preloading, so the game actuaally tried to load, I got a browser error in firefox, so left it at that ...
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,572

Post » Thu Oct 31, 2013 9:39 am

What are you actually asking?

What is happening, what would you like to happen?

There is 300 events in your event-sheet, so what events do you want me (us)to look at and why?


I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Oct 31, 2013 7:18 pm

[QUOTE=lennaert] There is a problem with loading, you are preloading the audio in the music folder, while in fact I believe everything in this folder is streamed so you dont need to preload it... at least, that how I understood it. things in the Sounds folder on the other hand were not.

After having disabled your preloading, so the game actuaally tried to load, I got a browser error in firefox, so left it at that ...[/QUOTE]
I reuploaded the capx. Disabled the preloading, and try again or try Chrome...it loads fine for me, both in Chrome and Firefox.

[QUOTE=LittleStain] What are you actually asking?

What is happening, what would you like to happen?

There is 300 events in your event-sheet, so what events do you want me (us)to look at and why?


[/QUOTE]
Look at the event sheet. Groups>Gameplay>Inventory.
It works completely fine, I just want to know if there are improvements I can make with the events.
Zelda Gamekit (my project)



Example capxs:

Zelda-Style Inventory

Zelda Health

3-saveslot system

[url=https://www.dropbox.com/s/d4396pwak0oh7q6/ZeldaDialogueSystem.capx?dl=0]Zelda-like Dialogue[
B
51
S
24
G
30
Posts: 534
Reputation: 19,620

Post » Fri Nov 01, 2013 9:57 am

Well, because i'm using an older version, i really don't feel like checking the files out, but from a really quick glance at it, you could replace the series of repeated events with a function call (a separate object you have to add).

Furthermore, you could nest the 201 and 202 events (drag the one below slightly below the 201, when it becomes a sub-event, delete the common conditions). This could probably be done in other places too.

Sorry if this isn't much help, buddy... :/

Update.
Not related exactly to your inventory system, but you really should disable the retina display option - it's a performance hog.
Just check the results in the performance benchmark that was done for C2 a while ago. The difference was 20x in some cases.Stiivais2013-11-01 10:01:47
B
10
S
1
Posts: 163
Reputation: 1,436

Post » Fri Nov 01, 2013 1:00 pm

It's a bit cumbersome, anyway I can replace the pick instance with something better?
Zelda Gamekit (my project)



Example capxs:

Zelda-Style Inventory

Zelda Health

3-saveslot system

[url=https://www.dropbox.com/s/d4396pwak0oh7q6/ZeldaDialogueSystem.capx?dl=0]Zelda-like Dialogue[
B
51
S
24
G
30
Posts: 534
Reputation: 19,620

Post » Mon Nov 04, 2013 9:54 am

Anybody else want to help?
Zelda Gamekit (my project)



Example capxs:

Zelda-Style Inventory

Zelda Health

3-saveslot system

[url=https://www.dropbox.com/s/d4396pwak0oh7q6/ZeldaDialogueSystem.capx?dl=0]Zelda-like Dialogue[
B
51
S
24
G
30
Posts: 534
Reputation: 19,620


Return to How do I....?

Who is online

Users browsing this forum: arcab072081, Lisa999, RandomlyMooN and 8 guests