Construct 0.96.4 released

New releases and general discussions.

Post » Sun Aug 10, 2008 1:24 pm

Nice update... I think the physics features will be very useful...

Thanks!
B
4
S
1
G
5
Posts: 65
Reputation: 1,932

Post » Sun Aug 10, 2008 2:47 pm

Wowowowow! The new custom collision masks are too cool. I've just spent the last half hour making weird and funky shapes just to see how well it worked. I can even make concave shapes! This is a HUGE step for the physics engine.

Great job, guys! Keep up the good work!
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Sun Aug 10, 2008 9:29 pm

awesome about autosaves, it's pissed me off so many times automatically CORRUPTING my files :)
B
2
S
2
G
5
Posts: 236
Reputation: 2,122

Post » Sun Aug 10, 2008 10:01 pm

did you remove ctrl+F find in this version?? It's not working, that was extremely useful :(
B
2
S
2
G
5
Posts: 236
Reputation: 2,122

Post » Mon Aug 11, 2008 2:00 am

Im so glad the sprite resizing was fixed.
B
2
S
2
G
4
Posts: 239
Reputation: 1,928

Post » Mon Aug 11, 2008 12:18 pm

Have you fixed the sprite shrinking??
B
4
S
2
G
4
Posts: 164
Reputation: 2,178

Post » Mon Aug 11, 2008 1:20 pm

I think so. Try it and see.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Mon Aug 11, 2008 1:59 pm

linearaim is a nice addition, I just added something similar to a current project of mine, but had to work out all the maths myself, so this definately makes things much easier when making this sort of thing in future :) .
One thing that might be nice to add to it though (or a separate function) is take into account the rotation speed of the turret, so you would have like current turret angle and rotation speed as parameters aswell as all the others, and it would predict where it would have to rotate to.
It might not be necessary but I think it would help in this sort of situation, if not others:

This will probably also make the maths much harder.
B
2
S
2
G
5
Posts: 236
Reputation: 2,122

Post » Mon Aug 11, 2008 2:09 pm

Couldn't you just use 'Rotate toward angle' and put in the linearaim expression? Then it will always rotate toward where it needs to aim to hit the target.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Mon Aug 11, 2008 2:19 pm

but imagine that the turret moves really slowly, and the bullet moves really fast, by the time it takes the turret to rotate to the angle at which linearaim gives on the first tick, the position it needs to fire at will have changed, and so will the linearaim expesssion, so it will have to keep rotating more, and won't actually get to the point on time.

What I'm proposing is to make it work out exactly what is the best angle to fire at after (i suppose) x ticks that it will take to rotate to that position.
As long as the speed of the target stays constant, so will the angle it's meant to be firing at.

You might be right, I havent tested if that works, this is just my intuition, not sure if its necessary at all. It just seems to me that the current expression assumes that rotation is instant.
B
2
S
2
G
5
Posts: 236
Reputation: 2,122

PreviousNext

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 2 guests