Giter Site home page Giter Site logo

Comments (19)

daredevildave avatar daredevildave commented on May 10, 2024

Which OS? Chromium on Mac seems to be fine.

from engine.

willeastcott avatar willeastcott commented on May 10, 2024

I'm guessing this is Chrome OS. On that OS, ALT+LMB has a system level 'special meaning': it simulates a right mouse button click. This is a bug in Designer.

As for WASD not working in the FPS Starter Kit, I haven't been able to repro that. I'm on:

Version: 35.0.1916.116
Platform: 571.61.0 (Official Build) stable-channel peach_pi
Firmware Google_Peach_Pi.4482.94.0

This is a brand new Samsung Chromebook (ARM based model that has just been released).

from engine.

 avatar commented on May 10, 2024

Hey all,

Thanks for the reply. I'm running on Gentoo Linux. I'd be happy to provide
any other info you need.

Thanks :)
On Jun 5, 2014 6:05 AM, "willeastcott" [email protected] wrote:

I'm guessing this is Chrome OS. On that OS, ALT+LMB has a system level
'special meaning': it simulates a right mouse button click. This is a bug.

As for WASD not working in the FPS Starter Kit, I haven't been able to
repro that. I'm on:

Version: 35.0.1916.116
Platform: 571.61.0 (Official Build) stable-channel peach_pi
Firmware Google_Peach_Pi.4482.94.0

This is a brand new Samsung Chromebook (ARM based model that has just been
released).


Reply to this email directly or view it on GitHub
#2 (comment).

from engine.

 avatar commented on May 10, 2024

Okay, tried a couple more things and it appears that in the IDE the 'A' key works and most other keybindings work; but 'ALT' doesn't seem to for me. I'm guessing my window manager (OpenBox) is eating my 'ALT' strokes. I'll check out the FPS gameplay again to see if the WASD keys are being emitted. I'll also add event handlers for keyup and see what keycodes are being bubbled. I'll post the results back here.

from engine.

 avatar commented on May 10, 2024

18 is the ALT keycode that's being captured by document in the IDE.

from engine.

 avatar commented on May 10, 2024

87 = W
65 = A
83 = S
68 = D

Are the keycodes being captured by document in the IDE.

from engine.

 avatar commented on May 10, 2024

The aforementioned keycodes are also being captured by document in the FPS test as well.

from engine.

 avatar commented on May 10, 2024

Wroops, clicked the wrong button.

from engine.

willeastcott avatar willeastcott commented on May 10, 2024

Yes, those are the standard key codes for those keys that should always be returned. See here: http://www.cambiaresearch.com/articles/15/javascript-char-codes-key-codes

@Maksims Can you test Designer on your Linux rig this evening? And create a project with the FPS starter kit and see if WASD works?

from engine.

Maksims avatar Maksims commented on May 10, 2024

@willeastcott just verified on Version 34.0.1847.116 Ubuntu 12.04 (260972), that keyboard input works as WASD in FPS example on playcanvas platform.
BUT, the example in engine folder which is accessible here: http://playcanvas.github.io/#camera/first_person/index.html
Does not do WASD in first place, as it is arrows there. So if arrows do work in that example (fps one), then we just need to add WASD as more common fly/fps movement controls. (doh, who did arrows? no one uses arrows nowadays :D )
As well verified that Russian layout keyboard does not affects keyboard input and it still works fine.

from engine.

willeastcott avatar willeastcott commented on May 10, 2024

@Maksims And presumably ALT+LMB in Designer to orbit works OK?

@guywithcrookedface Can you confirm:
'WASD not working' is in the FPS Starter Kit in PlayCanvas Designer, correct? Not this engine demo:
http://playcanvas.github.io/#camera/first_person/index.html
?

from engine.

willeastcott avatar willeastcott commented on May 10, 2024

@guywithcrookedface Also, can you confirm this behaviour is the same in Firefox on your Gentoo machine?

from engine.

 avatar commented on May 10, 2024

Sure thing,

I'll download nightly and see if it works; thanks for the quick reply on
this guys =D

On Thu, Jun 5, 2014 at 6:18 PM, willeastcott [email protected]
wrote:

@guywithcrookedface https://github.com/guywithcrookedface Also, can you
confirm this behaviour is the same in Firefox on your Gentoo machine?


Reply to this email directly or view it on GitHub
#2 (comment).

from engine.

 avatar commented on May 10, 2024

Hrm,

Tried with nightly Firefox and I'm still not seeing movement with the WASD
keys, or the arrow keys in an FPS project. I'll try the IDE and see what
happens there.

On Thu, Jun 5, 2014 at 6:33 PM, Christopher Dale <
[email protected]> wrote:

Sure thing,

