brent_hamel's Recent Forum Activity

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

  • Try Construct 3

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

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

  • Particles will definitely weigh down the system... the looping sprites to show rain works great, the old NES game Shadow of the Ninja uses that very well in the first stage. You could get away with a particle system if you a) built it yourself, the particle system plugin is way too resource intensive to be practical for rain, and b) do a bunch of testing to find the balance between number of rain drops, and how much it slows your game. But it can be done, so I'd say making the looping frames, but try making a particle system. If the homemade PS is too hard on the system, then you've already got the sprites as a fallback :)

  • What's happening, is that when a sprite is clicked, the system goes, ok whoischoosing = 1, and a sprite was clicked, so now we set whoischoosing = 2. But what the system does RIGHT after that is, oh, the sprite was clicked, and now whoischoosing = 2, so now we set whoischoosing = 3. So then right after that it sees that whoischoosing = 3 and goes to the next layout. That's why it does it all in one click, because every condition you have leads it to the next condition in the code. There are many ways to do it, but the way I would do would be something like:

    whoischoosing = 3: go to layout 1

    whoischoosing = 2

    --sprite1 is clicked: set player2 to sprite1

    ----------------------set whoischoosing to 3

    --sprite2 is clicked: set player2 to sprite2

    ----------------------set whoischoosing to 3

    whoischoosing = 1

    --sprite1 is clicked: set player1 to sprite1

    ----------------------set whoischoosing to 2

    --sprite2 is clicked: set player1 to sprite2

    ----------------------set whoischoosing to 2

    ...by doing it this way, the system has to check to make sure that whoischoosing doesn't = 2 or 3 before it checks anything else. Because whoischoosing = 1 events are at the bottom, the system has to run a new tick before it can check the whoischoosing = 2 events, and the same goes for whoischoosing = 3.

    I hope this helps and wasn't too long winded or hard to understand, if it was, please feel free to PM me and I can try to explain it more clearly :)

  • bump... no one has any ideas?

  • Hey guys,

    Just wondering if there's anyway I can set focus to an object at the start of a layout, specifically, I'm using iframe (which is 3rd party I know) to load a game I've made into an interactive application I'm making for a website with C2. When the layout loads, I have to click the iframe before I can send keyboard input into the game it's loaded, is there anyway I can set this focus so that my app can be completely mouseless? I'd like the same coming out of it as well, I'd like to be able to be in focus in the game, hit a specific key, and have the layout with the iframe transition back to the main layout of my app, right now I have to click out of the iframe before I can do this... any ideas?

    Thanks in advance,

    Brent

  • that way we can have a look at your project and help to point out any areas you might be running into trouble with

  • maybe post a .capx file so we can have a look

brent_hamel's avatar

brent_hamel

Member since 31 Dec, 2009

None one is following brent_hamel yet!

Trophy Case

  • 15-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

19/44
How to earn trophies