Announcement

Collapse
No announcement yet.

Unreal Match 3 - A New Mobile Learning Resource!

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

    #46
    Originally posted by FuTou View Post
    Hi, Lauren,
    Great job, this Match 3 project is just what I want for learning UE4! Here is a question about learning it:
    Right now when I look into this project I don't see any C++ code. On the contrary, all the materials about Unreal Match 3 is talking about C++ usage. Did I get it wrong? Or do I have to do something special to see the C++ code?
    Thanks!
    Lauren can do a much better job at explaining this but generally you didn't get it wrong, a lot of the main gameplay is done in C++. If you launch Visual Studio from the editor with Match 3 loaded it should take you right there..

    Comment


      #47
      dying for this ! :-D is this been released or not ?

      Comment


        #48
        It's been released yes, a new version is on its way with afaik the only difference being a less confusing UI.

        Comment


          #49
          Originally posted by RumbleMonk View Post
          you're saying they will not have a world transform
          An actor with no scene components? Yes, that's correct. Because the root component's transform is what you get when you ask for the actor's transform.

          Originally posted by RumbleMonk View Post
          do you mean they will just not return correct values when getting/setting world transforms and local will be fine (somehow)?
          Yes, so if you call GetActorLocation() on an actor with no root component, you will get a zero vector back, because the function doesn't have a way to indicate failure, and we didn't want to crash or asse. The exact line of code is this:

          Code:
          return (RootComponent != nullptr) ? RootComponent->GetComponentLocation() : FVector(0.f,0.f,0.f);
          Originally posted by RumbleMonk View Post
          That sounds unlikely to me, and if so, how did you control the tiles' movements?
          The tiles all have root components, so they're just being moved around like normal actors. We use SetActorLocation() and just put them wherever we want. What I was saying about making things more efficient was that we had a dummy USceneComponent at the root, which we used to make some things a little easier to keep straight, and we removed that component. The UPaperSpriteComponent that you are seeing (the actual image of the gem/bomb/stone) was then promoted to be the new root component.

          Comment


            #50
            fun release, I'll spend too much time playing this I think (more so than dissecting it)

            Comment


              #51
              I'm digging through this still and have a question:

              I was wondering why you have a 'Score' variable in the Match3PlayerController when the score is handled in the Match3GameMode? I can't seem to figure out why.

              Thank you!

              Comment


                #52
                Is there a reason why Unreal Match3 doesn't set portrait splash images for the iPad pro and Pro retina in the iOS section of Project settings?

                I noticed that the TappyChicken also omitted the same splash image slots.

                What happens if someone runs Match3 on one of those devices?

                Cheers.

                Btw,
                I was going to attach an image for clarity, but the when I click [Insert Image] the usual 'upload from computer' option is missing. I only have an option to add a URL.

                Comment


                  #53
                  Was there any updates to this in the 4.15 release or is it the same code? If not, what was changed? Thanks.

                  Comment


                    #54
                    Hello, where is the sample code?

                    Comment


                      #55
                      Originally posted by icomputo View Post
                      Hello, where is the sample code?
                      Create and load the Match3 project into the UE4 editor, go to File/Refresh Visual Studio Project, the click the option below - Open Visual Studio.

                      The code lives in the Source/Match3 folder otherwise, which is where the above instruction will take you.

                      Comment


                        #56
                        Originally posted by RumbleMonk View Post
                        Create and load the Match3 project into the UE4 editor, go to File/Refresh Visual Studio Project, the click the option below - Open Visual Studio.

                        The code lives in the Source/Match3 folder otherwise, which is where the above instruction will take you.

                        Thanks, the doubt was where I downloaded the source project, since the page that is provided is not the link to the download.

                        Comment

                        Working...
                        X