"Cursol is over object" and collisions

Just started using Construct 2? Post your questions here

Post » Tue Oct 18, 2016 9:20 am

Hi,
I have a grid of 99X95 tiles. Total tiles is 9.405.
I have an event like
Code: Select all
If cursor is over Tile -> So something

This cause 9.405 collisions check per tick. Maybe this is normal, but does anybody know a better way?

Thank you.
B
12
S
5
Posts: 42
Reputation: 990

Post » Tue Oct 18, 2016 11:57 am

Well, I don't think your project actually needs 9.405 different Sprites....

Please tell us what all those tiles are there for, so we can fit the solution to your project.
Usually, there is no need for that many Sprites.
"We can't solve problems by using the same kind of thinking we used when we created them."
- Albert Einstein
B
27
S
11
G
8
Posts: 528
Reputation: 7,091

Post » Tue Oct 18, 2016 12:04 pm

Is on screen>
Image ImageImage
B
168
S
50
G
164
Posts: 8,239
Reputation: 105,597

Post » Sat Oct 29, 2016 12:21 pm

I started using this tutorial: https://www.scirra.com/tutorials/4997/r ... oard-basic
But probably randomly is right. I don't need all those sprites.
I'm trying a totally different approach.
B
12
S
5
Posts: 42
Reputation: 990


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests