Hi, it’s been a few weeks now that I’ve been wanting to create a 2D pixel game on Roblox. I’ve already sketched the main character with different frames for the animations and the first map. However, since they are only images, they are not playable. So I am wondering how I can make the main character a playable character with working animations, and how to insert him and the map into the game without altering the pixel size. Thank you so much! ^^
Hi, you can use an invisible 3D part attached with a Billboard GUI with the image of your 2D art. Then, you can move the invisible parts to make the 2D character move.
Think of it like a magnet glued to a piece of paper, separated by a thin table/cardboard with another magnet behind. When you move the magnet, you also move the character.
you could get really creative of course… there are much more possibilities
At the time there are a few ways to make 2D games. The first way would be to simply make UI, The second way would be to make a Billboard GUI, and lastly the highest quality method would be writing your own rendering program in studio, this would give you limitless possibilities however may be a bit slow according to my experiences. I suggest you use Billboard GUI’s as @MisterGrinch2017 recommended.
thanks, when i import my art, how can i be sure it’s the right size? i mean, i am working on pixel art. so, the map’s pixels and the character’s ones must be the same size right? do you know how i can do that? i’m still marking your answer as the solution, very helpful :DD
thank you! You can use the player’s CurrentCamera, edit it to make it stay in one place.
Then, display the billboard GUIs and characters the same distance from the camera.
You might have to play with the size, offsets, and others just like you would in player screen GUIs
thank you so much, i’ll do it!!!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.