About

Bullseye is a javelin range game where the purpose is to shoot a javelin as close as possible to the centre of the concentric circles. The game registers the first Top 3 shooters sorted by the distance closest to the bullseye. The game has settings for the range, two colours for the target and settable dimensions (normal or double). You can touch the bullseye for a list of options that are settable by the owner and players can touch the bullseye in order to receive a javelin. The Top 3 scores are stored permanently and you can rez or derez because they will be stored inside the primitive structure of the game.

Marketplace Item

Algorithm

Similar to the poseball system, the bullseye calculates the point of impact and translates the global coordinates into local coordinates. It then uses the circle equation to determine the distance from the origin to the impact point.

After the distance is known, it retrieves the scores using key-value data, adds the current shooter and the score to the lists, and then sorts the agents and the scores using the map-preserving dual quicksort to extract only the top-three scorers.

Using a relay-primitive at the top of the bullseye, the scores are displayed.

This process is repeated for every collision between a physical object and the bullseye.

Javelin

The javelin that is given out by the bullseye will attach to the right hand and rez a new javelin which will travel in the direction of the corsair in mouse-look mode. The speed will increase with the time that the user holds down the left-mouse button. The tip of the rezzed javelin contains a script that will turn off physics and set the primitive to phantom such that the javelin will appear stuck in the bullseye (or any other object that the javelin hits).

Javelin Rezzed Javelin

Index


secondlife/shooting_range.txt ยท Last modified: 2022/11/24 07:46 by 127.0.0.1

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.