FPS on Construct 2

Discussion and feedback on Construct 2

Post » Fri Mar 09, 2012 10:50 am

Hi there,

There is currently a relative new API circulating on the net to Enable Mouse Lock on HTML5, this from what i have been reading allows for FPS style games to be created on html5

Question

Will this be possible on construct 2? integrating the api for one should be relatively easy..

Any ideas?







B
28
S
2
Posts: 69
Reputation: 1,491

Post » Fri Mar 09, 2012 11:13 am

The mouse lock API will eventualy be implemented.
But C2 is a 2D game maker, not a 3D game maker.
Making 3D first person shooters would require a lot of trickyness and are not really the type of games C2 is designed to help you make easily.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,795

Post » Fri Mar 09, 2012 7:35 pm

Construct 2 is a 2D game designer, so I'm not sure what purpose Mouse Lock has for 2D games? Got any ideas?
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Fri Mar 09, 2012 8:02 pm

People using that 3D plugin could probably use it. :D

Other than that though, I suppose that could be helpful in a game I'm making that uses wasd and the mouse, because when the mouse is outside the browser window the mouse coordinates stop getting updated. If the action is frantic enough, the mouse could go outside the browser window frequently, depending on how the user has the browser window arranged.

Other than that, it seems hard to anticipate what people might use it for, though. If it's not hard to implement, perhaps for that reason, it should be implemented anyway, to simply give devs the option if they want it?
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432

Post » Fri Mar 09, 2012 8:31 pm

Mouse Lock would be useful if you need to get the mouse speed to perform actions and don't want it to keep going out of the screen all the time
B
83
S
21
G
15
Posts: 1,039
Reputation: 15,134

Post » Fri Mar 09, 2012 9:27 pm

as long as, their a way for players to disable mouse lock , i don't mind, but im afraid if someone enter to website and a game locked his mouse curser and prevent him to surf on the internet!?, isn't ?prinsukun2012-03-09 21:30:44
B
22
S
3
G
5
Posts: 141
Reputation: 5,117

Post » Fri Mar 09, 2012 9:48 pm

[QUOTE=prinsukun] as long as, their a way for players to disable mouse lock , i don't mind, but im afraid if someone enter to website and a game locked his mouse curser and prevent him to surf on the internet!?, isn't ?[/QUOTE]

Yeah... that would be definitely annoying.
B
47
S
10
G
6
Posts: 455
Reputation: 8,326

Post » Fri Mar 09, 2012 11:06 pm

Thanks @rgros, I did not know there was something already to lock the mouse in HTML5. I will try to integrate it with my 3D plugin in the future. Right now my sample FPS is a DOOM style FPS (no up or down movement; just left, right, forward, backward movement)
B
26
S
7
G
3
Posts: 118
Reputation: 4,264

Post » Fri Mar 09, 2012 11:16 pm

I'm sure this will come in handy at some point, still not sure where :)

B
28
S
2
Posts: 69
Reputation: 1,491

Post » Fri Mar 09, 2012 11:22 pm

In the game im building i'd rather have the players mouse to be locked.
It uses both left and right mouse buttons to be played and the game screen is only 800px wide.
So when clicking the right mouse just outside the layout the right mouse menu opens up.
As such, the gamers attention gets pulled out of the game.
It would be a real benefit to my game to have the option of mouse lock.

So @Ashley, if u tend to build it into construct 2, i am one of those who really needs it in game.
And as the above message already aplied, a mouse "unlock" event would be very usefull.
And thanx for considering to implement it Savvy0012012-03-09 23:24:19
B
56
S
20
G
13
Posts: 778
Reputation: 13,204

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 6 guests