Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

I need a bit of help in doing the following tasks:

 

1 - intercept keyboard directional commands so the player object doesn't move, and lets me work on that input.

2 - Use that input to control a remote camera.

 

What kind of support is there in Forge for these tasks? If this isn't possible then it's quite alright as I'm researching what's doable, for a mod I'm in the planning phases of. If I can't intercept the movement commands and redirect them to a remote camera, then this enhancement I won't be able to do.

 

On a side note, if it is doable, does the remote camera/view use absolute reference to the world or relative to the player icon? If it's relative then I'm not sure it'll work as if the player gets hit by a zombie, the camera view should NOT jump which is what I am afraid a relative offset will do.

 

I have looked at the code but apparently there is something I'm missing.

 

Credentials:

I've programmed in a few other languages, C++, C#, perl, so I've a few years of experience.. but I do NOT have that experience with Java so this is new territory for me. If there is someone here who was in a similar boat and has advice to help me get up to speed, that would be appreciated as well.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.