Jump to content

Lazarack

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Lazarack

  1. On 11/6/2023 at 2:11 AM, Tokei said:

    Heya,

    You're right, this is definitely the wrong thread ;P. There are many ways of doing this, so here goes.

    for (int aid = 0; aid <= 7; aid++) {
    	var action = act[aid];
    	
    	for (int fid = 0; fid < action.Frames.Count; fid++) {
    		var frame = action[fid];
    		
    		for (int lid = 0; lid < frame.Layers.Count; lid++) {
    			var layer = frame[lid];
    			
    			layer.OffsetX = 2;
    			layer.OffsetY = -82;
    		}
    	}
    }

     

    Thank you very much, it works. That's very helpful, thank you so much, I appreciate your help a lot. 😄

  2. On 1/22/2018 at 9:24 AM, Tokei said:

    Well, I've updated the version to 1.1.0, the Alt-Move should now work. Bunch of other changes as well, looks like I forgot to push the updates for this software (I got pretty busy!).

    Although I'll just mention that this was always possible via scripting:

    Script > Script Runner... > 

    act[selectedActionIndex].Translate(0, -100);

    or

    // Translates by 100 up for the whole act file
    act.Translate(0, -100);

     

    Hello, sorry for commenting on an old forum post.

    I would like to ask, do you know how to set each frame to have the same x and y position? For example, I want frame 1 to 7 to be (2 , -82).

×
×
  • Create New...