static_assert0's profile picture. C++ Game Developer

Programming Languages:
 C++ ,  Assembly and C#

Game Engines:
- Unreal Engine(3)
- Unity Engine(7)
- CryEngine (Very limited experience)

static_assert

@static_assert0

C++ Game Developer Programming Languages: C++ , Assembly and C# Game Engines: - Unreal Engine(3) - Unity Engine(7) - CryEngine (Very limited experience)

Array of Structures: 10500 ns 🚶‍♂️ vs Structure of Arrays: 4300 ns 🚀 #benchmark , #cpp ,#performance ,#AoS , #SoA, #cache ,#programming , #software , #lowlevel , #yazilim, #gamedevelopment ,#unrealengine

static_assert0's tweet image. Array of Structures: 10500 ns 🚶‍♂️ vs Structure of Arrays: 4300 ns 🚀

#benchmark , #cpp ,#performance ,#AoS , #SoA, #cache ,#programming , #software , #lowlevel , #yazilim, #gamedevelopment ,#unrealengine

This CryEngine code displays a 2D text label at a defined screen position with custom font size and color. #crytek , #cryengine , #gamedev , #gamedeveloper , #cpp , #gamedevs

static_assert0's tweet image. This CryEngine code displays a 2D text label at a defined screen position with custom font size and color.

#crytek , #cryengine , #gamedev , #gamedeveloper , #cpp , #gamedevs

