artbava's Recent Forum Activity

  • I'm having this issue as well, and btw is there already a solution for it, as this is a topic with more than 2 years old?

  • I'm not a very experienced user, but as far as i know, you have to create a family with the objects you want, and then right click on that family's folder and add an instance variable. After that, you select the object you want and change its value on properties panel to whatever you need. You can set a value of the instance for each of them.

    Sry if i misunderstand your question.

  • SilverForce,

    Thanks, i've created a family with an instance variable called "IsPriority" as you suggested and defined priority values to them. Then i picked targets by lowest "Ispriority". Now, how can i set the angle to the picked objects? ie, how may I refer to these objects in a set angle event or action expression?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have several targets named as Target1, Target2, Target3, ..., Target8 (these targets are static) however enemy's position changes on every shot, randomly. I would like to calculate the angle between the enemy and the targets to determine which one can be shot at without hitting the obstacles. However depending on the enemy's position, which is random, I wish he could choose priority targets. Targets have priority within each other, i.e., Target1 have priority over Target2 which has priority over the target3 and so on.

    I'm not using LOS cause even if the enemy has line of site of the target, sometimes the bullet could not pass between the obstacles, hitting them most of the times. (His bullet is much larger than the LOS and there is just small gaps between some obstacles).

    My questions are:

    1) How may i set the Target priority? - (nearest/furthest isn't doing the job, cause the priority targets are not always near or far, as enemy's position changes)

    2) Is it possible to create a variable, to change selected Target ? What I imagine, but can not do, at least with my little knowledge is: angle (enemy.X, enemy.Y, Target (T) .X, Target (T) .Y)

    In this case, assuming that it is not possible for the enemy to hit the Target1 I would simply add (T + 1) to calculate the angle between the Target2, and so on.

    I know this is a lot of work, maybe too advanced for a newbie like me, but if you may have some ideas, it will be great!

    Thanks!

  • I'm trying to create a game using the line of sight behavior. However two objects only have line of sight of each other if their respective image points origins are in line with no obstacle between them, if not, they will not be able to see each other even if part of the object can "theoretically" be seen.

    Is there any way to get around this, using line of sight or not?

    Thanks

  • Thanks! Mine is on default. Didn't changed anything yet.

    Edit (not to post again):

    Has occured me that the sluggish may be caused by some Steam process in the background, such as alerts (when a friend login or start a game), game updates (download), Steam overlay, and so on. I spent all day as offline (but online) so i did not get any of this alerts. Maybe it is just a coincidence, but Construct 2 didn't freezes or become sluggish until now.

    Best wishes!

  • Despite warnings not to buy Contruct 2 Steam version, I ended up buying it because I had problems trying to buy at Scirra's website. So I would like to share my little experience with you. The Steam version works great for me in a general way. I actually had the problems that has been reported here, however, I also work around it basically doing what TheRealDannyyy mentioned, but with a bit difference. In my case, when Construct 2 freezes or becomes sluggish, clicks does not seem to work on Construct's 2 window, despite mouse still works, so i can't minimize or do anything with clicks. To minimize Construct 2 as TheRealDannyyy said, i simply press Alt + Tab to switch window and then Alt + Tab again to return to Construct 2. This solves the problem instantly for me. I used Construct 2 all day long and could bypass the issue just doing that, but it only happened 2 or 3 times. I know that experiences may vary from user to user, but this work around has not caused me major hassles. I hope this could help you, and may also help developers to track down the issue.

    Just to give you some details, my sys specs (Intel i5 3570k, Windows 7 64 bit, 16 Gb ram, Radeon HD7870 2Gb).

    As i had only one day to use it, i'll let you know if something goes wrong. But i don't think so.

    Best whishes!

  • Thank you g3nki and TheRealDannyyy!

    G3nki, could you test what TheRealDannyyy said about Steam Overlay affecting autosave, and post here?

    TheRealDannyyy, if i understand your point, there is no difference between Scirra and Steam versions, at least as regards the functionality of Construct 2, isn't it? Btw, which version do you have?

    Best wishes!

  • Hi,

    I was about to buy personal license for construct 2 on steam for many reasons: there is a lot of payment options, and not to mention that Construct 2 price on Steam is about 25% less than on Scirra store, at least here in my country. But, unfortunately it seems that some users are experiencing some problems with the Steam version.

    Despite having done enough research here in the Forum, I could not get an idea if purchasing from Steam, I will have to go through the problems that others are facing. Some users say they have no problem with Steam version, others say they have. It gets complicated when the user need support and is caught in the middle of this situation...

    Quoting g3nki:

    [quote:19zrrn5s]Unfortunately, I don't know if this is a "steam"-specific issue as I haven't been able to isolate the bug. And I can see your point Kyatric. But as a consumer I still think it is Scirra's responsibility to solve this issue with Valve/Steam. If I went to Steam Support now, they would probably redirect me to you guys and it will be an endless blame-game in which I am caught up in the middle. The only thing I know is that I have bought Construct 2 and it doesn't work very well. (unfortunately).

    I totally agree with g3nki. Who decided to sell construct 2 on Steam was Scirra. So i think they should consider support steam users in the same way. If there is a problem with Steam, this should be solved by Scirra or at least by a joint effort with Steam to solve it. What makes no sense, it is the user not knowing where to turn.

    I ended up here:

    • Is there any difference between Scirra and Steam versions?
    • If Steam is not the proper place to run Construct 2, why not remove it from Steam?
    • I'm totally confused about what to do in this situation.

    I would like to buy Construct 2 personal from Steam, but only if I can be sure that I will not regret.

    Any help will be pretty much appreciated.

  • AllanR,

    I'm very grateful for your help. I spent some time messing with some variables and finally managed to get the result I wanted. In the end I learned a lot from it. You have been an excellent teacher, and I apologize for my inexperience, but as I said, now I feel a bit more ready for new discoveries. As soon as I finish the game, I'll send you a copy and your name will be in the credits as an important contributor. I know this does not mean much, because I do not know if you will like the game (or other people will), but know that your help meant a lot to me. Many thanks once again!

    You should write a tutorial, you are very good with that! If you have any material posted on some blog or on the Internet I would like to see it.

    All the best for you!

  • AllanR,

    I've noticed that in the first project code you've used custom movement, but not in the second one. Despite not using it, the ball still have custom movement behavior on its behavior list (probably from the previous project). But comparing them (codes and results) the first one has a progressive deceleration movement, which the second one doesn't. This deceleration is set by using custom movement speed*0.98 to ball, am i right? So, should i preserve the custom movement behavior and code to gradually decelerate the ball being able to fine tuning it according to my needs, or can i get a similar result without it? I did not notice the same effect on the ball deceleration just changing Linear damping or elasticity. Any tip or advice?

  • AllanR,

    You are awesome! Really appreciated your help! Thank you again! I will try it and let you know how i'm doing.

    Best wishes!!!

artbava's avatar

artbava

Member since 25 Aug, 2015

None one is following artbava yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies