jimutt's Forum Posts

  • Thank you for your reply Ashley.

    I've followed the advice on the performance tips page and I'm running a system with a i5 2500k clocked at 4ghz, 8gb RAM and a GTX560 card with the latest drivers.

    Though the performance issues were quite logical as I had several hundreds of object instances and a lot of collision checking going on.

    But I've redone almost everything now when I'm familiar with the software so that it works more efficiently and uses about a third of the object amount. :)

  • I really like this game idea! :)

    I had no problems with destroying the turret when shooting it from the front. But I couldn't manage to destroy it while being above it and shooting down on it.

    Though I passed the level on my fourth try when I'd understood what I was supposed to do :P So I think the difficuly level is quite good :)

  • Thank you both! :)

  • Is there any way to check if an object DOES NOT collide with a specific other object?

    Or should I setup a collision condition and then use the "else" tag?

  • Yesterday was my first day working with this amazing piece of software. Though I was unfamiliar to everything and when used to programming I often made things more complicated than they needed to be because I didn't understand the capability of this clever system.

    Though I managed to put together something of an "ant simulator". Ants find their way to food by following pheromone trails made by other ants. And this is what I've tried to simulate here:

    http://utterstrom.co/AntFarm/

    You spawn ants by clicking the left mouse button. Make sure to spawn quite many ants for it to work correctly.

  • Ah, of course. well that explains it all. Thank you.:) Well then I guess I can't do anything to boost the performance.

  • Hi Tony!

    It's really a pity that no one have commenten on your game.

    I find it really interesting and I think you've really done a good work with it :)

    Though for me it seems like the game is based a bit too much on luck. But I guess that's most likely just because I suck at the game and have played it for too short. :P

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't really know in which forum part I should post this tread. So I'm sorry if I placed it wrong.

    As I'm working with web design I know the performance issues that HTML5 has. So it's quite understandable that my game is running quite slow as there are a lot of objects being spawned.

    But I opened the task manager to check how my hardware resources were used and at the state where the whole game was just lagging insanely I was still only using about 25% of my CPU power and about the same of my RAM. So obviously Firefox don't use all my computer's processing power for rendering the game.

    I'm wondering if anyone are familiar of any way to give the browser access to more system resources? Or something else causing this lag?

  • Thank you very much!

    That's exactly what I was looking for! :)

  • The "main objects" where moving around randomly. And when the collider that is pinned to the objects collides with an other object the "main object" which the collider is attached to is supposed to change direction.

    But when I tried this all "main objects" changed direction.

    I can maybe create a simple project showing my problem and upload it.

  • No, I'm sorry. Actually I haven't really checked out the AJAX feature in Construct 2. But as I'm a freelance web developer I've used AJAX an PHP together in many website project.

    Do you have any earlier experience in web development using Javascript or PHP? If not you might want to learn the basics of those languages before moving on to implement it in your game.

    EDIT: I just noticed that the AJAX feature in Construct 2 seem to be focused only for retrieving content and not passing variables. So I might have been wrong in what I told you earlier.

    But the best idea is to wait and see if someone else answers I think. I just began using Construct 2 so I haven't really got very big knowledge about the plugins available and such.

  • I'm wondering what the easisest way of adding more colliders to the same sprite is. Because I need the sprite to have a bigger collider when colliding with a specific type of object.

    I guess I need to create an other sprite and pin it to my object? I've tried that but when I attached it to my main sprite the main sprite stopped acting like an instance and all sprites with pinned collider sprides acted the same.

    I would really appreciate an example of how to do this while preserving all sprites as instances :)

  • If you combine ajax with some PHP the answer is YES to your questions.

    And as you were not asking about how to do it I guess you're happy with that answer..

    Otherwise it would have been a good idea to put some more effort in writing your questions.

  • Thank you for your replies. I'll just go with an other solution then. :)

    hylists: What you say is completely true. Though I wanted this mainly for a personal project where I would be the only player ;)

  • Hi,

    I'm wondering if there is any way to stop the mouse cursor from leaving the game screen?

    I want it to stick to the gamescreen unless you press escape.