Announcement

Collapse
No announcement yet.

I'm a C++ programmar.Does any guys have any tutorials for how to use C++ in Unreal4

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    I'm a C++ programmar.Does any guys have any tutorials for how to use C++ in Unreal4

    Hello, I'm a cocos2d-x engineer. and I'm learning how to use Unreal4. I'm really like Unreal Engine too.
    So I used to use c++ language to develop game. but I found many tutorials just talk about how to use the editor but no how to use code to develop game. does anyone have any tutorials for how to use C++ in Unreal4 and I really want to see some sample code . thank u very much

    #2
    I don't think there are a lot of C++ tutorials out there yet. But there is a quite nice documentation on the engine architecture and general programming here:

    https://docs.unrealengine.com/latest...ing/index.html

    You can vote for a C++ tutorial on Epic's Roadmap that was published just yesterday:

    https://trello.com/b/gHooNW9I/ue4-roadmap

    And you'll also find some tips in this thread:

    https://forums.unrealengine.com/show...8619#post28619
    Join us on IRC! We are on #unrealengine @ freenode.org

    Comment


      #3
      I am in same situation as you. While waiting for more tutorials on Unreal C coding i am playing with blueprints. For now instead of wasting time, getting frustrated and trying to guess what is what in C I just follow easier path of learning blueprints. Blueprints are needed anyway, they also have lots of common ideas with C side of unreal. Also for eg. to spawn complicated structure I need to use instanced static meshes, I already know this from playing with BLueprints (I also know how they work), this knowledge will be useful for C when i get there.

      Comment


        #4
        Just to be clear, and I'm sure you know this, but C and C++ are different languages. C++ is a superset of C (sort of at least) and UE was implemented in C++. You'll mostly be coding C++, when you're developing games with UE, not just plain C. And Unreal Script is a different language altogether, which was used by previous versions of UE, but not anymore.
        Join us on IRC! We are on #unrealengine @ freenode.org

        Comment


          #5
          thank u

          Thank u very much. it help me. but I think I need more information for my questions. here is a suggest why you guys do not make a video tutorial for how to use c++ to develop a game.

          Comment


            #6
            There will probably be a lot more tutorials down the road. UE4 was released just over a month ago, it's still very new and everyone is figuring out how to use it, currently. And I can only repeat what I already suggested in the last thread (that I linked above):

            Originally posted by Bajee View Post
            If you already 'know' C++, then a good way to get started might be to just read the code of some of the available projects. Create a new project from the C++ FPS template for instance and read the implementation of the character, game and projectile classes. This is what I did and it really helped getting started.

            You can read the engine source or documentation all you want, but if you don't know what you're looking for you'll be sitting there for a long time. But once you get a feeling for the architecture, how UObject, UWorld, UActorComponent, USceneComponenet or AActor relate to one another, it will become easier to find the relevant part of the engine source or documentation that you're looking for.

            You can also start reading the codes of the templates or any of the C++ projects from the Marketplace. I think the Shooter Game is C++.
            Join us on IRC! We are on #unrealengine @ freenode.org

            Comment


              #7
              Originally posted by ryuikuya View Post
              Thank u very much. it help me. but I think I need more information for my questions. here is a suggest why you guys do not make a video tutorial for how to use c++ to develop a game.
              I think there are 3 reasons:
              First: to make tutorial one needs to know subject very well, no guessing or "hmmmm" all the time
              Second: make tutorial worth making requires several hours, instead of that we can play with unreal which is more fun for us
              Third: coders are either shy or autistic (borderline) so we don't have quality microphones usually

              Also about tutorial about "how to develop a game", I have one and it is size of a quite big book.
              Laters, bzr just updated.

              Comment


                #8
                There are a couple tutorials and guides that are probably good starting points to get a handle on using C++ with Unreal Engine. The Programming Quick Start is a short guide to get you up and running with compiling a game project and adding your first class. You also might find the First Person Shooter tutorial helpful, since it walks you through creating a GameMode, a Character, and a Projectile in C++ code, with Blueprints mainly used for setting asset references.

                Hopefully these help get you started! Good luck, and have fun!

                Comment


                  #9
                  Ok,I'll check it. thank you very much.

                  Comment


                    #10
                    Sweet! this is the exact reason why I registered on the forums after watching today's Twitch video lol! Thanks Lauren.

                    Comment


                      #11
                      If you have not found it yet take a look here.
                      https://wiki.unrealengine.com/Category:Code

                      Comment

                      Working...
                      X