Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Implementing mouse control on Second player

Author
Message
Tucker
16
Years of Service
User Offline
Joined: 20th Jun 2010
Location: Earth Prime
Posted: 2nd Nov 2010 06:25 Edited at: 2nd Nov 2010 06:27
Hey guys,
I have been putting together a small platformer game, and I am at the stage of adding another player object in, so there are two active players, one controlled by the keyboard, the other - by the mouse.
Sparkys is required,
no media required.
i want to implement this mouse inertia code and apply it to a new object-




Into my main code.


And also, Im new to sparkys, so how do i set up collision for the second player, exactly like the first player?
Many rewards will be thrust upon anyone willing to help!

Hey look at that!
Mugen Wizardry
User Banned
Posted: 2nd Nov 2010 07:38 Edited at: 2nd Nov 2010 07:39
make 2 different speed variables. one controls turnspeed. and the other controls movespeed. something like this should work. and then just do a split screen with 2 different cameras. 1 for each player.



Good Luck!

CHECK OUT SOME MUSIC FROM MY NEW TECHNO CD! TECHNOKINESIS
http://www.youtube.com/watch?v=4a8KedfgVv0
ALSO, CHECK OUT MY NEW TECHNO CD! http://www.imageposeidon.com/

Login to post a reply

Server time is: 2026-07-22 04:37:57
Your offset time is: 2026-07-22 04:37:57