tarek2's Recent Forum Activity

  • Here I found the best Tutorial for you

    https://www.scirra.com/manual/75/how-events-work

    Especially look at "Unreferenced objects"

  • tarek2 Yeah, I ran into this problem also. It's set to choose a number every 1.2 seconds because that's the spawn time of the pillars. Would you mind explaining a little bit about this PrePick? Or just point me to some guide/tutorial? :)

    Sure, basically if you have more than one instance of an object, in this case Pillarup, and you need to refer to a specific Pillarup then you need to Pick first which one it is on the condition other ways will count as an "unreferenced" object and if this happens c2/c3 it will automatically apply all those Actions to (Pillarup Instance = 0) which is the first instance created of those Pillarup as it doesn't know to which instance you are referring to so it will pick automatically for you (instance= 0)

    I hope I explained properly and it's not confusing

  • tarek2 Yeah, just found that out after changing the random to choose, hahahaha. I haven't used else or triggers yet, but I'm gonna take a look on those. Thanks man!

    No problem mate

    Another problem you may run into its Referencing to Pillarup if its more than one object and you don't PrePick The Pillar, this I'm not sure if you Pick or you just have one Pillar in the whole level as I cannot see the rest of the events but it is something to look into it.

    I hope it helps good luck mate

  • Also, you should put an Else

    And a Trigger once on each condition other ways you will spawn like 60 to 80 powerUps as you change the powerUp value every 1.2 sec

  • You know that you can save the TileMap As.Json and then load from As.Json right?

    I wanted to say that but I'm pretty sure you knew it already but I thought I will mention it just in case

    Capx:

    https://www.dropbox.com/s/pddfi7qwobp5tp6/Save%20TileMap%20AsJson.capx?dl=0

  • awesome. thanks a lot.

    No problem mate

    Edit

    Sorry its all good I got confused with something else :)

  • sir LoLz

    Set the Size First off the whole Array then update the Array with the For Loop

    I made a capx for you:

    https://www.dropbox.com/s/6skq3ngysl7880j/Save%20TileMap%20Into%20an%20Array.capx?dl=0

  • No Problem mate :)

  • RobertoFreemano use Timers instead of Wait it will give you better results.

    it is something like this you need?

    https://www.dropbox.com/s/cgds63gl4mhk3gq/Shoots%20With%20Timers.capx?dl=0

  • You can use instances Variables,

    Add an Instance Variable = "Weight" to the Objects to be carried

    And then Add Two instance Variable to the Bags = "MaxWeight" & "CurrentWeight"

    Example:

    Nife = 20

    Cooking Pot = 100

    Helmet = 100

    wardrobe = 50.000

    Lets say that the Bag has already inside (Nife, Cooking Pot, Helmet) so

    CurrentWeight = 220

    BagMaxWeight = 300

    Now say you wanna add another Item, in this case, the wardrobe as an example

    on your Trigger to add the Items to the Bags first check or compare the "BagMaxWeight "

    Bag: compare instance variable = "BagMaxWeight " is greater than

    Bag.CurrentWeight + wardrobe.Weight ?

    -If not you cant ad the object

    -if yes then add the object to the Bag & add the object.Weight to the "Bag.CurrentWeight"

    If you ever want to drop an Object

    Remove the Weight of the object from the Bag

    Bag subtract from "CurrentWeight" >>>>>>>>object.weight

    If I didn't understand your question properly let me know

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The Good one: Mobile exporter

    The Good one: Performance

    A bad really bad one: This one made stop using c3 as it got me really stress>>>is the Preview over Wifi it nearly killed me, honestly I can open projects on C2 any size 100 mb 200mb and up in seconds on my devices over Wifi but with C3 projects less than half Megabyte it was taking like 10 to 15 min and Plus counting that it was crushing a lot of times so you have retry from the beginning this is just for one simple Test, but it must be only me that I was unlucky as I can't see anyone working like that for a long Time and the fact that no one Reported it its really weird so I said probably I got bad luck, But Definitely you can't work like that I hope they fixed it already. normally when I use c2 I hit the Test button like 10000 times a day so you can imagine if you are limited by the Play hits as you don't wanna wait there like x amount of time just for one Test. They should have included both the one that we have on c2 for home Testing which is pretty fast and the one that they added in C3 for external testing like giving to someone far away to test over the internet

    Those are my three from the top of my head

  • Ashley fixed the Set Angle bug for bullet in r130

    https://github.com/Scirra/Construct-3-bugs/issues/2420

    So now it behaves just like C2 runtime as expected.

    Nice! so it was C3 then the one faulty :)

    let's spread the word for more votes!

    Yeah man Facebook, Twitter, youtube etc...hehe

    To be honest we should get some of the votes from the Pull that made 40+ that will be fair for us as it took one year almost to collect those 40+ votes we shouldn't have to start from the beginning but heee that's Life in it :)

tarek2's avatar

tarek2

Early Adopter

Member since 26 Jan, 2016

Twitter
tarek2 has 12 followers

Trophy Case

  • 8-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x5
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

15/44
How to earn trophies