Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • CreatiCode
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

CreatiCode Scratch Forum

  1. CreatiCode Forum
  2. Help
  3. Fps game problems

Fps game problems

Scheduled Pinned Locked Moved Help
fpsgame
7 Posts 2 Posters 226 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    James Blackwell
    wrote last edited by
    #1

    im making a first person shooter, and need some assistance. don’t worry, it’s within guidelines, but i am having a little problem with gun rotation. it works fine with horizontal movement, but vertical movement appears to be impossible with the current block set. any solutions? Creaticode XO has none.

    CreatiCodeI 1 Reply Last reply
    0
    • J James Blackwell

      im making a first person shooter, and need some assistance. don’t worry, it’s within guidelines, but i am having a little problem with gun rotation. it works fine with horizontal movement, but vertical movement appears to be impossible with the current block set. any solutions? Creaticode XO has none.

      CreatiCodeI Offline
      CreatiCodeI Offline
      CreatiCode
      wrote last edited by
      #2

      @jamesa-blackwell-57b383d3

      Can you be more specific? is it 2D or 3D? local or multiplayer? What kind of vertical movement?

      J 1 Reply Last reply
      0
      • CreatiCodeI CreatiCode

        @jamesa-blackwell-57b383d3

        Can you be more specific? is it 2D or 3D? local or multiplayer? What kind of vertical movement?

        J Offline
        J Offline
        James Blackwell
        wrote last edited by
        #3

        @info-creaticode 3d. gun movement rotation. looking up and down is vital in fps games.

        CreatiCodeI 1 Reply Last reply
        0
        • J James Blackwell

          @info-creaticode 3d. gun movement rotation. looking up and down is vital in fps games.

          CreatiCodeI Offline
          CreatiCodeI Offline
          CreatiCode
          wrote last edited by
          #4

          @jamesa-blackwell-57b383d3

          Have you checked the MineCraft demo? It shows how to lock the pointer and aim at any direction.

          play.creaticode.com/projects/660aa865b57a3da838c387bc?version=1

          J 1 Reply Last reply
          0
          • CreatiCodeI CreatiCode

            @jamesa-blackwell-57b383d3

            Have you checked the MineCraft demo? It shows how to lock the pointer and aim at any direction.

            play.creaticode.com/projects/660aa865b57a3da838c387bc?version=1

            J Offline
            J Offline
            James Blackwell
            wrote last edited by
            #5

            @info-creaticode no im not talking camera that part is fine. im talking about making the gun rotate with the camera vertically. imagine holding a pistol in a fps. when you look up, the gun follows that rotation.

            CreatiCodeI 1 Reply Last reply
            0
            • J James Blackwell

              @info-creaticode no im not talking camera that part is fine. im talking about making the gun rotate with the camera vertically. imagine holding a pistol in a fps. when you look up, the gun follows that rotation.

              CreatiCodeI Offline
              CreatiCodeI Offline
              CreatiCode
              wrote last edited by
              #6

              @jamesa-blackwell-57b383d3

              Maybe you can try to set the camera to be the parent of the gun? so when the camera moves, the gun would follow.

              J 1 Reply Last reply
              0
              • CreatiCodeI CreatiCode

                @jamesa-blackwell-57b383d3

                Maybe you can try to set the camera to be the parent of the gun? so when the camera moves, the gun would follow.

                J Offline
                J Offline
                James Blackwell
                wrote last edited by
                #7

                @info-creaticode i’ve tried that. it would work for camera movement, but not rotation. when playing an fps game and idly holding a pistol, do u see the gun just rotate upward when you move the camera or do you see it move up with you?

                1 Reply Last reply
                0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • CreatiCode