How do I change the coords of image point number 0

Get help using Construct 2

Post » Thu Nov 05, 2015 2:43 pm

Hello, please, do not find an action that allows me to change the point number 0 control.

I am seeking to achieve this:

keyboard - right arrow is down - sprite... -> change coords of image point number 0 <-

This action is impossible? I can't not find this action.

Thanks.
Last edited by The Mnk on Thu Nov 05, 2015 4:23 pm, edited 2 times in total.
B
30
S
13
G
21
Posts: 838
Reputation: 14,656

Post » Thu Nov 05, 2015 2:49 pm

Could you explain what you mean by control point number 0?
I've never heard of it..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Nov 05, 2015 4:19 pm

Sorry, I mean image point number 0, usually, the central point of a sprite.
B
30
S
13
G
21
Posts: 838
Reputation: 14,656

Post » Thu Nov 05, 2015 4:26 pm

The imagepoints (origin and all others) are set inside the editor, I don't think there is a way to change their positon through events..
You can ofcourse reference the imagepoints and base your events on them..

What are you trying to achieve and why would that involve changing the position of the origin..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Nov 05, 2015 4:44 pm

You can't move an imagepoint via Events but you can have multiple imagepoints. Maybe that would be a way around what you are trying to do.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
136
S
31
G
87
Posts: 5,490
Reputation: 60,266

Post » Thu Nov 05, 2015 6:42 pm

I have an animation frames 8, pressing one direction in the graph cursors to increase / decrease the angle but it should not do so on its center, but about another point of the sprite.

That is, I want the animation rotate on another point other than its center, for that, I need to change the center of the image, that is, the image point 0.

When the rotation is finished, the image point number 0 must return to the center of the sprite.

Another way of putting it would be to ask:
How to make an image rotate on another point other than the center position without changing position its image point number 0?
B
30
S
13
G
21
Posts: 838
Reputation: 14,656

Post » Thu Nov 05, 2015 6:54 pm

Found this topic using the search, might be of help:

viewtopic.php?f=147&t=151669&p=959599&hilit=rotate+around+point#p959599
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sat Nov 07, 2015 4:30 pm

Thanks for the information proves it when I can.
B
30
S
13
G
21
Posts: 838
Reputation: 14,656


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 24 guests