Arima's Forum Posts

  • Occasionally games do run differently in debug mode. It isn't anything to worry about, and there isn't much that can be done about it either.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Same on my system. It seems to be an IE bug. It was discussed here: http://www.scirra.com/forum/r68-keyboard-controls-not-working-correctly_topic46305.html

    Try previewing in IE9, then after the window comes up, press f12 then reload the page. Does that make it work?

  • As I hear, android is a huge mess of varying hardware and software. That's likely why it works on some and not others. Apparently some phones don't even have floating point operations.

  • Lol, thanks man. :)

  • Here's an example for hexagonal pathfinding.

    As with other examples in CC, do not copy the objects or events from this .cap into your own! Copying objects or events between .caps is not supported in CC, and would likely render your .cap unusable. You'll either have to recreate the objects and events in this .cap in your own, or use this as a base to start from.

    Enjoy!

    http://www.amirai.net/forums/hexagonalpathfinding.zip

    Edit: updated with more comments and cleared out some unnecessary events.

  • Im guessing your problem has to do with global only meaning that the object will not be destroyed when going from one layout to another. That means at runtime if you have a global object on layout two, but your first layout is layout one, the global object will not be in your project until you go to layout two. It also won't be destroyed if you go back to layout one.

  • That seemed to be a constant source of confusion for people with CC because they didn't know it was there. Perhaps some sort of immediately apparent option that you don't have to right click to see is there?

  • Also construct classic's move in front of or behind object would be great as well.

  • You didn't get the badge because you didn't introduce yourself in this thread. Simply respond to this post and you'll get it.

  • Bug 1 - that's frustrating. Well, I hope they fix it soon.

    Bug 2 - At least for IE, I think it's a construct bug because a blank .capx works in version 67, but not in 68. Firefox 8 apparently hasn't worked since r65 (haven't tested earlier than that, though).

    R68 testing:

    IE9 - works the same as you described, doesn't work until f12 then refreshed.

    FF8 - Got this error when using the 'inspect' feature, but none otherwise:

    Warning: Use of attributes' nodeName attribute is deprecated. Use name instead.

    Source File: localhost/preview.html

    Line: 0

    As for bug number three, I don't even know. Sometimes it works repeatedly, sometimes it doesn't open, sometimes it opens chrome, sometimes it opens firefox. I haven't managed to find any pattern to it.

    Edit: actually, I found another couple of errors in firefox after testing bug 3, jumping between browsers, sometimes leaving multiple browsers open and sometimes not:

    Could not read chrome manifest file 'C:\Program Files\Mozilla Firefox 5\extensions\{972ce4c6-7e08-4474-a285-3208198ce6fd}\chrome.manifest'.

    Warning: XUL box for _moz_generated_content_after element contained an inline #text child, forcing all its children to be wrapped in a block.

    Source File: chrome://browser/content/browser.xul

    Line: 0

  • I updated my graphics card drivers and browsers - regardless, even trying to preview a blank .capx, firefox 8 and IE9 don't display anything other than the frame that surrounds the game. Doesn't matter if webGL is on or off for firefox.

  • Er, whoops - forgot to post the link. http://www.amirai.net/bugs/keyboardcontrolsbug.capx

  • No. Simply scroll up or down a bit, then try again. That's pretty much all that you can do about it.

  • http://www.amirai.net/bugs/keyboardcontrolsbug.capx

    There are 2-3 bugs with this .cap. First, make sure you test with chrome.

    BUG 1 - Keyboard control problem

    Run the .capx, click and hold down the left mouse button, and make sure to drag the mouse a bit afterwards - the bug doesn't happen if you only click without dragging. Then, without releasing the mouse button, press w, a, s or d to move the circle. Most of the time, there's about a half second delay before the ship actually moves.

    Release the mouse and key to 'reset' the bug, as it won't happen again until they're not pressed. Try again, this time moving the ship diagonally. The second key pressed works immediately, as the bug hits the first key pressed after the mouse is clicked and dragged.

    Occasionally the ship continues moving in a direction when a key is not pressed as well. I'm not sure how to reproduce that, though. Just moving around, changing directions quickly and clicking a lot often does it, and the ship only stops if you press the direction its moving in again.

    BUG 2 - Firefox and IE don't display anything

    Switch the preview browser to IE9, run it. Nothing appears in the window. Firefox doesn't display anything either.

    BUG 3 - IE sometimes doesn't open

    Also, after closing the IE window and rerunning the .capx, often IE doesn't open. It might be unrelated, but I also somehow got it to open chrome when IE was selected for the preview browser.

    Might be something quirky with how firefox is in an unconventional location on my computer, though (it was moved from its original install location), resulting in C2 being unable to preview in firefox.

    Vista, 32 bit, Nvidia 9800GT.

  • I like down and jump myself. I think having an action for it would be good so people could customize it, like:

    on jump pressed

    if down pressed

    • jump down through

    ...or something like that.