User Tag List

Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 28

Thread: First Person Shooter Help

  1. #11
    No Products Registered

    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    1,141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: First Person Shooter Help

    If you use my 3D engine it won't be a raycasting engine... If you made a raycaster you would already have walls working.

  2. #12
    No Products Registered

    Join Date
    Jun 2007
    Location
    Croatia
    Posts
    116
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: First Person Shooter Help

    now I don't want to be rude or anything... but I am not sure if he even know what a raycasting is...

    however, I am unable to understand the motives behind creating a fake 3d engine... Although this is a bit out of topic, we need more inovative ideas, not making clones of old games...

    So I suggest to all ambitious enough to create a 3d engine (raycasting?!?) in MMF: "Take it easy! Get into nature and watch. Many ideas can be found there."

    I know that it's tempting to create own 3d engine, but it would be wiser (and potentially more profitable) if you stick with new and simple ideas... even if it is only for your learning process....

    Well, that's my opinion anyway...

  3. #13
    No Products Registered

    Join Date
    May 2008
    Location
    California
    Posts
    81
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: First Person Shooter Help

    You say you need the math, but then what's all that math in your signature?

  4. #14
    Clicker Multimedia Fusion 2
    dragonguy's Avatar
    Join Date
    Apr 2008
    Location
    RULE BRITANNIA!
    Posts
    3,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: First Person Shooter Help

    The Math on my signature moves an object with x,y,z coordinates on the map to it's x,y coordinates on the screen.

    The Math I require is to be used with the before hand math to calculate the parameters of the 3D Shader which will make the walls work properly, coz right now the walls always face you.

  5. #15
    No Products Registered

    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    1,141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: First Person Shooter Help

    As I have said dozens of times: It is all in the example.
    It is not that you need the math. You simply cannot understand what the math does or how to use it.

  6. #16
    Clicker Multimedia Fusion 2
    dragonguy's Avatar
    Join Date
    Apr 2008
    Location
    RULE BRITANNIA!
    Posts
    3,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: First Person Shooter Help

    I did not understand it because it wasn't explained.

  7. #17
    Clicker Multimedia Fusion 2
    dragonguy's Avatar
    Join Date
    Apr 2008
    Location
    RULE BRITANNIA!
    Posts
    3,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: First Person Shooter Help

    I know the basic rundown of what I'm supposed to do, calculate the onscreen middle position of the wall, calculate the onscreen topleft position of the wall & calculate the onscreen bottomright position of the wall.

    But I have no idea how i'm supposed to use those calculations made to calculate the following parameters:

    X Scale
    Y Scale
    Left Height (h1)
    Right Height (h2)

    Other Info that might be useful:
    In my walls the hotspot is the center.

    Once I know the math for that, Iv'e finished my First Person Shooter Engine.

  8. #18
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: First Person Shooter Help

    Use the math in your sig to work out the positions and scales of (the centre of) the left and right edges of your object in the 3D world. The 2D position of your object is the middle of those two locations. The X scale of your object is the distance between the two edges on screen divided by the width of your object. The Y scale is the larger out of the two scales for the left and right edges. The left height and right height of the shader are set to left scale divide largest scale and right scale divide largest scale.

    I would guess. I haven't actually looked at the shader, and I'm sure it's all explained in the example.

  9. #19
    No Products Registered

    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    1,141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: First Person Shooter Help

    If dragonguy would just spend a few minutes experimenting with the shader I'm sure he would come to understand what all the parameters does. But it seems he is unable to do so... The old shader worked just as you explained, but the new shader has some extra parameters to achieve a skew effect as well, allowing multiple height levels.

  10. #20
    No Products Registered

    Join Date
    Feb 2007
    Location
    Sydney, Australia
    Posts
    1,654
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: First Person Shooter Help

    Quote Originally Posted by Werbad
    Great Idea: Stop trying!
    Naww, coming from a person that created a 3D engine himself, that's pretty harsh.

    But when I come to think of it, maybe Werbad has been trying so hard to do the same but could never achieve it making him upset, hence his quote

Page 2 of 3 FirstFirst 1 2 3 LastLast

Similar Threads

  1. Canceled OpenGL 3D First Person Shooter
    By LavaFlaminG6 in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 17th June 2013, 02:07 AM
  2. 3rd person game
    By PandaExplosion in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 4th May 2010, 05:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •