Skip to content

Add sound names #100

Description

@garsipal

Add sound names required for map sounds and game sounds to play, instead of relying on arbitrary integers.

Declaration on CubeScript:

registersound "jump" "player/jump01" 80

Example on C++:

playsound("jump", player);

Declaration on CubeScript:

mapsound "distantShip" "ambient/metald_01" 120

Example on CubeScript:

trigger "playSound" "proximity" [
    triggersound "distantShip" $eventsource
]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or aesthetic improvementhelp wantedThis issue is craving attention from heroic souls ready to lend a handimportantSignificant problem that needs to be resolved as soon as feasible

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions