• Register
Post news RSS Smile for the Camera

Created a screenshot feature in my game. It looks and works good. Now go out there and take some screenshots!

Posted by on

This week I created a screenshot feature for Retool. Players can start the screenshot feature at nearly any time during play.

When I implemented the screenshot feature, I had to ensure that certain aspects of the game were paused, such as rigid bodies, animation, etc. This took quite some time because I had to find a way to store their initial velocity or animation state, and then reassign it back. I ended up using a script that captures the amount of velocity when the screenshot mode starts and reassign it back when screenshot mode ends. Simple but effective. The movement and rotation keys control the camera so that players can move around to capture a screenshot. I also created a menu that allows changing the HSV(Hue, Saturation, and Value) of the screen before capturing the screenshot. Now players can create artistic screenshots.

Overall, it was quite simple to create but I had to tweak it quite a bit to make it look and work this great. Some of the main features of the screenshot are:

  • It can take screenshots 1/2/4 times the size of the game resolution
  • All HUD elements automatically will be hidden when a player takes a screenshot
  • The player can customize the Hue, Saturation and Value of the game to get better looking screenshots

Below are some images of the screenshot feature in action and some screenshots captured by me. Even with no prior knowledge in art, I have to say these screenshots turned out quite good.

Retool Screenshot   0

Retool Screenshot   1

Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.