artbava's Forum Posts

  • First of all, congratulation Thehen for your Windows Phone plugin!

    I've downloaded it but i don't know where to install it. Inside the zip file there is 4 folders: Example, Plugin, Project and Windows Phone Plugin, and Inside this last one there is another 3 folders: Example, Plugin, Project. I really don't know where to put all this folders, sry...

    I know the path must be inside the Construct 2 folder>Exporters>HTML 5>Plugin, so I've tried to place all the files there but when startig C2 it gives me an error. Probably it should be placed on different locations (duh!)

    Would someone mind to explain me where should i place each of these folders, please? I've read the 'Windows Phone Games with Construct 2" tutorial, but as i don't know how to make it work, i couldn't follow it.

    Thanks in advance!

  • Sumykl,

    Thanks for your reply!

    I'm not using every tick, just the array loop 'for each X element'. I thought it could be an infinite loop, so after copying the values, i've deleted them to ensure that the array is completely empty and the loop won't continue. As i mentioned, it gave me better FPS, but not good enough. It is strange, and i'm really have no clue what may causing it. So i'm trying to do the same process with different events.

  • Hi,

    I'm using 'for each loop' to pick values of a one dimensional array and copy them to a 2 dimensional array. But the problem with 'for each loop' is that somehow it is slowing down my game FPS on mobile devices (about 15 FPS slower).

    I've done some testing disabling the 'for each loop' and the game runs smoothly (60 FPS). So i've tried to figure out how to do the same process without using the 'for each loop', but i couldn't. I've tried 'while loop' but wasn't able to make the copy work properly.

    The only noticeable improvement (with the 'for each loop') was made by deleting the current X value of the one dimensional array after copying it to the second array. But it still slowing down the game, although less than before.

    So my hope is to get some help on how to do this process without the 'for each loop', to see if the FPS may stand on 60. Any suggestion will be pretty much appreciated!

    Thanks!

  • artbava

    This isn't such a big issue. The first few posts have solutions how it's solved. I fail to see how this issue makes one foolish.

    Thank you very much guys!

    And sry if i didn't make myself clear. English is not my native language. Let me explain: i'm not feeling foolish about this issue, but for buying C2 too late, when there is so little effort to make it even better.

    I can live with this issue, but is not always that moving and event up and down would avoid it, specially when adding an event after a subevent of a subevent.

    I really appreciated your thoughts and help. Fortunately this community are full of helpful guys like you!

    Thanks again! Best wishes!

  • I can understand that, to be honest i was just trying to see if there is a hope for this issue. I feel a little disappointed for having purchased this software. I considered such an active community, didn't think the C2 were in this situation. What a pity! I feel a little foolish. Well, this means that we will no longer have significant updates for C2...

    Anyways i thank you shinkan and Ethan for your answers.

  • I don't believe this. If what you said is true It is a total disrespect for all C2 users, specially for new users like me. I hope you're wrong!

  • 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.