gregorysforster's Forum Posts

  • I want to choose which sail to pin based on some other info and then pin the correct sail accordingly to the boat.

  • In my game I am pinning different objects. So for example, I have 3 different kinds of sails and I want to pin them onto the boats. So I am still not getting it.... maybe I'm missing something

    Here's my .capx

    https://www.dropbox.com/s/jmop016tu57lj ... .capx?dl=0

    The instance variables are set. It's the pin function that im not getting.

  • 99Instances2Go I see what you're saying. I got all of it and then when I get to the end it doesn't add the "sail" with the same PinID to the selected objects list. So I can't select it as the thing I want to pin it to

    I'm super close though I can feel it! They are all set up with their instance variables and I ran it in debug mode and the two objects I want to pin have equal PinIDs but that last part is tripping me up. I can't get them together

  • TELLES0808 I have it so that each newly created object gets it's own instance variable. So the first object created is 1 and the next one is 2 and so on. But when I go to pin something to it it won't let me use expressions for the pin. It only lets me choose from a drop down list of objects that are already created. So my new objects haven't been created so I can't pin to them.

    Any ideas? "set position to object" and "pin to object" only let me choose from a dropdown box of already created objects. They don't let me use expressions

  • ahhhhhhhhh okay. Well I didn't know that. Thank you.

    I guess there's nothing I can do then

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Here is my game:

    https://www.scirra.com/arcade/music-gam ... iano-14282

    and you basically play piano with your keyboard.

    I'm running into the problem that certain keys won't play at the same time for some reason. For example, if you press q,e,t,u,o all at the same time they play together perfectly. But now try pressing e,r,i,o at the same time and only one note will play. Some notes won't play if they are played at the same time as others.

    Why would that be?

    They're all programmed the same way. And it can't be the number of keys because the q,e,t,u,o is 5 notes at once and that works fine. Any ideas would be greatly appreciated.

    Thanks

  • Thank you sir I got it.

    Tim Maia

  • Ahh okay thank you I see now. How do I tag a newly created object as something specific?

    Much appreciated

  • I have a game to learn English grammar. When you type in the word "he" and hit return the game turns it into a sprite, changes the color of the box, and adds a certain connector to it depending on it's part of speech. I'm having trouble with the connectors and pinning them to the new object....

    How do I pin a newly created object to another newly created object? Right now when I pin the connector to the sprite it is pinning it to the original one and not the newly created one.

    Sorry for the explanation, it is difficult to describe. Below is my capx and I've organized it hopefully so that you can see what is going on. I want the end result to be you typing in a sentence, the game turns each word into little puzzle pieces so that you can see if those words fit together and the sentence is grammatically correct

    https://drive.google.com/file/d/0B5nxe9 ... sp=sharing

    Any help is much appreciated, Thanks.

  • Here is my English grammar game:

    https://drive.google.com/file/d/0BwoMdS ... sp=sharing

    The idea is you type a sentence and then it breaks the words up into moveable sprites. I was wondering how to use a dictionary to change the background color of the sprites according to parts of speech. As it is right now they are all grey.

    Let's say pronouns are the color blue, verbs green, and adjectives are red. So if I type in "he is tall" then when the sprites are made "he" has a blue background, "is" has a green one, and "tall" has a red one.

    Any ideas for this? I know I can use the animation frames to change colors but I don't know how to set up a dictionary with the parts of speech and then have it read through them and change the frame accordingly.

    Thanks,

    Greg

  • korbaach Wow, that's fantastic. Thank you very much.

    I see you randomly assigned colors to them with the animation frames on the sprites. I want to, and know I know I can, assign certain parts of speech to their own specific colors.

    For example, I would want all pronouns to be blue. Pronouns being "I, you, he, she, it...etc". I can find a way to make them blue, but only because there aren't too many of them. I can say if text="you" or if text="he" then make it blue.....But with something where there are thousands of possibilities what would I do?

    If I wanted all verbs to be red, there are thousands of verbs in English, so I can't just enter them in like I did with the blue pronouns. How would I go about that? If it's even possible

    Thanks

    Greg

  • Ahhhh okay I see now, it's making the sprites from the array, and they are still in the array from the sentence before. Answered my own question.

    Thanks

  • Thank you very much. That's exactly what I needed. It's hard to know where to start on these projects.

    I took the example2 and I added a text box and changed it so that the text in the text box becomes the split text and it works great.

    I ran into this problem now: if you type "I love watching TV" and hit enter it works, it makes each word a sprite. But then if I type in something different and shorter after it still reads that last sentence, so if I type in "I have" and it enter it will spit out "I" "have" "watching" "TV". I'm studying up on arrays and different stuff in your event sheet i didn't understand so hopefully I figure the answer on my own but I figured I would ask.

    Thanks again, really appreciate it.

  • For my English grammar game (super exciting, I know) I have a text box. I want to type in a sentence, for example "I love fishing" and I want to hit return and turn the individual words in that sentence into sprites.

    So, after I hit return I have 3 different sprites, one that says "I", one that says "love", and one that says "fishing". Then you can move them around and rearrange the sentence and whatnot but I know how to do that part. I don't know how to get them from the text box to moveable sprites.

    Any help would be much appreciated.

    Thanks,

    Greg

  • C-7

    I understand the theory. Have it measure the degrees, and only trigger if it outside of my desired dead zone.

    How would I add the dead zone conditions?