jbmoyer's Forum Posts

  • So I am buildign a child learning game, count the X animal select the number. But what I am lookign to do is to have say four rows of "count the X animal, select the number" so the issue is, I have 9 objects/sprites, 1 for each number png and I want to have four rows all which corrispond to a different animal, see below.

    Example:

    How many Sheep are there? 1 2 3 4 5 6 7 8 9

    How man Cows are there? 1 2 3 4 5 6 7 8 9

    How many Ducks are there? 1 2 3 4 5 6 7 8 9

    so if I have one object/sprite for Number 1 how can I tell if they child clicked on #1 in row 1 or 2 or 3? Families sound like a possibility, but not sure.

    I do have a function where on click of a number params are passed to determine what number what pressed, but cant do that if I dont have multiple objects/sprites. And I know I can just clone 1-9 but I rather not have 28 images when I only need 9.

    Help Please!

    Brett

  • Correct, but those are either the out of box ones or one you create with the JDK. I can surely create what I am thinking with the JDK but its way overkill and not as flexible. Ok thanks maybe the next version :)

    Thanks

    Brett

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So I am new and trying to get better at C2 and wanted to see how you manage your Event Sheets. What are some common/best practice's? Things you have seen work better etc.. Do you have an Event Sheet for every layout or one for everything.

    Thanks

    Brett

  • Functions are close, but the real benefit of the behaviors in Stencyl is that they are exactly like the behaviors in C2. They are cross application, you update one codebase and "if you recompile" your app then it will get the updates. But the key difference between the two Stencyl and C2 is that in Stencyl you can create them on the fly and save.

    For Example: Create Behavior, add a bunch of events (much like you functions), Save. then you just insert it into your apps.

    Take C2 Functions and add a Save as Behavior option that would be great. Then you can Insert that Behavior into any app you build.

    I apologize for mentioning Stencyl so much, it is a decent tool but I dropped it because the out of box examples were overly complex and were not reproducible, the out of box behaviors also didn't consistently work. As compared to C2, so far I have seen everything work as expected and am very impressed, the UI could use an improvement, but I am sure that will come with time.

    Thanks

    Brett

  • Does C2 have a way to create behaviors like behaviors in Stencyl? In stencyl a behavior is just a collection of events that you can save and reuse across projects like the behaviors in C2. I know we can build custom plugins and behaviors with jdk but that is a little complicated and not the same as above. This would be a huge bonus if added or if it already exists. I love C2 way more then stencyl deleted itin fact he main problem it has is its stuff doesn't work itsnot reusable out of box.

    Thanks

    Brett

  • Wow, outstanding you went above and beyond thank you. I totally forgot about Functions that makes total sense. Thank you, owe you

    Brett

  • So I am trying to learn and am building old school space invaders. So I want to show the remaining life (Number of Ships) the player has and I cant get it. I am for sure way over thinking, that is my MO, help please.

    I would like to display an icon for each Life the player has remaining, start with 3. Each time player loses a life, remove an icon. Simple enough but in C2, How?

    I first thought, oh easy just do a For loop create 3 icons, then remove 1 each time player loses life. BUT destroy removes all 3 in one swoop.

    How can I post an img to show you my logic? I also don't also get how and when "System" is executed, it is every tick?

    Thanks

    Brett

    <img src="https://www.dropbox.com/s/hjitf08re77tzek/forumhelp.png" border="0" />

  • Hello, So this has been working for hours and now when I hit run it tries to connect then either fails with "webpage not available" or the whole computer freezes and I need to force reboot. Any ideas, totally dont get it and this sucks really want to develop with C2, I went through the one article by Ashley talking about the different options. :(

    Thanks

    Brett.

  • So I saw a post about if you want to do a Melee Attack one good way is to onClick of a Key Create a Object(Sword), play its animation, Check for Collisions during the animation, Remove object.

    So unless there is another or better way can someone help with with creating that logic in C2? I can Spawn an Object and I can Create an Object but how do you tell it to in X remove it? Do you do a timers, wait X seconds then remove? that seems odd you could have tons of them that all have different wait timers. :( Help.

    Thank you

    Brett

  • ok I'm stupid must have been tired before or you came to my house and changed it :)

  • I can drg/drop actions but it dosent see to let you drag conditions let me keep trying.

  • Hello, I am new to construct2, looks to have potential and seem to be a good tool, but I need help with the Events Interface. I have been going through the tutorials and I am somewhat struggling with adding/editing events.

    Is there a way to drag a condition out from being a child of another? or the converse drag a condition and make it a child of another? the only way I have found to be able to do it is to Cut/paste. Thanks.

    Brett.