Skip to content

Instantly share code, notes, and snippets.

View luca1337's full-sized avatar
🌍
somewhere in the world

Luca luca1337

🌍
somewhere in the world
  • Mindesk
  • Milan, Italy
View GitHub Profile
@luca1337
luca1337 / FCurveData.h
Last active October 29, 2023 07:45
Unreal Engine Plugin that allow user to create a 2D curve with it's given params from console command
#pragma once
#include "CoreMinimal.h"
#include "Runtime/Engine/Classes/Curves/CurveVector.h"
#include "Runtime/Engine/Classes/Curves/CurveFloat.h"
#include "ModuleManager.h"
namespace Curve
{
@luca1337
luca1337 / MiniMap2D.cpp
Last active May 26, 2024 21:03
MiniMap 2D (Unreal Engine) that displays all the enemies within it's player radius.
// Fill out your copyright notice in the Description page of Project Settings.
#include "Radar2D.h"
ARadar2D::ARadar2D()
{
this->ArrowTexture = nullptr;
this->RadarStartLocation = FVector2D(10.f, 10.f);
this->RadarSize = 200.f;
this->DegreeStep = 0.25f;
@luca1337
luca1337 / JumpWorldActors.cpp
Last active February 14, 2018 23:49
Simple Unreal Engine 4.x Plugin to make all Actor's that are belongs to the Viewport world to jump.
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "JumpWorldActors.h"
#define LOCTEXT_NAMESPACE "FJumpWorldActorsModule"
void FJumpWorldActorsModule::StartupModule()
{
UE_LOG(LogTemp, Display, TEXT("JumpWorldActor Plugin Loaded!"));
@luca1337
luca1337 / PawnShip.cpp
Created February 8, 2018 15:03
FloatingMovementController C++ To handle 2D SideScroller
// Fill out your copyright notice in the Description page of Project Settings.
#include "PawnShip.h"
#include "Runtime/Engine/Classes/Components/StaticMeshComponent.h"
#include "Runtime/CoreUObject/Public/UObject/ConstructorHelpers.h"
#include "Runtime/Engine/Classes/GameFramework/SpringArmComponent.h"
#include "Runtime/Engine/Classes/Camera/CameraComponent.h"
#include "Components/InputComponent.h"
@luca1337
luca1337 / CurveManager.cpp
Last active February 10, 2018 21:44
CurveManager C++ Handle object given a curve in a 3D space
// Fill out your copyright notice in the Description page of Project Settings.
#include "CurveManager.h"
#include "Runtime/Engine/Public/DrawDebugHelpers.h"
#include "CurveTaskCharacter.h"
#include "Runtime/Engine/Classes/Components/TextRenderComponent.h"
#include "Runtime/Engine/Classes/Kismet/GameplayStatics.h"
#define DRAW