tarek2's Recent Forum Activity

  • I made a few examples yesterday but it didn't let me post it, had some Captchas problem not displaying but for some reason is working again today, I see that Kriand recommended the same thing but I will leave it just in case.

    This one the newly created asteroids can be destroyed right away by the second bullet

    https://www.dropbox.com/s/hotysc5m5be39dv/2-Bullet%20Multiple%20Hits%20only%20one%20To%20Count.capx?dl=0

    And this one the newly created asteroids cannot be destroyed right away by the second bullet, they have a Cooldown Timer 1 sec

    https://www.dropbox.com/s/6d8gax9crhdkrn4/1-Bullet%20Multiple%20Hits%20only%20one%20To%20Count.capx?dl=0

    Or

    if you need to destroy the Big asteroids just once and block the newly spawned asteroids so they don't get destroyed again just set the boolean to true the sooner you create the two objects on Event 6 and remove the timers and all that stuff you don't need it

  • it is working ok here, it must be something else interfering with your events but is hard to say without looking in your events, if you can share a minimal capx reproducing the problem someone can have a look and help you much quicker in resolve the problem

    Test this capx see if it works for you

    https://www.dropbox.com/s/pa935q9tcujiwg7/Flash%20Behaivor%20Test.capx?dl=0

  • let me try this again. so there are 2 boxes. one is on top of the other. if the bottom box move, the bottom box will carry the top box. I dont want the bottom box carrying the top box. I want the top box just fall down if the bottom box move out.

    is a bit tricky this one, here is my attempt

    is a C2 Capx but you can open it on C3 also I'm not sure if this is free of bugs is been done quick

    https://www.dropbox.com/s/akxel0s6830ivhj/Solid%20Box%20%28Stop%20or%20Keep%20Faling%29%20on%20hit%20solids%20Objects.capx?dl=0

  • Yeah, I do have an idea.

    It seems I haven't fully ported some actions. Will try to fix it as soon as I can.

    Cool Thank you, I will keep an eye

    By the way, nice rig! A GTX 1070 huh... I only use a GTX 1050.

    Haah Thank you :)

    Funny before I bought it I wanted to Play desperately all the AAA Games and since I bought it I lost total interest in play them haha, I'm not sure if because I'm really tired of making Games or because I'm getting old is so weird :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I went ahead and tried one of my projects that uses MoveTo Behaviour with the C3 New Run Time and it gave me a black screen, the Logs it shows me that error is related to MoveTo Behaviour but I'm not sure if its something to do with my events or the Plugin, do you have any idea what it could be??

    I'm not sure if this can be of any help

    https://www.dropbox.com/s/okrot7fk1v12sb6/Image%20001.png?dl=0

    https://www.dropbox.com/s/vk5nmjz5skogjbj/Image%20002.png?dl=0

    Thanks

  • Awesome!! Thanks a lot for the Pluggings especially The "Rex_MoveTo"

    I can finally test my projects with the (c3 New Run Time) as all my projects use the MoveTo Behaviour

    Nice Share :))))

    You should share this thread in the main C3 "General Discussion" so more people can see it, Many people don't visit much this section like myself, I found this thread by casualty other ways I wouldn't know there is a MoveTo for C3 New Run Time, just my 2cents

  • This thread is about C3, not C2. Any export issues in C2 will be a separate issue.

    Ok cool, I thought that it may it could be related and help investigate the problem but now that I read the twg comment again I think I misread the Part where he says "HTML5 exports failing" he wasn't axially talking about an Error log with "HTML5 exports failing" like in my case that I got the error Log with the exact same words "HTML5 exports failing" that's why I linked both issues as both c3 & c2 uses the same engine

  • Weird Yesterday I been experiencing this exact problem but with C2 after I update to the last beta R261

    I find it weird because I was just trying to Preview the Game and not exporting it so It couldn't load the Game and it was displaying the Error "HTML5 exports failing" which I found it very strange because I wasn't exporting anything just previewing, I'm not sure if this is related to this thread though.

    I had like 5 Capx projects open but the Preview problem it was just affecting one of them only

    ho yeah apart from "HTML5 exports failing" it was saying something about js Missing, I should have taken a Picture to post it here

  • R0J0hound dop2000 Awesome Ideas Thank you guys I really appreciate your help

    I was really hoping to avoid any extra loops as the problem is that I have to modify many variables at the same time using a Loop quite often, not just one and with this, I have to create a Loop inside a Loop for each variable it will be a bit overkill

    Dop2000 thanks for the Link I did run some testing with Regex but it doesn't work for me is probably me that I haven't got much experience with Regex I just starting experimenting with it the last two days I have no idea how it works though.

    If any of you have any Idea how to make it work with regex will be awesome

    This is what I got so far using the example on the link

    Capx:

    https://www.dropbox.com/s/mj3380lz01womdq/Regex%20Problem1.capx?dl=0

    Thanks Again

  • Hi there,

    Is there any way to Replace a Value inside a string that is separated by a comma ","

    Example:

    Global Variable as a Txt

    Prizes: "1, 3, 5, Top, 6, 6, 6"

    if I need to change the index 4 which is equal to the first 6 and swap it with 9

    The Result will be >>> Prizes: "1, 3, 5, Top, 9, 6, 6"

    I tried already with Expressions (Replace and Regex) but I couldn't get it to work and I couldn't find the answer searching on the Forum either

    I have been a few days with this but no luck I tried things like

    replace(Prizes, tokenat(Prizes, 4, ",") , "9")

    Thanks

  • q3olegka

    I'm not sure if you haven't checked yet but Has been an Update for C3 today, especially check the part

    Performance: C3 runtime: optimise creating and destroying large numbers of instances with behaviours

    https://www.construct.net/wf/make-games/releases/beta/r112

    I guess it was something to do with creating and destroying objects, it should work about the same FPs now.

    Still, on my test, the C2 works just slighter better and smoother as the C3 test every 15 secs or so it drops from 75 to 68 Fps causing a bit of the junk while the c2 test is standing stable on 75 Fps

    is not much of a difference though, I'm pretty sure C3 will get better in the future

  • Is the deceleration you trying to do when the distance is less Than 50 is because you trying to stop the object? or because you trying to that effect?

    I wouldn't use the bullet either for this situation as Dop2000 said the bullet is more as a constant movement you need some behaviour that has more supports for deceleration

    Have you tried the (move at Angle)

    https://www.dropbox.com/s/13hebrbvquv6oo5/StopBulletOnDestination.capx?dl=0

    if you really need the deceleration when the distance is 50 or less just add another condition (Dist <= 50) and do the deceleration on there

    And here you don't really need the rotation like the bullet you can just set the Angle, you can remove the rotation if you like

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