Need help with UE4 basics.

  • Topic Archived
You're browsing the GameFAQs Message Boards as a guest. Sign Up for free (or Log In if you already have an account) to be able to post messages, change how messages are displayed, and view media in posts.
  1. Boards
  2. Game Design and Programming
  3. Need help with UE4 basics.

User Info: jelly2008

jelly2008
1 year ago#1
I just got the engine and have been searching for programming tutorials. But I can't seem to find any C++ tutorial explaining how to declare variables, access an Actor's components via code, how to create a function and where to call it etc.

Most places show Blueprint tutorials. But I wanna know the basic stuff in C++ before I dabble in that.

Would someone be kind to point me in the right direction?
Intel C2D E7500/ Intel DG41RQ/ CM GX550W Bronze/ ASUS ENGTS450 DirectCU/ 4GB Transcend DDR2-800 RAM/ SanDisk 128 GB SSD + Seagate 1 TB HDD/ Win 10 64-bit

User Info: nesis

nesis
1 year ago#2
How much C++ / programming do you already know?

UE4 C++ rides on some concepts you'll need to understand, or at least have encountered before so they're not completely baffling.

The Unreal Editor launcher lets you create a code project. Do that, using anything except the basic template. Eg, the First Person template.

The code generated will show you how to declare variables, call functions, add / access Components, and expose variables and functions to Blueprint.

You should be able to easily find tutorials on the Epic wiki that use the First Person template :)
|__ I make indie games! Get them for free at http://nesis.itch.io __|
|__ Let me know what you think! __________________________|

User Info: jelly2008

jelly2008
1 year ago#3
Ah. That's great to know. Didn't think of that. Thanks, nesis.

Yeah, I've scripted a whole game in Unity. I've also done games using pure Javascript that run in a browser. Haven't done anything intensive, like AI and screen effects.
Intel C2D E7500/ Intel DG41RQ/ CM GX550W Bronze/ ASUS ENGTS450 DirectCU/ 4GB Transcend DDR2-800 RAM/ SanDisk 128 GB SSD + Seagate 1 TB HDD/ Win 10 64-bit

User Info: nesis

nesis
1 year ago#4
If that's the case, most of the code tutorials on the Epic wiki should be clear enough to follow. There are too many for me to say to point one out specifically. Most come with full source code, so you can download and tinker.
|__ I make indie games! Get them for free at http://nesis.itch.io __|
|__ Let me know what you think! __________________________|

User Info: jelly2008

jelly2008
1 year ago#5
Cool. Thanks. I was not sure where I should be declaring variables and doing things that I had done in Unity.
Intel C2D E7500/ Intel DG41RQ/ CM GX550W Bronze/ ASUS ENGTS450 DirectCU/ 4GB Transcend DDR2-800 RAM/ SanDisk 128 GB SSD + Seagate 1 TB HDD/ Win 10 64-bit

User Info: Cheezmeister

Cheezmeister
1 year ago#6
How can you accomplish anything without declaring variables?

...don't answer that question.
I make games!
http://luchenlabs.com

User Info: jelly2008

jelly2008
1 year ago#7
Yeah. Nothing can. :)
Intel C2D E7500/ Intel DG41RQ/ CM GX550W Bronze/ ASUS ENGTS450 DirectCU/ 4GB Transcend DDR2-800 RAM/ SanDisk 128 GB SSD + Seagate 1 TB HDD/ Win 10 64-bit

User Info: nesis

nesis
1 year ago#8
The variables were inside you all along :)

*Christmas movie credit music plays*
|__ I make indie games! Get them for free at http://nesis.itch.io __|
|__ Let me know what you think! __________________________|
  1. Boards
  2. Game Design and Programming
  3. Need help with UE4 basics.

Report Message

Terms of Use Violations:

Etiquette Issues:

Notes (optional; required for "Other"):
Add user to Ignore List after reporting

Topic Sticky

You are not allowed to request a sticky.

  • Topic Archived