side scrolling shoot em up WIP
Uploader Comments (pananag)
All Comments (16)
-
I need it so my cross air is on and constrained to the x axis (the same as my character). I have managed to have it on the x axis, but then it barely moves when i wiggle the mouse. I Hope that's clear, if not just message me.
Thank you SO much for your help.
-1LocationProductions
-
@1locationproductions I can write a script for you. It is just that there are many ways to do it. Tell me what exactly you need, so I can implement the best method.
-
@pananag I have been trying do the same thing but always ran into trouble with the mouse look. Could you post the script and/or a example blend file? You would be a hero if you did.
-
@SomeoneNamedTom You need a script that puts the mouse cursor always at the center of the screen. When you move the mouse to the right the cursor will move right some pixels & return. All you have to do is activate a rotate actuator when mouse cursor is at x coordinates left/right of the halfscreen X coordinates. Be sure to leave a space for half screen coordinates e.g 5-10 pixels or else the slightest movement will rotate the cube. So you rotate when x coord is less/more than halfscreenX -/+5.
-
awesome game! keep it up. u could get a lot of views if u finish the game. how did u make the cube track to the mouse?
hey do you know how press two buttons at the same time to perform an action and it wouldn't interfere with the other buttons. for example I press up and left at the same time and he goes in the upleft direction then when an add an sensor for him to just go left he goes left but it interferes with my upleft action there making him go left when i press up and left. is there anyway to cancel buttons when i do this
Alusaint 5 months ago
@Alusaint Maybe you can use two keyboard sensors which you will connect to an AND controller. The sensor with the key you want to activate the controller (e.g. the left button) will be positive and the sensor with the key(s) e.g (the up key) will be negative. So when you press left and up only left will trigger the action.
pananag 5 months ago
@pananag what do you mean by positve and negative
Alusaint 5 months ago
@Alusaint Every sensor has two icons with three dots. The one with the dots at the upper side of the icon is the positive (or true in Blender 2.5+) pulse and the other with the dots at the lower side of the icon is the negative (or false) pulse.
pananag 5 months ago