[ C# ] Apply an upward force to an entity in CryEngine using Entity.Physics.AddImpulse(new Vector3(0, 0, 100));. #CryEngine #GameDev #csharp #cryengine #crytek #gamedeveloper #gamedevelopment

static_assert0's tweet image. [ C# ]

Apply an upward force to an entity in CryEngine using Entity.Physics.AddImpulse(new Vector3(0, 0, 100));. 

#CryEngine #GameDev #csharp  #cryengine #crytek #gamedeveloper #gamedevelopment

This code demonstrates the use of std::cmp_greater for safe comparison of signed and unsigned integers in C++. The expression b > a incorrectly returns true, while std::cmp_greater(b, a) correctly returns false. #cpp , #cpp20

static_assert0's tweet image. This code demonstrates the use of std::cmp_greater for safe comparison of signed and unsigned integers in C++. The expression b > a incorrectly returns true, while std::cmp_greater(b, a) correctly returns false.

#cpp , #cpp20

In CryEngine, you can easily find an entity by its name using the "FindEntityByName" function. #cryengine , #gamedeveloper , #cpp , #crytek , #software , #unity , #unrealengine , #cryengine5 , #crysis , #huntshowdown @Crytek

static_assert0's tweet image. In CryEngine, you can easily find an entity by its name using the "FindEntityByName" function.

#cryengine , #gamedeveloper , #cpp , #crytek , #software , #unity , #unrealengine , #cryengine5 , #crysis , #huntshowdown  @Crytek

This code, written in Unreal Engine, includes two Blueprint functions that use a high-resolution clock to record start time and calculate elapsed time in milliseconds. #unrealengine5 , #cpp , #cplusplus , #software , #gamedevelopment ,#gamedeveloper

static_assert0's tweet image. This code, written in Unreal Engine, includes two Blueprint functions that use a high-resolution clock to record start time and calculate elapsed time in milliseconds.

#unrealengine5 , #cpp , #cplusplus , #software , #gamedevelopment ,#gamedeveloper

This code initializes and configures GPIO pins on an STM32F1 microcontroller. It sets up a connection between a button (connected to pin PA0) and an LED (connected to pin PC13). The LED is turned on when the button is pressed and turned off when the button is not pressed. #stm32


The code defines a function foo using std::enable_if to restrict it to integral types, doubling the input. Calling foo with an integer works, but with a string, it causes a compile-time error. #cpp , #cplusplus ,#enable_if ,#Software

static_assert0's tweet image. The code defines a function foo using std::enable_if to restrict it to integral types, doubling the input. Calling foo with an integer works, but with a string, it causes a compile-time error. 

#cpp , #cplusplus ,#enable_if ,#Software

The code uses auto for type inference to initialize a variable x with a value of 5 and declares a variable y with the same type as x, setting its value to 10. #cpp , #cplusplus ,#programming , #UnrealEngine5

static_assert0's tweet image. The code uses auto for type inference to initialize a variable x with a value of 5 and declares a variable y with the same type as x, setting its value to 10.

#cpp , #cplusplus ,#programming , #UnrealEngine5

The code declares a global constant integer x with a value of 10. Inside the main function, a local integer x with a value of 5 is defined. When printing ::x, it refers to the global x (10), and when printing x, it refers to the local x (5). #cpp ,#cplusplus , #Software

static_assert0's tweet image. The code declares a global constant integer x with a value of 10. Inside the main function, a local integer x with a value of 5 is defined. When printing ::x, it refers to the global x (10), and when printing x, it refers to the local x (5). 

#cpp ,#cplusplus , #Software

The C++ code illustrates function pointers by defining a class with a member function and a global function. It demonstrates how to create and utilize pointers for both functions. #cpp , #cplusplus , #developer , #programming ,#Software , #pointer

static_assert0's tweet image. The C++ code illustrates function pointers by defining a class with a member function and a global function. It demonstrates how to create and utilize pointers for both functions.

#cpp , #cplusplus , #developer , #programming ,#Software , #pointer

This C++ code creates an array of Vector3 objects and sorts them based on their y-coordinate in descending order using std::ranges::sort. The sorted vectors are then printed. #cpp ,#cplusplus,#programming,#Algorithm ,#yazilim ,#code,#software ,#cpp20 ,#math ,#UnrealEngine5

static_assert0's tweet image. This C++ code creates an array of Vector3 objects and sorts them based on their y-coordinate in descending order using std::ranges::sort. The sorted vectors are then printed.

#cpp ,#cplusplus,#programming,#Algorithm ,#yazilim ,#code,#software ,#cpp20 ,#math ,#UnrealEngine5

This C++ code implements a lazy singleton pattern using a LazySingleton class. The getInstance method ensures that only one instance of the class is created, and the program demonstrates multi-threaded access to the singleton's value member, resulting in a final count of 1000.

static_assert0's tweet image. This C++ code implements a lazy singleton pattern using a LazySingleton class. The getInstance method ensures that only one instance of the class is created, and the program demonstrates multi-threaded access to the singleton's value member, resulting in a final count of 1000.

This C++ code defines a Byte class with eight 1-bit bitfields, showcasing how bitfields can be used to efficiently represent individual bits in a single byte. The sizeof(bool) and sizeof(Byte) operations in the main function confirm that each bitfield occupies one byte. #cpp

static_assert0's tweet image. This C++ code defines a Byte class with eight 1-bit bitfields, showcasing how bitfields can be used to efficiently represent individual bits in a single byte. The sizeof(bool) and sizeof(Byte) operations in the main function confirm that each bitfield occupies one byte.

#cpp

This C++ code defines a function using concepts that only accepts unsigned integral types as parameters. The main function demonstrates a valid call with an unsigned integer (5u) and an invalid call with a negative integer (-4). #programming , #cpp , #concepts , #cpp20 ,

static_assert0's tweet image. This C++ code defines a function using concepts that only accepts unsigned integral types as parameters. The main function demonstrates a valid call with an unsigned integer (5u) and an invalid call with a negative integer (-4).

#programming  , #cpp , #concepts , #cpp20 ,

consteval is a feature introduced in C++20, enabling the evaluation of constant expressions at compile time. #cpp, #gamedeveloper, #cpp20 , #consteval, #c , #programming , #yazilim , #programlama

static_assert0's tweet image. consteval is a feature introduced in C++20, enabling the evaluation of constant expressions at compile time.

#cpp, #gamedeveloper, #cpp20 , #consteval, #c , #programming , #yazilim , #programlama

United States Tendencias

Loading...

Something went wrong.


Something went wrong.