Open Dani-404 opened 10 months ago
We should have also informations about player's extrapolation and handicap, so we can have any info if some1 is really using any cheat.
It could be forever bypassable, extrapolation and handicap are client-side parameters settings linked to fps and rendering, and the client will always be able to send what he wants to the main peer
thank you, needed suggestions
i like these suggestions
SUGGESTION : UPDATE THE GOD DAMN GAME @basro YOU HAVE NO EXCUSES ANYMORE BASRO NOOB
SUGGESTION: ADD MOBILE VERSION THAT WILL BE VERY COOL WILL BE BE THE MOST COOL GAME ON THE WORLD
PlayerObject country: string → get the flag country of a player (idk how this is not available yet? We need edit headless-min.js to have this feature).
DiscPropertiesObject imageData : base64 ImageData || null → set an avatar image for a disc || remove avatar image for a disc. force: Vector → Apply a force impulse to a disc (like jumping or something like that)
RoomObject updateMaxPlayers(max: int) → update RoomObject.maxPlayers playSoundUrl(url: mp3 || null) → play an extern mp3 audio, and can be use full for sounds, playing radio or commenting matchs || stop audio setPlayerColor(player: playerObject, color: HexCode) → set color for username player in menus setPlayerPrefix(player: playerObject, prefix: string || null, bgPrefix: HexCode, colorPrefix: HexCode) → set a prefix for players in menu (ranks, MMR, etc)![sample](https://github.com/haxball/haxball-issues/assets/23156261/cd925e39-8e9a-44dc-a6ce-d75ef9feda21)
for room sendAnnouncement, maybe possibility to add a prefix to for better messages structuration
recordClip(durationBefore: int) → idk if this is possible btw, but is an idea, extract a clip duration to hbr2 file when room is recording match addExtraKeyPress(keyCode: int) → adding key press event (for more features, cast spells, display modals etc) onKeyPressDown(player: playerObject, keyCode : int) → record key press event from a player onKeyPressUp(player: playerObject, keyCode : int) → record key press event from a player
addModal(modal: modalObject) → modal will be a new Object, which will allow you to display personalized pop-ups, with text, images, etc. (leaderboard, newsletter, etc.) with parameters like modal.title, modal.table, modal.image showModal(modalId: int, player: PlayerObject) → show modal to a player, like if is pressing tab with extra key, the modal is opening hideModal(modalId: int, player PlayerObject) → hide modal to a player
![screen2](https://github.com/haxball/haxball-issues/assets/23156261/ef95c45b-ac91-48b3-b2cd-6bae06a7e8f7)
Here are my suggestions, hoping they are heard, even if I don't play Haxball much anymore it would improve the community content !