tarek2's Recent Forum Activity

  • datiel12

    Something like this?

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

    you can organize everything under The Line Of Sight to save some extra checking

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

  • > Use "For each bee"?

    > Also, you need to organize your events a bit, there are too many small events, it will very soon become hard to keep track of them.

    > Move some of them under "On every tick", others under "Every 0.1s", create functions etc.

    > Something like this:

    >

    > Thanks for the tips. I tried for every bee but i got anerror at the beginning. The game still worked but the enemies didn't work...

    Matei511 you cant use the Active group that way as it would not work as intended or not work at all, as you use it with multiple instances of the same object is not like instances variables which they act independently so here once you deactivate the group you will deactivate for the whole bees and vice-versa, the Active and Deactive Group is best suited for one object like example for the player as is one object, or you can use it with multiple objects for specific things example the beginning and the end of some particular "Zone events" etc....

    The reason you will have problems activating it and deactivating it is:

    Because first the For Each will act for each instance independently so you gonna have the scenario where you have some Bees Angry and some not so this will a cause conflict as some they are firing Active group and some they are firing Deactive Group all at the same time so unless they are all the at same state example not Angry then it will work the deactivate the group and vice-versa and this will work as long as the trigger to deactivate groups is outside of that group because if are inside the group, once you the deactivate the group it will not be possible to activate it again as all the triggers to activate it are inside the group and the group is obviously is not active.

    One thing you can do is if the bees are in a particular area or zone then you can do:

    1-Before enter that zone where all the bees are, then place a dummy sprite to active the group bee controls

    2-At the end of that zone where are the bees you can have another dummy to the activate the group bee controls

  • DiabloOvermind

    No problem mate glad to help, don't worry it happens to everyone, to be honest, it wasn't easy to spot I had to read it a few times myself

    dop2000 give you a really good advice and very important one, it will make your life easier Debugging things

    Btw dop2000 Nice addicting game congrats

  • AndreasR

    if I remember correctly the Pin behavior is the same as Every Thick set position, so wouldn't be easier to do?

    Every Thick: object1 >>Set position to (base_object) image point 1

    like this doesn't matter where you place the image point in different animations as long that animation has the image point will be placed on the correct spot

  • DiabloOvermind

    Are the (Rocket_Projectile.UID) and (Towers) the same object??

    If not How do you link them?? I refer to the event 7 because the Rocket_Projectile when are created can have different UID unless you link them somewhere else that's the only thing I can see that doesn't make sense

    I see that in event 3 you pick up the instance variable from the bullet but on the Event 7 you pick up the UID of the Rocket_Projectile.UID which is a completely different thing, I think you meant to pick the Rocket_Projectile.(Instance Variable) and you picked up the UID by mistake

  • atmas

    This it may help you to get some ideas for Trafic Ai is pretty basic I'm sure is not what you want but I will leave it just in case you find something useful

    https://www.dropbox.com/s/sgrr2of0okr2s9e/GTA%20San%20Andreas%20Light%20%29.capx?dl=0

  • and if the 'front' is set to solid ---> the event doesn't trigger. Seriously?

    How do I fix this, this was supposed to be a vital mechanic (to be able to see walls, which are solids)

    (or am I just doing it wrong?)

    is not very clear what you trying to do

    1-if you set the Line of sight settings (obstacles) to "solid" and you made the (Front object "solid") too then nothing will happen because you blocking the line of sight

    2- Even if you remove the solid behavior from the (front object) and it works then the "Roof object" unless you have in a container you will destroy all the Roof objects

  • Artpunk

    Indeed that was really interesting and informative read Thank you so much for taking the time and sharing your experience and for all the awesome tips it will definitely be really helpful for all of us that are new to mobile development, and also was very inspiring to keep me working and pushing to that direction as most of the post you find related to Mobile are or had bad experiences so is very refreshing to hear positive experiences like yours to keep the motivation is like you game an Extra boost battery haha

    [quote:1elsurro]Sorry for the wall of text. I got on a roll.

    No man Keep Rolling don't be sorry post like this is like a Golden Mine and you don't find them very often well you don't find them at all, indeed will be nice to have a dedicated section just for the mobile development where you can find awesome Tips like this and people sharing their experiences will be great to hear from people that already have experience in that area

  • Looking awesome!! Congrats nice job

    Nice memories from Ghost & Goblins

    Wish you a lot success with your game

  • jobel

    I see, thanks a lot for the info I guess I will have to try it by myself because everyone has different results probably.

    [quote:uzfs0tk1]but honestly after hearing Artpunk talk about it, maybe I should keep at it. My game is mostly complete, so I'm leaning towards giving it another shot. I will update the thread on my progress.

    +1 will be awesome to see updates about this

  • jobel

    Thanks for sharing your experience really interesting I think post like this it should be sticky so all of you that have experience with developing to Apps can share the experiences and tips and all of that, I been trying to get into the mobile development and I been making for some time a game for mobile to try it and see how it looks like the adds IAP and all of that, after reading this and many more post I'm really thinking if is the right way to go as it sounds very depressing.

    Artpunk

    So do you think is still a viable method to make money, how is been your experiences with your Apps revenue etc... I don't ask the amount you make just a general it is good worth it, you know all that to have a general view.

    Also congrats for your game I have it on my iPhone and is really fun to play

    Also, this question is for everyone:

    I'm curious as I have the C3 license but waiting that they fix the adds, So all these problems that you guys have had happened only when you export with C2 exporters or will happen the same with C3 exporters swell?? basically is the c3 exporters any better and what are the differences between (c2 & c3) exporters or they are both the same

    I'm very curious on this

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • darkrealos

    You know what forget about my capx will not work either sorry for that, I just noticed that if you place three different groups of one Demon Vs one Human then this will happen:

    Two of that group of three will be waiting until that random pick>> it picks one from that group, meaning that Two of the groups it can be (Human overlapping Demon) and both of them not getting hit for several seconds because the pick random didn't pick them yet so they can be there fighting each other but not getting Damage.

    so basically this is a bigger problem than it looks jeje so now the question is how exactly you wanna to happen and how your game will be working, example:

    will it be different groups of Demons vs Humans fighting far from each other example first group here and another group at a farther distance if so how you wanna resolve the hittings Damages pick every 2 secs Random from each group independently or just pick one (demon and one human) from all the objects and apply the damage, you need to be more concrete here because there are many scenarios that can happen that can break the logic that you wanted in the first place

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