brent_hamel's Forum Posts

  • 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 :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • 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

  • just a quick mention, after noticing some strange performance issues in Chrome, I decided to try a test cap in each browser, 1 object using platform behaviour, 1 object using solid. As a result, with platform behaviour attached to the object, only Firefox and IE stayed above 60 fps. Every other browser dropped down into the low 20's. When removing platform from the object, all browsers were back to where they should be... any ideas? Did something in the platform behaviour change recently that makes it more of a hog? Can anyone else reproduce these results, perhaps it's just my machine (shouldn't be though)

  • Did the picking error bug from a few months ago ever get sorted out? The revision marked in the first post is the last one that was available back then. I love this plugin but the picking error got in the way of a lot of the things I was hoping to use it for. Any updates on that?

  • Ashley

    Zips are no good, because they need to be able to link to one file only for embedding and downloading, apparently opening a zip is too complicated for sponsors :S lol. I'm guessing this is just a relic of the fact its primarily a flash marketplace. You can wrap an entire game in a .swf file, so it's both self-contained, but immediately usable for sponsors.

    prinsukun

    interesting link, I'll investigate it more and report back for everyone

    Thanks for the replies!

  • Hey guys, I apologize if this has been answered elsewhere, but I've searched the forums and online and found nothing helpful. I've recently created an FGL account (Flash Games License) and have a Flash game I worked on up for bid. FGL only seems to accept single file apps, is there any way to do this with C2? I'd prefer to be using Construct 2 as I'm much more comfortable in it and find it a more streamlined and intuitive development environment, but I need to be able to wrap exported projects into a single container file. Any suggestions?

  • just use a "for each" loop, that should handle each instance separately, instead of having them all shoot at the same time.

    For Each Object "enemy":

    --Every "enemy2.firerate" Seconds: enemy2 - spawn bullet