Image point suggestions

New releases and general discussions.

Post » Tue Nov 20, 2007 1:40 am

When you use image points to position a sprite, Construct asks to enter the image point for the object you're positioning to. You aren't able to position, say Sprite1's image point 'point1', to Sprite2's image point 'point1'. You only have the first object's image points to work with. I think that this is an important missing feature, and I would like to know other people's opinions :D .

It would also be helpful if we could retrieve the X/Y of an image point, and maybe change the position of image points at run time, but that's probably asking for to much :) .
B
2
S
1
G
5
Posts: 31
Reputation: 1,462

Post » Tue Nov 20, 2007 9:19 am

Ao you mean that you could position object's X and Y by other points, like "set X position of Sprite to 320 using point (something) as 'hot spot'"?

Indeed, that would help position obejcts, say if there were sprite "Dude" and sprite "Baseball bat", the hot spot could be in the middle so that rotations and physics would work well, but there would be a "grabbing point" in the grip, so that you could position the bat's "grip point" to the Dude's "hand point".

I think that changing position of image points run time should be also implemented. I can think some use of it, ie. if a character is shot, there could be a bleeding wound in the right place.
B
3
S
2
G
5
Posts: 263
Reputation: 2,201

Post » Tue Nov 20, 2007 4:30 pm

In that way the hot spot wouldn't do anything.. But that might be a bad thing.
B
1
G
5
Posts: 20
Reputation: 1,265

Post » Tue Nov 20, 2007 4:36 pm

The pivot point (or hot spot) would still act as the center of rotation.

These are all good ideas and shouldn't be too hard to do, on the todo list!
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

Post » Tue Nov 20, 2007 4:41 pm

But it would be even more flexible if you could choose an image point to be the center of rotation, and change that at runtime. I vote for maximum flexibility and you-can-create-anything-with-construc-ability :mrgreen:
B
1
G
5
Posts: 20
Reputation: 1,265

Post » Tue Nov 20, 2007 4:46 pm

Yeah, if you can set the pivot point position, and retrieve image points, you will be able to do that :) You can already set the pivot point position, so I just need to add retrieving image points.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 2 guests