wertt22's Forum Posts

  • I understand. If you know JS, it wouldn't be too bad. It's pretty straight forward to integrate into C3 (If it was worth it, you could hire a C3 JS dev, there are definitely a few people who could implement this for you on the forum or on the Construct Community Discord Server.)

    hi dear mikal can u make skendpower effect for construct2 ?

  • need help

  • sprite can,t pin to anchor sprite ?????

  • why anchor plugin Causes UI to jump

    how to solve it??? thanks

    Some people tell me that UI adaptation can't be solved with JS

  • when use touching obj condition, i haven,t release,but on any touch end is trigger!!!

  • why sprite instance variable can,t change type sometimes thanks

  • can you help me how to get Sprite point position when Sprite rotate 0 to a angle thanks

  • anyone can transplant rex,s gridctrl to c3runtime.....thanks

  • wertt22 As I understand, your code will detect collision in this red point:

    You need to check if dec sprite overlaps both sprites. But this is a very ineffective method. With sprite size 300x300 px, the loop will repeat 90,000 times and there will be a considerable lag.

    creat a big detect set position evey big detect,s size, when big detect overlap the sprite, use big detect spawn a mini detect ,then use mini detect set position to big detect ,so it can narrow the scope of judgment

  • wertt22 As I understand, your code will detect collision in this red point:

    You need to check if dec sprite overlaps both sprites. But this is a very ineffective method. With sprite size 300x300 px, the loop will repeat 90,000 times and there will be a considerable lag.

    my sprite point0 is set at your red position

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • My code needs to be optimized. If the sprite is very large, it needs to narrow the scope of judgment

  • or you can create one detcor an set IT position use loop ,i think is more caculate if you have a big Sprite

  • i have a idear ,you can create detcorSprite useloop for 0 to Spritea.width for 0 to Spritea.height when collision happen,and find which detcor is overlapping two main Sprite ,so this detcor position is you want....

  • or set a mini Sprite pin rope to your shape Sprite and set the mini Sprite move angle same to your shape Sprite