Arima's Forum Posts

  • amirai.net/bugs/loopswithoutloopsbug.zip

    Apparently having an object overlap multiple instances of another object and doing a collision check causes a 'for each object' loop to run even though there's no condition for it.

    Happens on chrome, IE, FF. Vista 32 bit.

  • Yeah, it still works that way. There are some gaming keyboards I've heard of that fix the problem, but most people don't have them.

  • Yep. Global objects aren't destroyed when switching layouts.

  • Drat. Oh well, thanks for the info.

  • Hmm, thanks for the info. I can't play with it myself though because I don't have a device to test it on.

  • Try it with a thousand bullets. Or make it so it makes more and more of them until the fps dips. Make them invisible too, so the results aren't affected by the rendering speed. The behavior is probably faster, regardless.

  • A behavior could do that as well, like the bullet behavior.

  • Thanks, no prob. :)

    As for a place to put the topic, not really - you can just edit the title if you want.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Because of their directcanvas technology - the stuff that accelerates rendering, physics, and improves audio, which phonegap doesn't have.

  • for each bullet

    enemy: is UID equal to bullet('uid')

    • set angle of bullet to position: enemy.x, enemy.y
  • I'm not sure about most of your questions, but you might want to try Appmobi. They claim using it significantly increases rendering speed, physics calculations and has multi channel audio. I haven't used it though, so I'm not sure about how easy it is to use.

  • Has anyone tried Appmobi? http://www.appmobi.com/?q=node/167

    They claim using it significantly increases rendering speed, physics calculations and has multi channel audio. This could solve most of the problems deploying HTML5 games on iOS.

    Does anyone know if games made with C2 need to be modified after export to take advantage of this? Could it be built in to C2 like phonegap?

  • You can store the UID of the enemy as a variable in the bullet, then aim the bullet at the enemy with the right UID.

  • Ragtime - You're not the only one who would use it, I want that feature too.

  • I understand your frustration. Frustration is a big part of game development however, and you're going to have to learn to keep your cool, because it happens often. Encountering bugs in tools is something that even professional game developers have to deal with using pro middleware that costs thousands and thousands of dollars (I've heard them talk about it). Ashley is extremely responsive in fixing the bugs. Some of those pro companies making middleware I've heard talked about aren't, leaving the game developers with no recourse but to try to work around it somehow.

    What if it is a bug in your events and not C2? Should Ashley spend all that time fixing the bugs in their users projects? Especially if that bug is complex, in a complex game. I had a weird bug that took me months to fix in my RPG. It seemed to make no sense, but I eventually figured out what it was doing. It's unreasonable to ask Ashley to dig through thousands of lines of code to find bugs that might not be bugs in construct.

    It shouldn't take that long to strip it down to the bare essentials of what causes the bug, because you coded it and you know what does what. You can delete an entire half of the code in one shot and run it for example, if it's still there than you know what half of the code the bug is in. Considering the mountain of work that goes into game development, it's not that much work to do. And besides, think of all the time that they're saving you making C2 so you don't have to code your game from scratch yourself!