C++ programming in complete project

Hello to all :),
I am looking for a way to do most of work with c++ without using the editor, because i want to create a game with some levels without a predefined size and count of objects.
Additional to avoiding limitations in case of using the editor like the most tutorials show how to do so you have to do some work for each level you create.

Do you know huge tutorials or documentations in english or maybe german which cover creating project mostly by programming with c++ - without blueprints?

UE4 really was not designed to be used without the editor. You still need to create maps and set stuff. What limitations are you talking about? UE4 is designed to be used with C++, Blueprint and the Editor. You will have a long struggle by trying to avoid a core part of the UE4 engine. Yes most stuff can and should be done in C++, but you still need assets to group it all together.

UE4 really was not designed to be used without the editor. You still need to create maps and set stuff.
I don’t want to avoid the usage of the editor.

My intention is only to do a lot of work with programming.

One example.

Lets say I want do have a card game with no specific number of cards possible in the whole game.

In your active match you have got 30 cards from that pool and your opponent too.

I would like to programm the selection and spawning of the cards. The Table mesh and texture is set in the editor.


What limitations are you talking about?
In some games for example a towerdefense game you have 1010 fields at the first level, 1210 in the second, 10*20 in the third.

I would like not to limit the number of such fields.

The degree of difficulty and the setting of performance (low, medium, high) should be factors for the size.

Maybe the player could define a size.

Maybe in some levels the game should be limited in the size to a fixed nummer.

UE4 is designed to be used with C++, Blueprint and the Editor.
UE4 asks which kind of project you want to create, Blueprint, Blueprint + C++ or C++.

In some Videos you can see performance-tests of the three ways to create a Project or Game in UE4.

Personally speaking I like writing code more than point and click like you have to do in Blueprint.

I don’t say - no I’m not using Blueprint, but if I can use Code I thinks it is better for me.

I want to mention, that I’m really impressed, how big you can bring Blueprints and what you can do with it!

Nevertheless I prever writing code - thats my point in this question.

A lot of tutorials show a lot of blueprints. I didn’t see a tutorial with no blueprint.

I only wondered because of the option to only use c++ - that’s the reason for my question.

You will have a long struggle by trying to avoid a core part of the UE4 engine.
Do you know the Tutorial with the FloatingActor (Unreal Online Learning)?

I would like to do the point with dragging a Actor in the editor with code - if possible.

The landscape and lightning and other things I would do in the editor.

For example if you destroy a box - I want to spawn a random amount of items (Actors).

Is my intention around the main idea of the workflow with UE4?

Yes most stuff can and should be done in C++, but you still need assets to group it all together.

Assets, materials, textures - all of them are in the project in UE4.

I only want to use it with code.

Sry that I didn’t explain my intention or problem very well.

Thanks for your quick answer - sorry for my late one :(.

I mean sure you can do pretty much all gameplay programming in C++, so what you wanted above is doable, i don’t know of any specific tutorial, But i work for a company and our game is 2 years in to development and we have a nice healthy balance of C++/Blueprint use. (Some of our team don’t know C++ so we expose stuff to BP that they can use). We don’t avoid BP, just limit its usage and do heavy lifting in C++. This provides a nice balance. But for “specific” games, i don’t know any tutorial. UDemy has some C++ courses, but they won’t be your type of game. Youtube might aswell. But they can at least give you some learning so you can make your game.

Thanks for the information :).
I will try a combination of both too - there a lot of tutorials with that.
While learning the combination my skills will improve and maybe the combination is the best way for me.
If someone don’t give something a change - there will be no success if this person don’t give a try.

Learning by doing :).