Перейти к содержимому
View in the app

A better way to browse. Learn more.

Zloplay community

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.
Опубликовано:

Just thought a thread should be started for all those who are editing the code that is currently available. Also this could be a good thread for coders to team up and work on the code together.

 

I'm not sure if we are able to release modifications but you we can definitely talk about any planned or completed mods.

 

I downloaded the code yesterday and these are some things I'm trying to implement:

GUI

Player avatar

Sprint (Hold and release)

Custom Controls

and a few more things.

I'm not really a coder though I am learning but I'm gonna attempt these things.

 

So if you have the code share with us what your plans are or what you have already done.

Featured Replies

  • 4 weeks later...
Опубликовано:

Idk if this is the right topic to post this in, but I had a question about the code.

I wanted to add something, that if you keep a certain key pressed the camera movement speeds up(DebugCamera.cs). Now I've accomplished this using the key Space.

 

Now I tried to use Keys.LeftShift, but it does not work. Same for Keys.LeftControl and Keys.LeftAlt. How could I get those to work?

 

Sorry but I'm kinda a noob to C# :P.

Опубликовано:
  • Автор

Funny thing is that I also tried that using shift and never succeeded. Since I don't know too much about code I can't really help. Hope you find out(or someone) then we can all understand.

 

Tip: You should probably post up the parts of the code that you edited so if others ask they can see it and understand the issue.

Опубликовано:

Okay, well this code is in DebugCamera.cs:

 

//Other code...

public static void HandleKey(Keys key, bool down)
       {
           if (key == Keys.LeftShift)
           {
               _shiftKey = down; // Well this is just for handling it in the Process method
               Log.Write(LogLevel.Info, "Shift pressed or released!"); // But if I were to add this, it will never execute, the _shiftKey will not be set to the boolean down, it just never notices LeftShift getting pressed.
           }

          //other code....
       }

 

I hope this explains enough :P.

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Гость
Ответить в тему...

Сейчас на странице 0

  • Нет пользователей, просматривающих эту страницу

Важная информация

Используя этот сайт, вы соглашаетесь Условия использования.

Account

Navigation

Поиск

Поиск

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.