imhotep22's Recent Forum Activity

  • Its an system action called Signal. I am not really a great fan of using it, I suggest using an function instead.

  • Measure the total distance travel of each car, and store it in local variable or in an array. The instance with the highest variable will be first, the instance with second highest will be second etc. It it will be hard to implement because you will need something like Bubble sort to find out what instance has the largest value.

  • They are multiplayer capx samples implement in the construct 2, start the program and go on the home page, click browse example. There you will find at least 3 multiplayer examples including a chat room.

  • How do you call the sound in the event system, on layout load or some where else?

  • Are you using sprites for your objects? If so they look really bad when you stretch them, try using a 9-patch or tiled background for images you want to stretch out.

  • Sure give me the capx file, ill do it tonight.

  • Why are you guys making things complicated, luckyrawatlucky you can use the same event system you wrote on start, just ad an trigger every sec condition which will prevent the sprite from rotating twice on a double click or fast clicking (every 0.5 sec or 1 sec will be sufficient).

  • Use an array and safe it as Json.

  • Well you can add your sound play effect in a function, and call the function from the collision detection event to play the sound, but in the function it self add once every sec condition to like 1 sec, this means the sound can play only once every 1 sec.

    Edit: If you want to play it twice, call the sound action twice, but you will have to add wait condition at least 0.1 seconds so they will not trigger at the same time ( if they do, you wont be able to tell the difference)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • hm that is weird, once I had serious lag because my collision detection was bad, the game was checking between 15k-25k collisions per second if remember correctly but that thing showed up in the debugger and CPU usage was between 80-100% all the time.

    Maybe you have the time scale lowered then 1, so it seems like the game is lagging but its Actually not. You should check that just incase.

    I cannot think anything else that can be the problem, another think you can do is try Disabling event by event, and check performance difference.

  • You can select the object with your mouse, and a blue square will appear around it, hover on the edges of the square and you will see a white point, click there and drag it to resize, also on the left side of your screen you can see input fields for the selected object, there's a filed called size you can use it to change the select object size in pixel's ( example 20,20).

    As for the curved lines, construct uses images for the graphics rendering, so if you want a curve line you will have to draw it first on paint or photo stop then you will have to import the image into construct.

    If you are new to construct I suggest you start by reading the manual first

    https://www.scirra.com/manual/1/construct-2

  • Here is an simple example I made, the event is bit different then my explanation above, but it does the trick every instance is created with a different random color.

    https://www.dropbox.com/s/etc3o79zi004t ... .capx?dl=0

imhotep22's avatar

imhotep22

Member since 18 May, 2017

None one is following imhotep22 yet!

Connect with imhotep22

Trophy Case

  • 7-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

9/44
How to earn trophies