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 Development<<

You must be logged in to upload images. Register

Discussion

87 Responses to “Game Engine: Simple Character Part 3”
  1. 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
  2. Posts: 10

    when i open the runtime it crashes

    #
    52
    Oct 20, 2011 at 7:31 am
  3. 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
  4. Posts: 10

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

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

      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
  5. Posts: 10

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

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

    can you give me more information

    #
    56
    Nov 6, 2011 at 1:23 pm
  7. 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
  8. 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
  9. 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
  10. 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
  11. Ivant258852
    Posts: 7

    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
  12. Posts: 17

    My “Add Object” feature doesn’t work.
    PS I’m usin blender 2.63a

    #
    62
    Sep 9, 2012 at 9:45 am
  13. Nice Tut! not only usefull but fun too!

    #
    63
    Nov 26, 2012 at 8:08 pm
  14. Posts: 1

    Great stuff as usual. I enjoy modeling in my free time and often reference your tutorials. Might I humbly ask for a tutorial on exporting an animation as an MD5? I have tried to do this and the closest I’ve gotten is having my character appear with no texture or animation. My goal is to create a new central character that I can manipulate in Platinum Arts Sandbox.
    http://www.sandboxgamemaker.com/

    These links have been the most helpful.
    http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Import-Export/IdTech4_md5
    http://www.katsbits.com/smforum/index.php?topic=167.0
    http://www.katsbits.com/tools/#md5
    http://www.katsbits.com/smforum/index.php?topic=178.0

    Please and Thank you

    #
    64
    Dec 20, 2012 at 5:24 am
  15. John
    Posts: 1

    When making gun fire mechanics you should use an empty for where the bullet appears. By do this it makes it alot easier.

    #
    65
    Mar 23, 2013 at 1:48 am
  16. Posts: 9

    Where can i buy/download the finished game?

    #
    66
    Apr 13, 2013 at 4:29 am
    • Posts: 2962

      What you see in this part is the final game. We never took it any further as it was just an educational piece. However, you can find the final version from this tutorial included in the source files, which are available to Citizen members.

      Jonathan

      #
      66.1
      Apr 13, 2013 at 10:39 am
  17. Posts: 9

    Thanks it was a really helpfull video

    #
    67
    Apr 13, 2013 at 4:23 pm
  18. Posts: 4

    hahaha Milk a duck? this is brilliant. much better than the stuff on youtube!

    #
    68
    Apr 26, 2013 at 12:29 pm
  19. Posts: 4

    hahaha Milk a duck? this is brilliant. much better than the stuff on youtube!

    #
    69
    Apr 26, 2013 at 12:29 pm

Leave a Comment

You must be logged in to post a comment.