In this second section, I cover setting up menu and cut scenes, importing a gun to pick up and point, shooting the gun to knock over the boxes, and then finally adding a sound effect when the gun is shot.

Game Engine<

You must be logged in to upload images. Register

Discussion

77 Responses to “Game Engine: Simple Character Part 3”
  1. Andreas(ndee)
    Posts: 5

    Hey David! The Cover looks awsome!! I am really looking forward to watch this!!! The first 2 Tutorials were great! Thanks for your effort!

    #
    1
    Jun 9, 2010 at 11:57 pm
    • Posts: 261

      that’s what i’m here for :)

      #
      1.1
      Jun 10, 2010 at 12:03 pm
      • Posts: 2

        I have download the source file. But eddie can’t run.

        #
        1.1.1
        Jan 7, 2012 at 4:58 am
  2. Tyler
    Posts: 3

    Very nice! I love all your tutorials, they’ve helped me immensely!

    Thanks!

    #
    2
    Jun 10, 2010 at 2:11 am
  3. Posts: 3

    Can’t wait! Thanks for this series of tutorials David and Cookie. :]

    #
    3
    Jun 10, 2010 at 3:14 am
  4. James_Ross
    Posts: 12

    Can’t watch it while at work (sadly :P ) but I’ve been looking forward to more of these.

    #
    4
    Jun 10, 2010 at 3:51 am
  5. Enis
    Posts: 11

    Thanks for the great tutorial, is it possible to make a tutorial about the new rigify feature in 2.5

    #
    5
    Jun 10, 2010 at 4:38 am
    • Posts: 261

      i’ll look into it

      #
      5.1
      Jun 10, 2010 at 12:03 pm
  6. veQue
    Posts: 22

    5 Comments already!?! Wow i cant wait to watch it =)

    #
    6
    Jun 10, 2010 at 8:56 am
  7. Rene
    Posts: 2

    Great one! Do you know how to export the game, so that you just have an icon on your desktop from where the game starts without oppening Blender before??

    #
    7
    Jun 10, 2010 at 9:11 am
  8. Ricardo
    Posts: 2

    Another great lesson in how to make a game and still in blender.I want more.Thanks.

    #
    8
    Jun 10, 2010 at 10:04 am
  9. veQue
    Posts: 22

    Bravo! Great tutorial. loved the funny bits , learned a ton. Thanks

    #
    9
    Jun 10, 2010 at 10:15 am
    • Posts: 261

      glad you enjoyed it :)

      #
      9.1
      Jun 10, 2010 at 12:03 pm
  10. Moffboffjoe
    Posts: 1

    @53:18 you say just blender audacity xD I think you meant google, but anyway good useful tutorial :D

    #
    10
    Jun 10, 2010 at 10:27 am
    • Posts: 261

      yeah i caught that too as i reviewed it :D

      #
      10.1
      Jun 10, 2010 at 12:02 pm
  11. Posts: 35

    extreme hobbyist you may say Dave, but to me you are a professional :) ,, the series was awesome, i really learnt alot and thanks again for this awesome tut,, keep up the great work :D

    #
    11
    Jun 10, 2010 at 11:51 am
    • Posts: 261

      thanks :) you’re too kind

      #
      11.1
      Jun 10, 2010 at 12:02 pm
  12. Spencer Imbleau
    Posts: 12

    Dude ur amazing!
    I think i learned more than i already knew about blender just in 1 tutorial! REALLY AWESOME!
    Also i think in the next tut if u will make one (PLEASE DO!)
    is make a button to look down ur sights for aiming
    also i think you should script a villian to shoot back, i promise dude if u did that i would
    piss my pants that would be soooo awesome and probly make my own fps :D

    #
    12
    Jun 10, 2010 at 1:44 pm
  13. Mr Blender
    Posts: 1

    WOW!!! that was wierd cus i just watched the first two tuts on this subject by you and did not think that i would see this after hearing you say “i dont know when part 3 will come out”WOW!!!!!

    y did u go into editmode to scale the planes?

    u could also just make the plane with the message shadeless and cut out all the other stuff no?

    cool now i know how to make cutscenes stop for a couple of seconds

    I made something like that for a maze game ‘cept it had a multiple button function at the beggining and “this is a demo” at the end

    27:14 EPIC ROFLM*O!!!!!

    didnt have time to finish watching but how do u make eddie not go into gun pose until he has the gun

    THANK YOU SO MUCH FOR EXPLAING HOW TO MAKE OBJECTS LIKE THE GUN APPAER IN THE CHARATERS HAND

    (these were random ideas that popped into my head while watching your video, WHICH ARE SOOOOO TOTALLY AWESOME!!!!!!!!!!!!!!!)

    Ill finish the video later!!
    Keep up the AMAZING work My hat off to you
    Cant wait to see more on …maybe python?!

    also i tried to post this comment before but it wouldn’t post

    #
    13
    Jun 10, 2010 at 1:50 pm
  14. How
    Posts: 1

    wow, another great tutorial!!!!!!

    I really learned alot from this series, I wonder if though, just as a personal request do something on how you made the gun

    thankyou

    #
    14
    Jun 10, 2010 at 2:42 pm
  15. Guest
    Posts: 2

    Thank you Dave, great tutorial.

    It would be to bad if you don’t continue with the tutorial serie about the blender game engine.

    I like the idea of some animated enemies to shoot at, one that follows eddie to slap him and one thats running away??

    Many thanks,
    Andy

    #
    15
    Jun 10, 2010 at 3:33 pm
  16. Posts: 42

    The problem with the tubes is that it sinks in to the object’s center; since the center was in the center, and not at the bottom, it sunk until it hit the object center (actually the radius outside of the object center) and bounced off. Great tutorial though! What constraints did you use on the legs?

    #
    16
    Jun 10, 2010 at 8:53 pm
  17. Nixon
    Posts: 61

    that was awesome!!! i really love this tutorial series.
    I like how if u run into problems or unexpected things solve the situation in blender fiddling around, those explanations are most vaLuable, since I’m sure lots of us are having exactly such issues too. Anyhow this was a great tutorial to watch and excercise along. Really dig that Eddie guy and his cool gun. Sound FX is awesome too! PEW-PEW-PEW!!!
    Much appreciation and regards!
    Blenderific Tutorial!!

    #
    17
    Jun 10, 2010 at 11:23 pm
  18. iBeSnipez
    Posts: 12

    You should try in part 4 making the ground curvey like midway in ur rock face tut and see if he is able to walk on that. :) also you should probly make a cabnet, and when he goes to or touches the cabinet, the cabinet opens and he can get a gun out of that. But also, i think u need to make an animation this time. no more poses lol…. its awesome poses but its just like…. walking ohhh waling and… OMFG HE INSTANTLY IS FLYING! u need to fix it so its an animation pose. so he squats and then puts his arms up and then jumps like OMFG HES MAJIC?! ok thanks for reading this bai

    #
    18
    Jun 11, 2010 at 8:04 am
  19. Ian
    Posts: 4

    Awesome stuff dude!.. just one question.. for all of you actually.. I cant seem to get bump/normal maps to work in blender 2.5.. are there any things i have to set on?.. and yes.. im in textured mode and yes im using glsl.. they show up in renders to O.O weird stuff :D

    thanks in advance

    #
    19
    Jun 11, 2010 at 6:04 pm
    • Nixon
      Posts: 61

      hey Ian!
      I’m not exactly sure if i remind that correct, but i once followed a tutorial on terrain creation for the game enginge and it turned out that the author had to bake down all the texture slots into one texture that contained color and normal values and stuff at the same time….might not be totally correct here …but i think its worth a look:)

      #
      19.1
      Jun 12, 2010 at 9:53 am
  20. thylor
    Posts: 1

    hello david,

    thanks for this excellent piece!

    at the time you rotated the gun you said something like “lets get into sideview of the gun, as close as possible”.

    because of (in all tutorials i saw) i never heard of a nice way to do this exactly, and therefor was very surprised as i suddenly discovered it by accident, here is what i found:

    whenever you want to rotate the view to a specific face, simply select it, press shift and use your numpad as usual to adjust your viewport. you can also select more than one face, but in most cases this doesnt make much sense.

    this is exact and fast, it speeded up my workflow in many cases…

    #
    20
    Jun 12, 2010 at 6:08 pm
    • Posts: 5

      update:

      we lately worked out, that this feature at this time seems to work only on mac computers. but it hopefully will work soon on other platforms…

      #
      20.1
      Jun 15, 2010 at 9:37 am
  21. John
    Posts: 7

    Great tutorial series! A few comments. For the bullet origin, I prefer to use an empty (parented to the gun) for the source of the bullets. And for the tubes, using a cylinder for the collision bounds seems to not work the way you’d expect. Using a box for the collision bounds does work fine however.

    #
    21
    Jun 13, 2010 at 12:06 am
  22. Guru Prasad
    Posts: 3

    this series is awesome,
    i really learnt a lot!!!……
    Keep up the great work giving those tutorials..

    Waiting for your next tutorial
    – Guru Prasad

    #
    22
    Jun 13, 2010 at 4:49 am
  23. 3DRick
    Posts: 2

    Iam stuck at making the characters actions and I just cant get it to work. He just stands there. Please help.

    #
    23
    Jun 15, 2010 at 10:21 am
    • 3DRick
      Posts: 2

      Ohhh, I tryed to animate the character instead of the armature

      #
      23.1
      Jun 16, 2010 at 3:37 pm
  24. Posts: 3

    very cool tutos ur very good at this :)

    #
    24
    Jun 15, 2010 at 11:11 am
  25. Posts: 6

    Great tutorial! Watched the whole series already! Even when you struggle to find the right way to do something that doesn’t behave as expected is a lesson on how the pros go about troubleshooting an issue on their process! Can’t wait to see what else is coming down the pipe! :-)

    #
    25
    Jun 16, 2010 at 6:44 am
  26. erik90mx
    Posts: 7

    Waaaaaoo!! I learned a lot of things of the Blender Game Engine (the first time!!!)

    jejeje I want to give you some ideas for the possible next tutorial:

    -How to do that the mouse control the sight direction (like in PC games shooters)

    -¿How we can project shadows in the game?

    -¿How can we do that an ennemy do some actions against us? (Artificial Inteligence)

    -I would like that you show us… How to do a ragdoll!!?? like these http://www.youtube.com/watch?v=LClKeVVRoro&feature=fvw
    http://www.youtube.com/watch?v=K1M9oT5gajA&feature=related
    (very useful when want simulate a body fall or beaten very strong)

    Greetings and very gooooood work!!! I can’t wait for more of this!!

    PD: I didn’t know that we can use Subsurf in the Blender Game Engine!!!

    #
    26
    Jun 20, 2010 at 3:33 pm
  27. Pewpewpewkerplowey
    Posts: 18

    This tutorial series has been so helpful! I’m so stoked to put them to use! Thanks so much for all your effort!

    Looking forward to your future tutorials!

    #
    27
    Jun 21, 2010 at 11:51 pm
  28. AEvans
    Posts: 53

    This is incredibly cool! Don’t stop here! Can I learn more about this on Mavenseed? Which teacher knows about the game engine?

    Anyway, I really would like to know how to make an enemy with Artificial Intelligence. Do you think you can do that?

    -AEvans

    #
    28
    Jun 28, 2010 at 12:40 pm
    • Posts: 1761

      Hi AEvans,

      Currently I am the only Blender instructor on Mavenseed and unfortunately I know next to nothing about the game engine. I wish we could be of more help there but we will be sure to keep the game engine tutorials in the pipeline whenever possible.

      #
      28.1
      Jun 28, 2010 at 3:11 pm
  29. Bart VA
    Posts: 2

    hey,

    first of all, (prolly heard this one a thousand times lol ) thank you so much for these tuts.
    They are rly great ! :)
    Modeling, rigging, animating, physics and game logic… All no problem tnx to you :)

    But i have a problem when using Blender 2.5 alpha, being in the game logic window, my camera
    does’nt seem to work as it should. When i press 0 (to go to camera view) and press P (to start the game),
    the image of my game is either totally grey or the camera angle seems to look only to the -Z axis…
    Any ideas ?

    #
    29
    Jun 30, 2010 at 7:59 am
    • Bart VA
      Posts: 2

      Nevermind :) found it.
      I set the camera to be the active one in the current scene
      and problem solved.

      Please keep up the good work Mr. Ward. There’s lots of, in other posts mentioned
      things that we all want to see like how to setup an npc opponent with AI in the
      game logic etc. I really really reeeeaaaaally hope we will see a new
      GE tutorial about that :) pretty please with a cherry on top ? :p

      Again, gratz on all the work ur doing here :)

      #
      29.1
      Jun 30, 2010 at 10:15 am
  30. ZealmNi
    Posts: 1

    Milk a Duck, eh?

    #
    30
    Aug 27, 2010 at 6:20 pm
  31. Aaron T
    Posts: 2

    MORE MORE!!
    Some tuts on more detailed game logic would be awesome as well as enemy AI and utilizing particle effects in game.

    #
    31
    Sep 12, 2010 at 2:58 pm
  32. zac
    Posts: 4

    is there a place where i can get the game

    #
    32
    Sep 13, 2010 at 12:06 am
  33. Rachel R
    Posts: 1

    Heya, I’ve started watching the first video in this series and I’m loving it so far, but it seems that there’s something up with this and the 2nd video. I get an ‘Uh Oh! This video no longer exists’ message. D:

    It might just be my computer being daft for some reason, or is it a members only affair after the first one? :o

    #
    33
    Sep 14, 2010 at 4:18 pm
  34. Adam
    Posts: 4

    These are really great tutorials. I was just wandering though do you think that maybe you can make a tutorial on how to put cut scenes into a game. Like “Zelda Ocarina of time” Ex) player walks into the temple of time and in the back there is the Master Sword. When play approches Master Sword in Stone and presses the “A” Button it goes into a Cutscene showing Link(main character if you don’t know)Climbing onto the Alter, taking the handle of the Master sword and Drawing it Out of the stone. Then after that *if it wasn’t the first time you did it* it goes back to gameplay but with link older and what not.(ex end) I really hope this helped to describe what I am asking. I do hope you can help. Thank you very much

    #
    34
    Sep 14, 2010 at 4:30 pm
  35. Blender Noobie ;)
    Posts: 2

    Can you also make a Tutorial for How To make al Livebar and so on?

    #
    35
    Oct 11, 2010 at 12:13 pm
  36. Blender Noobie ;)
    Posts: 2

    Can you also make a Tutorial for How To make a Livebar and so on?

    #
    36
    Oct 11, 2010 at 12:14 pm
  37. Posts: 6

    David Ward we are glad u posted!

    #
    37
    Jan 8, 2011 at 7:01 am
  38. Nikita Synytsia
    Posts: 1

    27:00 “your talkin man your takin to me man i will shoot you man”. HAHAHAHAHA
    Nice tutorial cool I love it the only thing I think you should change is it still shoots even whene you dont have the gun which is like weird.

    #
    38
    Jan 29, 2011 at 12:55 pm
  39. Shen Black
    Posts: 4

    Great tut, but I was wondering why the panel to the right of the screen just has a c in it throughout all 3 tuts.

    #
    39
    Feb 2, 2011 at 12:45 am
  40. TWILisAwesome
    Posts: 2

    This is going to be sooooo useful for my game that I am making for a club. Thanks David Ward! You are awesome!

    #
    40
    Feb 22, 2011 at 11:10 pm
  41. Osmodiv
    Posts: 1

    Is this video protected? I have downloaded the other 2 preview videos but for some reason I cant download this one, I have used some Firefox addons and in the cache folder the video just stops at 25MB, and still nothing, I have been trying for days.
    Nice intro to the Game Engine by the way, Mr. Ward.

    #
    41
    Feb 26, 2011 at 4:21 pm
  42. Posts: 1

    Wow what a great tutorial series! Thanks so much, I learned a lot being a blender newbie, and will check out your other tutorials.

    One thing I’d be really interested in seeing (if you were to one day continue this series) is how to make a game with an in-game UI, with statistics like health / ammo etc. Along with managing other variables and making them have an effect on the game play.

    Awesome job!

    #
    42
    Mar 6, 2011 at 10:06 pm
  43. Jon Kraven
    Posts: 1

    Hi, i have a question. I am using blender version 4.9.5.2. and my appearance looks childish compared to yours. what version are you running?r

    Thank You for your time
    Jon Kraven

    #
    43
    Mar 21, 2011 at 4:06 am
  44. Posts: 116

    ummm i am trying to make my walking animation play as my figure moves forward, i was 2/3 through making the game logic and i realized that the actuator doesn’t have Action, it only (well not ONLY but the only thing close) has shape Action…. any ideas?

    #
    44
    Sep 5, 2011 at 4:13 pm
  45. Posts: 67

    Great work David! I’d really like to see more game engine tutorials on Blender Cookie though. I’d really like to see more advanced tutorials making use of python scripting.

    #
    45
    Sep 13, 2011 at 10:45 pm
  46. EddieProblem
    Posts: 8

    Does anyone know how to make Eddie walk AND push at the same time cuz mine doesnt seem to work!? Any suggestions would help plz.

    #
    46
    Sep 24, 2011 at 8:37 pm
  47. Fernando
    Posts: 1

    Hey David, I was wondering if you could help me with something.

    I am working on a cool game. It is a pretty realistic 3rd person shooter. I’m having trouble with the aiming portion. I used a MouseLook script in order to make the entire character turn left or right (I edited to remove the UpDown movement). Now I want to add the UpDown movement to ONLY the tope half of his armature (the chest bone and up). But I can’t add logic bricks to bones themselves, only objects. I have looked all over the place for some Python API in blender to find a getBone() method so I can apply the rotation to only the bone but I can’t find it.

    Any idea on how to make only the top half of his body aim up and down? Thanks

    #
    47
    Oct 4, 2011 at 4:28 pm
  48. Posts: 10

    how do you publish the game

    #
    48
    Oct 16, 2011 at 6:27 am
    • Posts: 1761

      There is an add on in the Export category to “Save as Runtime”. If you enable it then you should find the option under File > Export

      -Jonathan

      #
      48.1
      Oct 16, 2011 at 12:42 pm
  49. Posts: 10

    i am using blender 2.57 and it does not have that option

    #
    49
    Oct 20, 2011 at 7:12 am
  50. Posts: 10

    nevermind my previous comment. Where do i enable it?

    #
    50
    Oct 20, 2011 at 7:16 am
  51. Posts: 10

    ANY BODY know how to delete comments i want to delete the previous ones .And thanks for the help jonathon

    #
    51
    Oct 20, 2011 at 7:20 am
  52. Posts: 10

    when i open the runtime it crashes

    #
    52
    Oct 20, 2011 at 7:31 am
  53. Posts: 10

    how do u make enemy’s that follow you and attack u ,is there any way to make a character lift up another enemy

    #
    53
    Oct 20, 2011 at 7:44 am
  54. Posts: 10

    is there any way to make a split screen for multiplayer games?

    #
    54
    Oct 21, 2011 at 10:11 am
    • Posts: 174

      I don’t know the exact details but you could have more cameras in the scene. One for each player. I remember seeing it in a tutorial for Unity but I imagine that is how it works in Blender as well.

      #
      54.1
      Oct 21, 2011 at 10:31 am
  55. Posts: 10

    but when you have 2 camera’s it only looks through 1

    #
    55
    Oct 24, 2011 at 9:12 am
  56. Posts: 10

    can you give me more information

    #
    56
    Nov 6, 2011 at 1:23 pm
  57. Posts: 3

    Thanks David for the tutorial, it’s great! Falling over at one bit though…
    In the game engine, how do you combine two animations? For instance, I made a simple “H” shape, where two of the arms constantly wave through the “always” command, the other two wave when spacebar is pressed. I can’t for the life of me make both happen together, despite playing with the priorities etc. Only the “arms” are keyframed in the relevant action, so there’s “space” for the opposite pair to move.
    What am I missing? Any help greatly appreciated
    Cheers
    Husbandofemily

    #
    57
    Nov 15, 2011 at 11:04 am
  58. Posts: 1

    plz help me, i cant make the gun shoot, I did everything like in the video(ofc I have another models and that stuff, I think it doesnt matter) and it still wont work, the small cube is just flying forward at the start of the video, plz help

    #
    58
    Dec 4, 2011 at 6:50 am
  59. Posts: 1

    I know it’s an old video but there’s quite a few control glitches that would be good to cover if you continued.

    It looks like you’d be able infinitely jump throughout the tutorials. Perhaps add an invisible object at the base of his feet to check for any object below it, just like when he automatically goes into push animation. The check has to be small or he’d have the ability to wall jump. :p

    Is there anyway to set a variable to him for when he does pick up said gun? As you showed, he can go into the Gun Aiming animation before he picks it up, probably on Scene 1 since the character is linked. This would allow you to set a 3rd constraint (or Sensor as Blender calls them) that he has to have the gun, and be holding S to aim, then use that constraint for when he fires as well.

    It looks like you can, too. I haven’t tested it, but it you can have the Actuator change the value of that Object’s Property (if the property is like.. String, Integer, or Boolean, instead of just a plain old “I have this property.” Then just make the constraint.

    You can send a Message to other objects to, and there is a sensor for it, so when an object sends a message it can set a value. For instance, if you shot a special, unreachable power up, it would infuse you with said power up, but since your character isn’t part of that collision reaction, you’d need to do it that way.

    Sorry for excessive that I haven’t even tested. Hope it helps some game developers in the making, though.

    #
    59
    Dec 4, 2011 at 7:45 pm
  60. Posts: 2

    Hi, thanks for the great tutorial. I have purchased the file to check the whole thing out more in detail. However, the animations are missing in the game. Could you please help me on that? Thanks a lot. Dimitri

    #
    60
    Jan 8, 2012 at 4:47 am
  61. Ivant258852
    Posts: 8

    I it’s not letting me add objects via the game engine…
    Actuator=edit object => add object

    do any of the objects need to be actors for this to work? any other settings required?

    #
    61
    Apr 12, 2012 at 6:38 pm

Leave a Comment