전체 글

코딩 공부/백준(C++)

[백준 17780][C++] 새로운 게임, 예제 5번 그림

새로운 게임, 예제 5번 그림. 각 턴마다 종료시의 사진 첨부 합니다.

Unreal 공부/Unreal Engine 4 C++ The Ultimate Shooter

The Weapon - 1

The Item Class Actor를 상속받는 Item 클래스를 만들어 줍니다. 이는 웨폰의 부모가 될 것입니다. Item.h private: // Line trace collides with bos to show HUD widgets UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Item Properties", meta = (AllowPrivateAccess)) class UBoxComponent *CollisionBox; // Skeletal Mesh for the item UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "Item Properties", meta = (AllowPrivateAc..

Unreal 공부/Unreal Engine 4 C++ The Ultimate Shooter

Aiming and Crosshairs - 3

Automatic Fire 연사를 구현할것입니다. ShooterCharacter.h pubilc: void FireButtonPressed(); void FireButtonReleased(); private: // Left mouse button or right console trigger pressed bool bFireButtonPressed; // True when we can fire. False when waiting for the timer bool bShouldFire; // Fate of Automatic gun fire float AutomaticFireRate; FTimerHandle AutoFireTimer; void AShooterCharacter::FireButtonPressed(..

Unreal 공부/Unreal Engine 4 C++ The Ultimate Shooter

Aiming and Crosshairs - 2

Aiming Pose 이번 시간에는 Aiming 포즈를 설정해 보겠습니다. ABP_ShooterCharacter > AnimGraph 를 수정해 줍니다. 1. New Save cached Poss를 만들고 2. 이름을 Cached Ground Loco With Fire로 수정합니다. 에이밍 된 자세(RMB_AO_CC)를 찾아서 Animation폴더에 복사해 줍니다. 이후 가져온 애니메이션의 이름을 바꾸고(AimingPose), Additive Anim Type을 No additive로 변경합니다. Additive Anim Type은 애니메이션 시스템에서 사용하는 용어로, 언리얼 엔진과 같은 게임 엔진에서 볼 수 있는 애니메이션의 속성 중 하나입니다. 이는 기본 애니메이션에 추가적인 애니메이션 효과를 합산..

메카인
메카인의 지식창고