I'll download nightly and see if it works; thanks for the quick reply on
this guys =D

On Thu, Jun 5, 2014 at 6:18 PM, willeastcott [email protected]
wrote:

@guywithcrookedface https://github.com/guywithcrookedface Also, can
you confirm this behaviour is the same in Firefox on your Gentoo machine?


Reply to this email directly or view it on GitHub
#2 (comment).

from engine.

willeastcott avatar willeastcott commented on May 10, 2024

Ah. I see the problem. Can you go to the project settings and check the box that says 'Enable 3D Physics'? This is a result of a bug we had a couple of days ago where forking a project would not copy the project settings. This is now fixed but any projects that were forked when the bug was in existence will be affected.

from engine.

 avatar commented on May 10, 2024

The IDE keybindings seem to work fine. Except ALT+* keybindings, which
might be due to my window manager. When I try left alt and middle click my
window manager grabs them first so they never make it to the browser;
that's something I can work with though.

If there's anything else I can do to help here lemme know :)

On Thu, Jun 5, 2014 at 6:36 PM, Christopher Dale <
[email protected]> wrote:

Hrm,

Tried with nightly Firefox and I'm still not seeing movement with the WASD
keys, or the arrow keys in an FPS project. I'll try the IDE and see what
happens there.

On Thu, Jun 5, 2014 at 6:33 PM, Christopher Dale <
[email protected]> wrote:

Sure thing,

I'll download nightly and see if it works; thanks for the quick reply on
this guys =D

On Thu, Jun 5, 2014 at 6:18 PM, willeastcott [email protected]
wrote:

@guywithcrookedface https://github.com/guywithcrookedface Also, can
you confirm this behaviour is the same in Firefox on your Gentoo machine?


Reply to this email directly or view it on GitHub
#2 (comment).

from engine.

 avatar commented on May 10, 2024

Sure thing,

I'll tick that box and try again; thanks Will.

On Thu, Jun 5, 2014 at 6:40 PM, Christopher Dale <
[email protected]> wrote:

The IDE keybindings seem to work fine. Except ALT+* keybindings, which
might be due to my window manager. When I try left alt and middle click my
window manager grabs them first so they never make it to the browser;
that's something I can work with though.

If there's anything else I can do to help here lemme know :)

On Thu, Jun 5, 2014 at 6:36 PM, Christopher Dale <
[email protected]> wrote:

Hrm,

Tried with nightly Firefox and I'm still not seeing movement with the
WASD keys, or the arrow keys in an FPS project. I'll try the IDE and see
what happens there.

On Thu, Jun 5, 2014 at 6:33 PM, Christopher Dale <
[email protected]> wrote:

Sure thing,

I'll download nightly and see if it works; thanks for the quick reply on
this guys =D

On Thu, Jun 5, 2014 at 6:18 PM, willeastcott [email protected]
wrote:

@guywithcrookedface https://github.com/guywithcrookedface Also, can
you confirm this behaviour is the same in Firefox on your Gentoo machine?


Reply to this email directly or view it on GitHub
#2 (comment).

from engine.

 avatar commented on May 10, 2024

w000t, that fixed it =D

Thanks to all!

On Thu, Jun 5, 2014 at 6:41 PM, Christopher Dale <
[email protected]> wrote:

Sure thing,

I'll tick that box and try again; thanks Will.

On Thu, Jun 5, 2014 at 6:40 PM, Christopher Dale <
[email protected]> wrote:

The IDE keybindings seem to work fine. Except ALT+* keybindings, which
might be due to my window manager. When I try left alt and middle click my
window manager grabs them first so they never make it to the browser;
that's something I can work with though.

If there's anything else I can do to help here lemme know :)

On Thu, Jun 5, 2014 at 6:36 PM, Christopher Dale <
[email protected]> wrote:

Hrm,

Tried with nightly Firefox and I'm still not seeing movement with the
WASD keys, or the arrow keys in an FPS project. I'll try the IDE and see
what happens there.

On Thu, Jun 5, 2014 at 6:33 PM, Christopher Dale <
[email protected]> wrote:

Sure thing,

I'll download nightly and see if it works; thanks for the quick reply
on this guys =D

On Thu, Jun 5, 2014 at 6:18 PM, willeastcott [email protected]
wrote:

@guywithcrookedface https://github.com/guywithcrookedface Also, can
you confirm this behaviour is the same in Firefox on your Gentoo machine?


Reply to this email directly or view it on GitHub
#2 (comment).

from engine.

Maksims avatar Maksims commented on May 10, 2024

That was my bug! :D
Now it is fixed indeed. There might be small number of people made projects during period of bugs wildness, which will result of physics library not being included into list of scripts of a pack.
But hopefully all fine now.

from engine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.