mahdi71's Recent Forum Activity

  • really whats wrong with cocoon.io !?!?!?!??!!?!

  • Well, in that case, it's easy to do it already. Sending a request is an action, simply wrap it with a call to a function.

    "your condition to send a request" > Call Function: "SendRequest" with param "tag"

    On "SendRequest" > push to array: Param0 and nowtime, ajax: send request

    yes i already use an function like sendajax

    but that way is cleaer

    anyway thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Do you mean a trigger that encompass all the other three ?

    no a trigger when i use ajax send ! when we use post to url action

    what i want to do is when i send an ajax request : i want to check if there is a long time like 5 or 10 second and ajax request still in progress or waiting (because of problem on server or net disconnects and ...) then i want to show a no wifi icon on my game

    i want to use it like this :

    on any send > push to array: tag and nowtime

    on any complete > pop from array: tag and nowtime

    every tick > if there is a tag with notime more than 5 second ago then show no wifi icon and prevent user from click things.

  • I know it's generally viewed as a "bad idea" but you could use a modified version of the plugin. Here, I've added 3 triggers (AnyCompleted, AnyError, AnyProgress) and an expression (LastTag) to the official AJAX plugin.

    https://dl.dropboxusercontent.com/u/7004246/ajaxEx.zip

    can you add an on any send trigger ?! i need it for check if there is a long time since ajax is sended for showing no wifi icon on screen !

  • I know it's generally viewed as a "bad idea" but you could use a modified version of the plugin. Here, I've added 3 triggers (AnyCompleted, AnyError, AnyProgress) and an expression (LastTag) to the official AJAX plugin.

    https://dl.dropboxusercontent.com/u/7004246/ajaxEx.zip

    thanks

    scirra must add this to ajax plugin

    i will test this, and use it if it was ok

  • > Read some tutorials, look at the manual, and/or do an actual proper search.

    > Your question isn't a clear one either, and is very broad.

    >

    I guess mahdi71 wants to have a condition On any error, On any progress, On any completed – without tags.

    Let's say you have 3 ajax requests, each one with a different tag (let's tag them "Req1", "Req2", "Req3").

    Now, the user would like to execute some actions, no matter on which request completed/error/progress. Right now, it seems like the only option is to have

    On "Req1" completed OR On "Req2" completed OR On "Req3" completed -> action[/code:3t5kzzs6] [b]but that's very time consuming if you have lots of requests/tags[/b].
    

    yes exactly

  • hi i really need any ajax progress and any ajax error ?

    ajax is one of the most important things in html5 why constrcut 2 have so little expressions and events for that !?

  • It's frustrating to be blamed for bugs in other people's software, and that specific iOS audio issue you referenced is the latest and strongest example of this.

    I am almost certain the bug is in either Safari or the iOS operating system In this case, it doesn't matter what tool you use: anything at all that runs in Safari will be affected by the same bug. So I guess you can choose a different tool if you like, but you could easily run in to the same bug again, because the problem is in Safari or iOS, not Construct 2.

    I didn't even fix the bug, so I can't even take credit for that. It's impossible for us to fix problems in Apple's own software. All I did was found a crazy hack that seemed to work around the bug. So the bug is still there and Apple still need to fix it. Personally I regard this kind of hacking-around-bugs as beyond the call of duty - I'm sure there are companies out there who'd just say "we've reported it to Apple, hopefully iOS 10 fixes it" - but we go beyond that and try to work around (emphasis on work around - not fix) defects in other software we rely on where it's feasible to do so. Note it is not always feasible to do so. The fact this particular iOS bug is worked around pretty much amounts to luck.

    Usually someone then blames us for relying on certain tools or libraries which have bugs, but all software has bugs. It's naive to think that if we switch to some other library or framework, everything will suddenly work perfectly. Common suggestions are things like: why not use Haxe? It could have bugs, and we could equally be screwed by its bugs. Why not use {insert library here}? If it's not developed by companies as large as Apple, Google, and Microsoft, it's probably even less reliable. Why not write native code? Operating systems have bugs, and graphics drivers have severe bugs - we have direct experience of that, and they are often far worse than the kind of issue we just dealt with on iOS. They tend to be of the class "all devices with this GPU crash on startup", and there is no diagnostic information whatsoever. In the past we've literally resorted to desperately guessing solutions over a period of days, then ultimately given up. That actually happened with the Construct 2 editor in the early days (it uses OpenGL to render the layout view). Eventually months later we got a tip out of the blue, and we finally managed to work around it. Hardly a reliable approach, but there's little else we can do when it's not our code that's broken.

    I know this is super frustrating and when your games aren't working, you naturally look to us for support. However the nature of software development is everything - all platforms, frameworks, libraries - depend on a huge amount of third party code, and that code is as imperfect as everything else. It's implausible to expect any software company at all to magically fix everyone else's code. It affects everyone, regardless of their technology choices.

    FWIW Scirra has been larger than just me for a while now. Check the team page. We should be growing again soon as well.

    its not other people software it's your engine which is not fully capable , so face it and admit it

    c2 worst problem is html5, if it was native there was no problem ! or if there was then we could fix it.

    but , i like c2

  • hi,

    How do I check an app is installed in android device ?

    i found this cordova plugin : https://github.com/ohh2ahh/AppAvailability

    i whant to use cocoon.io so i con't use browser object !

    so how i do this ? i want to check that and send a function to construct 2 so i can tell that app is installed or not

  • As always scirra say : its not us !! Its your problem

  • glerikud

    RenatoB

    c2 already have 2.5D

    2.5D is 2D with isometric imeges !

    you really can make clash of clans with c2

  • mahdi71, Unreal 4 Lightning system is stronger than Unity. We tested Unity with different systems for previous projects and comparatively to Unreal 4, Unity pales.

    Now, I disagree with C3 having 3D. If its done externally like what can be found for C2 then why not, but I think C3 should continue focusing on 2D instead.

    After all not many users will be able to build 3D games.

    which version of unity you test on?

    look at "desert of kharak" night maps then you get why unity have better lighting system

    and what settings and shaders did you use ?

    can i see some pictures of unity vs unreal with same assets and same shaders lighting and settings?

    because unreal use so much shaders on default but in unity you must spend some time for shaders and shadows and ...

    and if construct 3 had 3D then more users will come

mahdi71's avatar

mahdi71

Member since 24 Aug, 2014

None one is following mahdi71 yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies