Hello, I’m Rehman!

Custom UI Focus Highlights in Unreal Engine

When it comes to game UI, supporting mouse and keyboard is usually straightforward. Controller support, however, can be an absolute headache. While frameworks like CommonUI and CommonInput help smooth out some of the rough edges, there’s still plenty of work to do. The Challenge: Controller UI Navigation One challenge is making UI elements feel just right when navigated with a controller. In many games—including Diablo 4—the UI adapts to show a distinctive highlight when using a controller....

February 8, 2025 · 3 min

Setup SDL2 for CLion using CMake

Setup SDL2 for CLion using CMake Setting up SDL2 with CMake for CLion can be a hassle but in this tutorial we are going to solve that. First, open your project and set the default toolchain (found in settings) to the bundled mingw that comes with CLion. Create a cmake/modules directory in your project root. Put the following cmake file in the newly created cmake/modules directory Download the SDL2 development library for mingw from https://github....

December 29, 2021 · 2 min

Setup SDL2_image for CLion using CMake

Setup SDL2_image for CLION using CMAKE Guide for setting up SDL2_image for CLION using CMAKE Since setting up SDL2_IMAGE is very similar to setting up SDL2, most of this guide will be very similar to the setup SDL2 for CLION guide. Open your project and set the default toolchain (found in settings) to the bundled mingw that comes with CLion. Create a cmake/modules directory in your project root. Put the following cmake file in the newly created cmake/modules directory Download the SDL2_image development library for mingw from https://github....

December 1, 2021 · 2 min