-
Working on a skill game, need help!
I am working on a skill game atm. I am using area effectors (the yellow arrows) to make the character move to the right.
The problem is that the character isn't moving straight. The character goes forward but also a bit to the left. How do I fix this? How do
I make the character go to the right in a straight line without it moving a bit to the left?
want it to be like the mario games, just straight to the right or left)
-
Senior Member
Re: Working on a skill game, need help!
make sure its pointing in the right direction, using snapping helps
also best to restrict movement in other directions
not sure how others do it (and i use mainly opes for non trials stuff)
but custom collisions should help
-
Re: Working on a skill game, need help!
Thanks, one more question. How do I make the pipes look like Mario pipes? I'm trying to make a mario like skill game.
-
Senior Member
Re: Working on a skill game, need help!
well you can change colors of most stuff and you don't have to use pipes it just needs to look like them for the player for all you care it could be made out of wooden planks or anything else really
also a physics joint(that limits movement to 2 axis might be also do the job instead of custom collision
-
Member
Re: Working on a skill game, need help!
Not quite sure without getting more specifics; but in my experience, make sure you lock your game character to the DL. (The DL should still be used even if it's a skill game, unless its a free-roam 3d version.) Also, you should OPE the area effectors to the X,Y,Z position of your character. When pressing the controller Left/right, you can multiply the controller value (-3,-2,-1,0,1,2,3) by a constant to make your character move faster or slower in the desired direction (as your left right area effector Force Value). I also make sure that the area effectors can only affect the game character. If you want to see this concept, play one of my 'Blaster Master' Skill Games.
Regarding Mario Pipes, check out my 'Monochrome Madness2' track. I made these pipes with Primes. Some of them are rectangles but at an extreme angle so I just show an edge. This works well if you use the huge rectangles (no shadow) as a 'background' for your skill game.
Hope this helps a little,
-MBX
-
Re: Working on a skill game, need help!
If your character is physical you can lock him in place using a slider joint. Set target 1 to your character and target 2 to a stationary object. Then set the upper threshold to a number lower than the lowest threshold to enable the slider to move indefinitely in that direction. This will only work if your characters pasth never goes around a bend. I too have a map called Running & Jumping under username Jolan.