jimutt's Recent Forum Activity

  • I just noticed that if I set the Bot to face the left obstacle it only retrieves the distance for that object. So basically it only "sees" the object which it first looks at.

    I hope someone will be able to help me with that.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Construct 2 doesn't have built in solution for multiplayer games. Though it is possible to make them. But you need your own server for running the game and a lot of work is required.

    So if you have no previous knowledge of programming and working in server environments I would not suggest you to do it.

  • I guess you didn't really understand what I was asking for. All the angles are set up correctly. That is not the problem.

    The problem is that if you run the program you will see that we only get a distance reading from the right obstacle. And when the Bot object is facing the left obstacle we get no distance.

    So the problem is that it only gets the distance from one of the object instances.

  • Hmm..

    I'm having some issues with this. I've set up a simple example to show it:

    https://dl.dropbox.com/u/82642456/obstacle.capx

    The idea is to get the distance to the Obstacle object in the set angle. Though this only applies for one of the object instances. What have I done wrong?

  • Thank you! :)

    Though it isn't really the most logical thing to get the word "tower" in my head when I'm looking for this ;)

    Though your example is not doing what I'm looking for. This is just auto-rotating a turrent towards the player and then fireing of a bullet. What I'm creating is something of a "vision" system. And I need to detect whether the object is in a given "angle range".

    Here is an example of what I mean: dl.dropbox.com/u/82642456/vision.jpg

    EDIT: But actually I think I just came up with an idea that might work. I'll try that first. I think I just was a bit too tired when trying to do this last time.

  • EDIT: The problem has changed a bit. Please read the last posts.

    Okay, a quick question:

    How do I get the object which is inside a set angle of an other object AND within a specific distance in the set angle?

    I have no problem getting an object that's within the angle but I don't know how to get the distance part.

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

jimutt's avatar

jimutt

Member since 26 Jun, 2012

None one is following jimutt yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies