[mod] Wormball minigame [wormball][arena_lib minigame][beta]

Post Reply
User avatar
MisterE
Member
Posts: 694
Joined: Sun Feb 16, 2020 21:06
GitHub: MisterE123
IRC: MisterE
In-game: MisterE

[mod] Wormball minigame [wormball][arena_lib minigame][beta]

by MisterE » Post

A multiplayer 3d nibbles (aka Snake) clone for arena_lib. This is an beta version... Now with sounds, background music, HUD elements, and any shape arena you like.

Rules: you start as a worm head. Move about, and don't hit the walls or other players or yourself. Also dont go back on yourself. If you do, you are eliminated. Survive until the end to qualify for highscores! To gain points, eat any color dots except your own color. Beware of similar colors! Eating your own color removes a segment and a point. When the game is over, the player with the longest worm wins, and could beat the highscore!

It supports singleplayer and up to 10 players

Image

look in the direction you want to go, or press space or shift to move vertically.

License: GNU GPL3, assets: CC0
Wormball mod by MisterE for use with arena_lib (minigame_lib) You should be familiar with how to set up arena_lib arenas.

Code snippets from https://gitlab.com/zughy-friends-minete ... er/DOCS.md and from Zughy's minigames
all assets cc0. Models by MisterE, textures by MisterE, and sounds CC0 from opengameart

to set up an arena, create a completely enclosed arena out of any nodes you wish except those provided by this mod.
You should place lights in the walls, or have glass to allow light in. In this version, you can have any shape arena you like.
You may decorate the walls how you wish. Keep in mind that very large arenas may cause server lag during loading, and they are in general not fun to play in anyways.
Make the arena,

THEN note 2 position that bound your arena.... The game will place powerups and erase game peices within these locations.
enter these locations in the editor settings (described below)

Basic setup:

1) type /wormball create <arena_name>
2) type /wormball edit <arena_name>
3) use the editor to place a minigame sign, assign it to your minigame.
4) while in the editor, move to where your arena will be.
5) Make your arena. It should be a completely enclosed area, but can be any shape.
6) using the editor tools, mark player spawner locations. Protect the arena.
7) note to locations of 2 positions that completely bound the arena. From the minigame editor, go to settings > arena_settings.
8) type in the locations of the 2 opposite corners. Click on area_to_clear_after_game_pos1 and enter the correct values. then do the same with pos2.


CAUTION: in the arena_settings, Y COMES FIRST! In the regular coordinate system, X COMES FIRST! Type the CORRECT values in... if you get it wrong, you may freeze your world and cause damage to it.
BE CAREFUL TO GET THE CORRECT VALUES!!!!! also, if you get them wrong, the game will not work... the game tries to clear that when it loads, if you get it wrong, then it will clear the wrong area.

If you wish, you may change the other settings (except high_scores)

the formula used to determine whether to start erasing powerup dots is:
if # dots in existence > min_food_factor * #players + min_food then
--have a 1/2 chance to erase a dot
end


9) exit the editor mode
10) type /minigamesettings wormball
11) change the hub spawnpoint to be next to the signs.


background music is available: it is in the sounds folder, and titled: wormball_bgm















Singleplayer gameplay: https://youtu.be/OT-U3u_zZro


Download:https://notabug.org/MisterE123/wormball ... e/main.zip
git:https://notabug.org/MisterE123/wormball


here it is being played in singleplayer mode:
https://youtu.be/Uhwh1SEfYV0
Last edited by MisterE on Wed Jan 27, 2021 01:59, edited 5 times in total.

User avatar
MisterE
Member
Posts: 694
Joined: Sun Feb 16, 2020 21:06
GitHub: MisterE123
IRC: MisterE
In-game: MisterE

Re: [mod] Wormball minigame [wormball] [alpha]

by MisterE » Post

I have tested it with a .4 second step. I really jars the brain with that sudden movement... so I will have to attach players to dummy entities for interpolated movement.

User avatar
MisterE
Member
Posts: 694
Joined: Sun Feb 16, 2020 21:06
GitHub: MisterE123
IRC: MisterE
In-game: MisterE

Re: [mod] Wormball minigame [wormball][arena_lib minigame][alpha]

by MisterE » Post

Updated, much more playable now... video added
Fixed many multiplayer bugs...

BTW, the repo with the latest commits is:https://github.com/MisterE123/wormball-WIP-
the notabug linked in the first post might be an hour behind, but that is where I accept issue reports

Dragonop
Member
Posts: 1233
Joined: Tue Oct 23, 2012 12:59
GitHub: Dragonop
IRC: Dragonop
In-game: Dragonop
Location: Argentina

Re: [mod] Wormball minigame [wormball][arena_lib minigame][alpha]

by Dragonop » Post

I've enjoyed playing around with this in singleplayer! Very fun, I'm eager to see more polish and time put into it
The models are really cute!

User avatar
MisterE
Member
Posts: 694
Joined: Sun Feb 16, 2020 21:06
GitHub: MisterE123
IRC: MisterE
In-game: MisterE

Re: [mod] Wormball minigame [wormball][arena_lib minigame][alpha]

by MisterE » Post

Dragonop wrote:
Sun Jan 24, 2021 21:51
I've enjoyed playing around with this in singleplayer! Very fun, I'm eager to see more polish and time put into it
The models are really cute!
THx! please post suggestions...

User avatar
MisterE
Member
Posts: 694
Joined: Sun Feb 16, 2020 21:06
GitHub: MisterE123
IRC: MisterE
In-game: MisterE

Re: [mod] Wormball minigame [wormball][arena_lib minigame][alpha]

by MisterE » Post

update 01262021
--
added :
no more apples, hunt powerpoints instead, but dont eat your own color!
HUD elements,
timer, timer is displayed in HUD
highscore recordkeeping
any shape arenas are now supported
sounds, and background music available

User avatar
MisterE
Member
Posts: 694
Joined: Sun Feb 16, 2020 21:06
GitHub: MisterE123
IRC: MisterE
In-game: MisterE

Re: [mod] Wormball minigame [wormball][arena_lib minigame][beta]

by MisterE » Post

update 02012021
-----

major code clean-up:

comments added,
many redundancies removed
a few bugs fixed and prevented

the code is now clean and easy to read: Thanks, _Zaizen_ for suggesting I do this!

-----

User avatar
MisterE
Member
Posts: 694
Joined: Sun Feb 16, 2020 21:06
GitHub: MisterE123
IRC: MisterE
In-game: MisterE

Re: [mod] Wormball minigame [wormball][arena_lib minigame][beta]

by MisterE » Post

Update 02032021

fix bug where players were not teleported out of the arena after crashing. Now, if you crash before the time is up, you do not "win", rather is says game over, and that you did not make the highscore because you did not survive for the whole game. With this update players' worms are immediately converted into food when they crash, rather than the conversion being a slow progression, and the player is eliminated immediately. A little more code cleanup too.

User avatar
debiankaios
Member
Posts: 910
Joined: Thu Dec 03, 2020 12:48
IRC: debiankaios
In-game: debiankaios Nowe
Location: germany
Contact:

Re: [mod] Wormball minigame [wormball][arena_lib minigame][beta]

by debiankaios » Post

MisterE wrote:
Wed Feb 03, 2021 06:02
Update 02032021

fix bug where players were not teleported out of the arena after crashing. Now, if you crash before the time is up, you do not "win", rather is says game over, and that you did not make the highscore because you did not survive for the whole game. With this update players' worms are immediately converted into food when they crash, rather than the conversion being a slow progression, and the player is eliminated immediately. A little more code cleanup too.
Were can if ind the updates?

User avatar
MisterE
Member
Posts: 694
Joined: Sun Feb 16, 2020 21:06
GitHub: MisterE123
IRC: MisterE
In-game: MisterE

Re: [mod] Wormball minigame [wormball][arena_lib minigame][beta]

by MisterE » Post


User avatar
MisterE
Member
Posts: 694
Joined: Sun Feb 16, 2020 21:06
GitHub: MisterE123
IRC: MisterE
In-game: MisterE

Re: [mod] Wormball minigame [wormball][arena_lib minigame][beta]

by MisterE » Post

Wormball has been updated to fix a crash with the new arena_lib spectate mode.

however, besides this, it has been determined that spectate,even when it doesnt crash (fixed BTW), it still doesnt work well with wormball. That is because the spectators are placed in the spawn locations of each player, but do not move with the player... hmm, maybe that will be fixed with MT 5.4. We'll see. For now, spectate is disabled, but if you want it, feel free to change spectate_mode from false to true in init.lua


also, here are some ready-to-go arenas for you to use:

https://notabug.org/MisterE123/wormball ... rc/master/

User avatar
MisterE
Member
Posts: 694
Joined: Sun Feb 16, 2020 21:06
GitHub: MisterE123
IRC: MisterE
In-game: MisterE

Re: [mod] Wormball minigame [wormball][arena_lib minigame][beta]

by MisterE » Post

BTW, in the latest wormball release, spectate has been fixed.

Post Reply

Who is online

Users browsing this forum: No registered users and 25 guests