Need a kind person for help

Get help using Construct 2

Post » Wed Aug 22, 2012 8:44 pm

@Auntie Val: I'm sorry, but @ramones' tutorial arrays for beginners is the most comprehensive, step by step tutorial one could make about arrays.

It's full of screenshots and illustrations, I don't see what more you would need/expect.
It sounds to me you're maybe thinking arrays for something they are not.

The C2 requisite is about making events/conditions/actions, nothing more.

The tutorial itself, explains how to set up the arrays, store values in it, and then retrieve those values.
That's what arrays do/are for.

Kyatric2012-08-22 20:45:36
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,999
Reputation: 57,793

Post » Wed Aug 22, 2012 10:47 pm

Kyatric,
I'll go back and do the tutorial again, that I may find the steps I had difficulty with. There may be two tutorials called "arrays for beginners". I'll go check. I'm very much aware of what an array is. Do you think that possibly because you are capable of using C2 in your sleep, that you may have overlooked some steps in the tute that a raw beginner would not understand, yet comes second nature to you? Again I must aver that I mean no disrespect to the tute or Ramones, it just felt a bit to advanced to be called "beginner".
B
20
S
2
Posts: 257
Reputation: 2,431

Post » Thu Aug 23, 2012 4:30 am

Hi,
Yeah its me again. I started following the tutorial, but hit my first big snag right in the beginning on the first page under "Setting Values". The tutorial shows a panel titled "Add Action" with the system, array, and text, as its choices. To be honest I searched for quite some time (nearly 2 hrs) throughout the forums and website for a possible missing step. I thought you could only add an action following an event or condition. However the first step in the tutorial goes straight to an action panel. Should there be an event or condition to build from? I do not know how to add an action with out it following an event or condition.
I'm curious how far Alexey made it into the tutorial, and or got his questions figured out. Anyhow that is probably the step that tripped me up the last time I tried out the tute. I quite confident though once I get the first part figured out, the rest of the tutorial will not be to difficult.
B
20
S
2
Posts: 257
Reputation: 2,431

Post » Thu Aug 23, 2012 7:23 am

I think as far as the tutorial goes you can put all the action described in a start of layout condition as there doesn't seem to be any interactive stuff (no input from the player) and no evolution in time (no animation or movement)
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

Post » Thu Aug 23, 2012 2:19 pm

Thank you Yan!
I was able to set up two arrays following the tutorial using "on start of layout" as you mentioned.

The tutorial then says...

To retrieve a value from the array we can use
     
   1| Array.At(index)

   This step baffles the dog donuts out of me as well.
   How do I use the line above?

Then the following step...

To set the variable animal to the first animal in the array:
there is an image of a panel titled...
"parameters for system: Set Value
           Not sure how to access that panel either.

However, I really do not have the time for this right now. Even with a basic understanding of events and actions, etc. I still cannot follow this tutorial on my own.
I'm done ripping into Alexey's thread.
I'm going to just wait for a step by step tutorial.
B
20
S
2
Posts: 257
Reputation: 2,431

Post » Thu Aug 23, 2012 3:00 pm

I see it's confusing because I wrote "Let's create an array..." and "Let's set the value...", which suggests that I want the reader to follow along in C2. But that wasn't my intention. I wanted the reader to just read the tutorial and the screenshots are there to illustrate what I'm talking about. I never imagined you would actually create an array called animals and set the first value to "cat". It was just an example, you know? That's why I didn't mention adding the array plugin or creating a condition. The answer to "where do I add that action?" is: anywhere you want. On start of layout, mouse click, every tick... it depends on your project and what you want to use the array for. But I can see where the confusion comes from.
B
54
S
28
G
18
Posts: 1,520
Reputation: 25,000

Post » Thu Aug 23, 2012 6:32 pm

Hi Ramones,
Thank you very much for your input. I was not following every step exactly as in your tutorial. However I thought by knowing how to access the panels in your guide, it would help me to navigate through the following processes. I was actually trying to set up chord arrays to store notes (sound file info). However I have a big weekend coming up, and as soon as I can get my browser to display the new effects, I'll probably be spending most of time working with those. I may just learn to do arrays in js first.
Again thanks Ramone I'm glad you seem to understand some of my frustration.
B
20
S
2
Posts: 257
Reputation: 2,431

Post » Fri Aug 24, 2012 1:28 am

@Auntie Val, I'm sorry you wasted nearly 2 hours on it. Feel free to PM me any specific questions if you like.


@AlexeyMak I put together an example of what you'd need to do to save your level data in an array and save/load that in webstorage.
levelArrayWebstorage.capx (r100)
B
54
S
28
G
18
Posts: 1,520
Reputation: 25,000

Post » Fri Aug 24, 2012 2:06 am

[QUOTE=ramones] @Auntie Val, I'm sorry you wasted nearly 2 hours on it. Feel free to PM me any specific questions if you like.


@AlexeyMak I put together an example of what you'd need to do to save your level data in an array and save/load that in webstorage.
levelArrayWebstorage.capx (r100)[/QUOTE]

Thank you so much!
B
21
S
4
G
1
Posts: 59
Reputation: 5,122

Post » Fri Aug 31, 2012 10:46 pm

@Ramones,
Thank you for you offer of guidance. I just got back from vacation, and appreciate seeing your invite to learn more. I'll holler when I need a hand.
B
20
S
2
Posts: 257
Reputation: 2,431

PreviousNext

Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go and 21 guests