brent_hamel's Forum Posts

  • Quick question, I've got my tiles all laid out, but when I tell the system to autotile them at start of layout, it locks up, is this a bug? Am I doing it in the wrong place? Or have C2 updates broken the behaviour for now?

  • Hey guys, quick question...

    I've created a tile-based lighting system (similar to minecraft/terraria) but I'm also using parallax scrolling to create depth, because the light sources are in different layers, their "reflected light" appears on layers with different scroll rates, and therefore becomes detached visually from the light source. Does anyone know a way I can compensate for this?

    Thanks in advance

    Brent

  • I'm afraid this isn't quite what I'm after... I'm looking for User Defined control. Something like this...

    Defining Control

    • user selects the option to customize controls
    • user selects the control "move left"
    • the system then waits for user input
    • the system returns a value for the first key the user presses
    • the system saves that value to the variable "moveLeft"
    • the system then saves that all to webstorage

    In Game Control

    • user presses a key
    • the system returns a value for the key pressed
    • the system compares that value to all the control variable values
    • if key pressed and the value of "moveLeft" are equal, then proceed...

    I've tried various ways of using both the Keyboard and Keycode plugins but I haven't got it working yet...

  • Sorry to bump guys, I'm still stuck and not making any headway at all, there's clearly something obvious I'm missing :S

  • Too hard for them to control perhaps?

  • Amen to that brother!

  • Not sure if anyone has played with this, or even cares for that matter lol, but I tried loading a project from my dropbox in the Nintendo 3DS Internet Browser and it did load the project, though the 3DS touch screen doesn't seem to register as a touch OR a mouse click... If someone was interested in exploring the potentially usability of Construct 2 with the N3DS browser, it could prove to be another interesting platform to include in browser game design.

  • My code is like this:

    System | On Start of Layout: AJAX - Request "http://api.ipinfodb.com/v3/ip-city/?key=(my api key)" (tag "Location")

    AJAX | On "Location" Progress : Text | Set text to "Working"

    AJAX | On "Location" Error : Text | Set text to "Error"

    AJAX | On "Location" Completed: Text | Set text to "Completed"

    this always returns "Error"

    according to the manual if I add "Access-Control-Allow-Origin: *" then it is supposed to allow cross-domain requests, but I can't seem to make it work, it just keeps returning "Error" in my Text field...

  • Hey guys,

    So I've read the manual entry about enabling AJAX requests to be cross-domain, yet I'm still getting errors. So there's SOMETHING I'm missing... What I'm trying to do is to request local weather information based on IP geolocation. No matter what I do, my requests return "error". Any ideas what I might be missing? As I said, I read the manual entry, and thought I followed it as instructed, but I'm not getting a change in results. I'm feeling very noob at the moment, help?

    Brent

  • also it worked like a charm :)

  • hmmmm, very interesting... I've always liked your style ROJO lol

  • hey guys, quick question,

    I may have missed this elsewhere, but I'm wondering if there's a way to reference the colors of specific pixels of a sprite. This is commonly used for level layouts and whatnot, and I'm just curious if there's a way to do it within Construct 2. Thanks :)

  • That's exactly my new plan lol, at this point I was just previewing to make sure a new set of events were working, and it made me panic a little lol, bu killing and restarting the browser seemed to have fixed it, I'll be keeping my eyes open to see if this is a recurring event, as I tend to have my browser open for days at a time without closing it (I'm too lazy to close, reopen pages when I've not finished with them lol)

  • Hmm, closing the browser completely and reopening it seems to make a big difference, I didn't realize chrome had a memory leak, when I checked in task manager, Chrome was using ridiculous resources that were stacking up over time even though nothing about browser content was changing.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • in addition, it appears that trying to reproduce a jump/fall system through events is just as fps damaging, I'm not sure why this would be causing issues though