How to export simply my game view as website

That’s not always the same logic

by user 224464722878005248

Yes not always buuuuut you’re in Needle Engine so since we come from Unity too we build the engine in a similar fashion (not 1 to 1 but we want to make it simple for devs coming from Unity)

so for example there is “this.context.input” to access your key presses or inputs and “update” loops :slightly_smiling_face:

About the component event loops etc you find the docs here: Needle Engine Scripting | Needle Engine Documentation

And there’s also a Unity dev goes typescript document (wip) here: needle-engine-support/documentation/for-unity-developers.md at main · needle-tools/needle-engine-support · GitHub

Okay, more example I got, more I will be quick to learn
Do you want That I published here my others questions about typescript => cs conversion I tried to make when I got troubles or do you think it’s more convenient to speak about it in private ?

by user 224464722878005248

Public is usually better :slightly_smiling_face:

Thanks for helping so fast !
More I learn quickly, more I could diffuse your tool I first place in the company in which I work
And after that, in my country (If it works so good, I could make french tutorial :grin:)

by user 224464722878005248

You know
I known your needle by hasard on TikTok, It’s this tool which convince my new client to hire me to make a new process in his company
So, I would like to spread needle as convenient tool for developers :grin:

by user 224464722878005248

Oh interesting - first of all congrats :smile: happy to hear that. Do you happen to have a link to the tiktok you mean? Would love to see :sweat_smile:

It’s in french ha

by user 224464722878005248

I try to find it*

by user 224464722878005248

thanks :slightly_smiling_face:

https://vm.tiktok.com/ZMFrjbUG2/

by user 224464722878005248

Here

by user 224464722878005248

ah so awesome :smile:

thanks

Hi
Excuse me but, for the using of this.context.input
Does

Input.GetKey(KeyCode.Q)

Equally

this.context.input.getKeyPressed("Q")

by user 224464722878005248

that would be this.context.input.isKeyPressed("q")

Thanks

by user 224464722878005248

Do you know where could I find equivalent of key css => key for needle ?
To not bothering you
For example it works good for letters but can’t find the arrows
I tried keyleft keyright, leftArrow, leftarrow etc etc
Doesn’t work

by user 224464722878005248