Answer the question
In order to leave comments, you need to log in
How to get an image from a prefab?
There is a source code of the game (Mario). It has a prefab that is responsible for the textures of Mario in different positions.
When the list is opened, all possible positions appear, and not only:
But when I try to open each position for viewing, the whole picture opens.
Simply put, I need to replace Mario with my character, completely replacing any possible position with the file I need.
Source:
https://github.com/linhdvu14/SMB-clone
Answer the question
In order to leave comments, you need to log in
This is a sprite map.
You need to rebuild the spritemap, or replace all the images with your own while keeping the map grid pixel-for-pixel (i.e. without breaking block separation). Those. create the same placement of animations and "paste" into this "top". In Photoshop, for example.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question