- Home /
 
               Question by 
               nanayowane · Apr 20, 2020 at 09:55 AM · 
                spritepuzzlesprite editorslice  
              
 
              Automatically Slice Sprite from Code
Hello everybody!
This is my first time posting here, I hope I bother no one with my question, but It has been a real headache for me and I can't find a proper solution.
I want to make a mini-game puzzle-like (the board game puzzles where you have to position the pieces correctly to create an image) but with dynamic piece-slicing for user preferences reasons.
Given an image, I want to be able to slice it in nxn pieces from code (this n value will be given in a user preferences file).
Is there a way to use the sprite editor from code (at runtime) to solve my problem? Is there another way even if it does not use the sprite editor?
Thank you very much for your help, I hope I made myself clear since english is not my first language! :)
               Comment
              
 
               
              Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
               
 
			 
                