In this first section of this Blender 2.5 Video Tutorial, I cover the creation of a game-friendly model (i.e. low-polygon), texturing, rigging, animating, and bringing it into the game engine with basic forward and back controls, as well as turning left and right, and running.

The first 8 minutes of the video is a time lapse video of me modeling and rigging a quick low poly character. With this series we wanted to focus a bit more on the game engine.

View youtube teaser video on what this series will cover.

Game Development>

You must be logged in to upload images. Register

Discussion

301 Responses to “Game Engine: Simple Character – Part 1”
  1. Posts: 4

    Please help when I put my character in the game logic and give him the command to walk the hair and the eyes are the only things moving, none of the body mesh is moving with the armature I tried what you did in the video but still nothing,

    what should I do?

    Please help

    Owain

    #
    151
    Aug 1, 2012 at 8:55 am
    • Posts: 2963

      Hi Owain,

      Does your character mesh have an armature modifier assigned to it with the rig set as the object in the modifier settings?

      #
      151.1
      Aug 1, 2012 at 9:58 am
      • Posts: 4

        it did but then i removed it

        #
        151.1.1
        Aug 1, 2012 at 10:32 am
    • LincolnOsiris
      Posts: 4

      I finally solved it for 2.66.

      A combination of 2 things fixed it.

      1. Sensor needs to be: keyboard:-up arrow:-invert, for static

      2. Actuator needs to be set at: Static priority 1 and Walk Cycle priority 2

      #
      151.2
      Apr 7, 2013 at 7:01 pm
      • Posts: 1

        I think I found another way for the static: use the “Always” sensor, but also activate the “Activate TRUE level triggering (pulse mode)”, that is the weird three quotes button right underneath and left to the “Freq” slider; and also set “Freq” to 1.
        This worked for me in 2.66.

        #
        151.2.1
        Apr 28, 2013 at 7:35 pm
  2. Posts: 4

    i have also changed the rig settings to armature

    #
    152
    Aug 1, 2012 at 10:33 am
    • Posts: 4

      but it still wont work only the eyes and hair move but their settings are bones?

      #
      152.1
      Aug 1, 2012 at 10:37 am
  3. Posts: 2

    Great job with this tutorial! Lots of info and well explained. You guys make such a great product and I really feel like I’m getting my money’s worth. One request: Is there anyway to make this a downloadable tutorial like some of the others available for Citizens? I don’t have the most reliable connection and I’m frequently stopping, starting and rewinding while I watch these. It’s just easier to do that on a local copy. Again, great work!

    #
    153
    Aug 18, 2012 at 3:24 pm
    • Posts: 2963

      You should already be able to download by clicking “Download Source Files.” You just have to be logged into your Citizen account.

      #
      153.1
      Aug 18, 2012 at 3:35 pm
      • Posts: 2

        I thought that was just the files for following along. I didn’t realize that they included the videos themselves. Thanks for the clarification! Keep up the great work.

        #
        153.1.1
        Aug 18, 2012 at 4:28 pm
  4. tayne
    Posts: 4

    Hey, when I press P, he does his static, but when I press up, HE FREEZES!!! helphelphelphelphelphelphelphelphelphelphelphelp!!!!!!

    #
    154
    Aug 25, 2012 at 3:40 am
  5. Posts: 440

    After i did johns basic rigging tut i did a walk cycle on my char then came here to see how to set up the logic and different animations into the game engine. there is something cool about seeing something i made in 3d walking around on the screen and even having a basic static animation, even though i have no environment and the animations are a little stiff it still rocks. thanks man
    I have one question though on johns rig the arms are ik and it seemed a little tough to get the arms right on the walk cycle(just looks a little stiff on the front swing) is it better to turn off the ik for doing certain animations?
    Thanks for these tuts im gonna have to go over all 3 when i get a chance.
    cya

    #
    155
    Sep 4, 2012 at 8:29 am
    • Posts: 440

      ps I have one more question actually luckily when i made my walk cycle i saved it as its own file and its all good but i tried to make a static by pushing the + sign and a new action but when i saved that new file it for some reason deletes the walk cycle then only the static is there. in my original i had auto record on and somehow have 2 other actions that are worthless but i dont want to mess up the walk cycle i have going.
      So basically how do i make more actions and save it so it wont delete new ones. and how do i safely delet the 2 actions that are on my walk cycle file without losing the walk cycle. thanks i know its noob questions but hey i gotta learn somehow.

      #
      155.1
      Sep 4, 2012 at 8:47 am
      • Posts: 8

        Next to the + button is an F button. That stands for “Fake User”, and Blender should save it even if it’s not currently assigned to anything. You see it a lot of places, like with colors I mean materials.
        I trust you’ve figured out how to clean up Actions; just go through slowly and see what’s making stuff happen, and deleting the keyframes you don’t want.

        #
        155.1.1
        Dec 22, 2012 at 5:25 pm
  6. Posts: 5

    my mesh dont follow the animation of rig when i start the game and press the up arrow what should i do?

    #
    156
    Oct 12, 2012 at 2:30 am
    • Posts: 5

      no need for answer my problem solved.;D

      #
      156.1
      Oct 12, 2012 at 2:38 am
      • Posts: 4

        how ?

        #
        156.1.1
        Jan 24, 2013 at 3:47 pm
      • Posts: 4

        hooowww ???? i have the same problem the animation works fine but in the game logic don’t want

        #
        156.1.2
        Jan 24, 2013 at 3:48 pm
  7. Warer
    Posts: 2

    I have a problem, I already deleted the armature modifier and parented my mesh to its armature, the mesh moves as normal in the actions but in-game it doesn’t, I’m sure the armature is moving because when I parent it to a single bone the mesh moves

    #
    157
    Oct 20, 2012 at 12:43 pm
  8. Posts: 1

    I tried the bit with the game logic, set up two “cycles” one for walking, one for standing. Then i connected the “always” sensor to the “standing” cycle and a keyboard sensor to the “walking” cycle. But whenever i press p, the charakter plays the “stand” cycle. But when i press the up button, it freezes.
    What do i do now?

    #
    158
    Nov 6, 2012 at 1:28 pm
  9. Posts: 1

    can i not do this tutorial without downloading source files?

    #
    159
    Nov 8, 2012 at 4:09 am
    • Posts: 2963

      The source files are bundled with the video file. The source files are pretty small, though.

      #
      159.1
      Nov 8, 2012 at 11:33 am
  10. Kristoffer
    Posts: 1

    Hey I´m doing something similar but I have one small problem. I have made a run animation and an animation for the static pose however when I put everything into the logic bricks one of two things happens : one the character moves but only the static animation is playing or if I change the priority settings, he wont jump back to the static animation. Please help !

    #
    160
    Nov 20, 2012 at 6:51 am
    • Posts: 8

      The Always sensor seems to work differently than in this tutorial. Following the instructions, the Static pose works until I press the Up Arrow. Then the walk-cycle plays once, then freezes. If I replace the Always sensor with a Down Arrow, it works fine (except I have to hold the Down Arrow in order to be Static, and both actions stop if I press the Up Arrow and the Down Arrow at the same time).

      Clearly something has changed from the build David was using, ’cause it works for him!

      #
      160.1
      Dec 22, 2012 at 5:09 pm
      • Posts: 454

        This is because your priorities need to be set accordingly
        -Alex

        #
        160.1.1
        Dec 23, 2012 at 3:53 pm
      • Posts: 8

        Thanks, Alex, but, as I said, I followed the tutorial, and David made this clear. Also, there are only two Sensors being used, and it’s much easier to switch them around than it is to log into Blender Cookie. So, yes, I’ve tried that.
        In the video, the first possible Sensor in David’s version of Blender is Always. In my version, the first choice is Actuator. So I’m sure I’m using a different version than David, and I’m awfully sure that they’re working differently.
        When searching various forums for an answer to this, I came across people saying that the “state” or “tics” or something has been changed in newer Blender versions, but I don’t even understand this! Clearly, I’m a hobbyist and not a professional!
        Again, Alex, thank you for taking a stab at this.

        #
        160.1.2
        Dec 24, 2012 at 2:07 pm
      • Posts: 8

        @Alex, reading yet another forum, I now see what you mean by “priority”. I thought you meant which Sensor was on top, but now I see you mean in the Actuator. But, no, still no success.
        I’m giving up.

        #
        160.1.3
        Dec 24, 2012 at 8:52 pm
      • Posts: 454

        Always and actuator are very different logic bricks, if you upload your blend to pasteall.org or send it through to [email protected] I’ll take a look at what’s going wrong.
        And yes priorities determine how actions are played rather than the order they are placed.
        -Alex

        #
        160.1.4
        Dec 24, 2012 at 10:10 pm
      • Posts: 8

        Thank you, Alex, for responding to this! I’ve sent a blend file to the support address.
        I realize that Always and Actuator are different types of Sensors. I was pointing out that when this video was made, Actuator wasn’t even a type of sensor; therefore, many changes have been made to the BGE since David made this video.
        Tom

        #
        160.1.5
        Dec 26, 2012 at 5:47 pm
  11. Posts: 1

    Please I am needing a lot of help I am busy making my own game and I have a bit of a deadline I am using some of david wards videos and one of them is the “how to make a simple character part 1 ” I am battling with this because when I try linking the “W-key” to the animation in logic editor and when I hit p nothing happens and I have tried making other rigs and remaking my one now and none of them seem to want to link it of you have any advice please help me!!!!

    #
    161
    Dec 22, 2012 at 11:04 pm
  12. jason
    Posts: 1

    I’m having a problem with the static and walking animation. when I press p to activate the game mode, the static animation plays but as soon as I press up,the model stops moving. I’m using blender 2.65

    #
    162
    Dec 24, 2012 at 10:51 am
    • Posts: 8

      I’m having the same problem, I think, but just to be clear, the model still “moves around” the screen, but without a walk-cycle, right? Anyway, that’s my situation.

      #
      162.1
      Dec 24, 2012 at 2:11 pm
      • Posts: 454

        This sounds like an issue with the priorities on the action brick, On my netbook at the moment so can’t look into it further but try adjusting the priorities to see if it fixes the problem.
        -Alex

        #
        162.1.1
        Dec 25, 2012 at 10:24 pm
  13. Posts: 8

    Is there a way to download the source files without the video? I just want the .blend without the huge video file.

    #
    163
    Dec 25, 2012 at 7:37 pm
    • Posts: 454

      Not currently sorry.
      -Alex

      #
      163.1
      Dec 25, 2012 at 10:22 pm
      • Posts: 4

        hooowww ???? i have the same problem the animation works fine but in the game logic don’t want to work :/ help please

        #
        163.1.1
        Jan 24, 2013 at 3:52 pm
  14. Posts: 8

    I downloaded the source file, but the character doesn’t have any animation cycles (walking or otherwise) while playing in the game engine. Is the source file compatible with Blender 2.65? (same as Tom’s comment above)

    #
    164
    Dec 25, 2012 at 8:21 pm
    • Posts: 454

      This sounds like an issue with the priorities on the action brick, On my netbook at the moment so can’t look into it further but try adjusting the priorities to see if it fixes the problem.
      -Alex

      #
      164.1
      Dec 25, 2012 at 10:25 pm
  15. Brandon
    Posts: 1

    Ok I’ve done the tutorial with the little alien dude the one by david ward, now I’ve created my own character and riged it and made the walk cycle but for some reason when I push”p” the game engine starts but the charachers walk cycle doesn’t want to start it is done exactly how he did it and I have done it before a few times but for somereason it doesn’t want to work please help!!!!

    #
    165
    Dec 25, 2012 at 11:27 pm
    • Posts: 8

      I found this example .blend file online and it works great. I imported it as a scene and copied bit by bit to my scene. Finally everything works! http://www.mediafire.com/?64fhjc2tf0thp5f
      It’s a very simple scene with a rigged character and logic controls. it makes it simple to figure out what might be going wrong with your setup.

      #
      165.1
      Dec 26, 2012 at 8:38 pm
      • LincolnOsiris
        Posts: 4

        This file confirms that it is broken .

        This file won’t play the static animation either.

        #
        165.1.1
        Apr 7, 2013 at 6:40 pm
  16. Posts: 24

    how i make the head go yellow and the legs green the edges of my character stick.Help!!

    #
    166
    Jan 1, 2013 at 4:02 pm
    • Posts: 454

      select the faces in edit mode and add a new material and click assign to have multiple materials per object.
      -Alex

      #
      166.1
      Jan 2, 2013 at 4:08 pm
    • Posts: 454

      actually if you are talking about the rig, yellow is IK constraint and green was a lock constraint I believe
      -Alex

      #
      166.2
      Jan 2, 2013 at 4:10 pm
      • Posts: 24

        Thanks alex. will this stop the edges from sticking?

        #
        166.2.1
        Jan 6, 2013 at 8:18 am
  17. mykael
    Posts: 1

    i have now blender 2.65. I follow your directive but when I press the key for walk (me it’s w) my character stop the static pose and strike the pose and do not start the walk sycle i look your tuto 4 time but i dont know why he do this can u help me plz!!!

    #
    167
    Jan 12, 2013 at 12:57 am
  18. chris
    Posts: 1

    I want to make it a sidestep motion instead of turning. How?.

    #
    168
    Jan 17, 2013 at 8:10 am
    • Posts: 24

      in the animation view make a new animation of your character sidesteping in set it up the same way as a walk cycle

      #
      168.1
      Feb 9, 2013 at 8:53 am
  19. Schmooples
    Posts: 1

    Just wondering were i can find the alien video.
    Can you link me to it?

    #
    169
    Jan 23, 2013 at 6:49 pm
  20. Zied
    Posts: 1

    its so perfect i had learn so much to make a game like that :)

    #
    170
    Jan 26, 2013 at 2:17 am
  21. Posts: 4

    So I’m using Blender 2.66 and whenever I press P to start the game, my character disappears. Is this due to the update?

    #
    171
    Feb 24, 2013 at 6:57 pm
    • Posts: 24

      this is not due to the update. I use 2.66 as well. What you can do to try and fix this is in the physics settings check wether you have invisible turned on.

      #
      171.1
      Feb 25, 2013 at 7:48 am
  22. Posts: 17

    He wont do his static pose! Why not!!??
    I’m using 2.66

    -noah

    #
    172
    Mar 1, 2013 at 2:39 pm
    • Posts: 454

      This could be because of constraints deforming the pose

      #
      172.1
      Mar 2, 2013 at 4:42 am
      • LincolnOsiris
        Posts: 4

        Stop replying to people because you are clueless.

        #
        172.1.1
        Apr 7, 2013 at 6:16 pm
      • Posts: 2963

        Considering Alex’s extensive experience across many different applications, and many fields I can say for sure that he most definitely is not clueless. His recent hiring at Weta Digital would also suggest he knows what he’s talking about. Just saying.

        #
        Apr 8, 2013 at 4:10 pm
  23. Posts: 7

    Hello when i go into game logic and set up walk action using keyboard it works but when i add a always action for static when i press walk it doesnt work then help anyone

    #
    173
    Mar 5, 2013 at 11:10 am
  24. Lucas da Cunha
    Posts: 1

    hei galera voces sabem como fazer para um personagem andar e atirar ao memso tempo na mesma armature por que quando eu faço e executo uma animação a outra para!! tem como ajudar?

    #
    174
    Mar 6, 2013 at 11:18 pm
  25. Posts: 1

    Hi folks,
    I had the same problems with the static animation using 2.66 After some trials and errors
    I figured out a solution. You have to tweak the priorities. I use the following set up:
    walk priority: 2
    run priority: 1
    static priority: 3

    happy blender :)

    #
    175
    Apr 7, 2013 at 9:49 am
  26. LincolnOsiris
    Posts: 4

    You need to flag this as broken in 2.66.

    People will waste hours of their life for NOTHING!

    #
    176
    Apr 7, 2013 at 6:09 pm
    • Posts: 2963

      With well over 300 tutorials for Blender along we cannot constantly go back and check for broken parts with each new release. That would be asinine. We are happy to fix things as they are brought to our attention but please keep a level head and some manner of politeness. Being polite gives us a lot more incentive to fix things than rudely accusing us of wasting your time.

      Cheers,
      Jonathan

      #
      176.1
      Apr 8, 2013 at 4:09 pm
      • Posts: 1

        Hi Jonathan, please don’t vex. He’s angry because he couldnt get it to work but is not all of us. I personally appreciate you guys for doing tutorials for free (even though you have most for citizen users), i mean with all the work that goes into making tutorials. I tried making tutorials for Photoshop and i quited after 3 videos. But you guys make lengthy videos just b’cos you want to teach (even though i dont like timelapse videos), overall i think the least i could do is to say thanks to you all.

        #
        176.1.1
        Apr 28, 2013 at 5:05 am
  27. Posts: 1

    Can I skip the texturing and proceed to rigging and animation then after the game is finished I go with adding more details and texturing?

    #
    177
    Apr 29, 2013 at 11:52 pm
    • Posts: 2963

      Of course! It won’t cause any major problems. You might find a little texture stretching but it should be too big of a deal. You can go back and texture at any point for this kind of project.

      #
      177.1
      Apr 30, 2013 at 12:15 am
  28. Posts: 1

    If you are having problems with the exemple file in a recent version of blender (2.67 here), I got it to work simply like this :

    - select the mesh, go to the modifiers, and put the armature in first position (it comes after the subsurf by default) – do not delete it when the video ask you to !

    - in the logic editor, set the armature actuators priority so that the static pose priority is higher than the run/walk.

    #
    178
    May 13, 2013 at 11:08 am

Leave a Comment

You must be logged in to post a comment.