mod.json (configuration):
{ "geode": "4.6.2", "gd": { "win": "2.2074", "andorid": "2.2074", "mac": "2.2074", "ios": "2.2074" }, "id": "frenchfrysays.button", "name": "Button", "version": "v2.1.1", "developer": "frenchfrysays", "description": "A Simple button that cycles through sound effects", "dependencies": { "geode.node-ids": "1.20.1" }, "links": { "source": "https://github.com/frenchfrysays3/button", "homepage": "https://frenchfrysays.neocities.org/mods/button", "community": "https://www.guilded.gg/i/E9x9gaop?cid=c47da16f-bae9-4ac3-a34e-fcef2cd7108a&intent=chat" }, "tags": [ "interface", "offline" ], "resources": { "spritesheets": { "Square": [ "res/spritesheets/icons/square/*.png" ], "Rounded": [ "res/spritesheets/icons/rounded/*.png" ], "circle": [ "res/spritesheets/icons/square/*.png" ] }, "files": [ "res/SoundEffects/*.mp3" ] } }
about.md:
# Button
A Simple button that cycles through sound effects.
changelog.md:
# v2.1.0 - Added Guilded link # v2.0.1 - Actually fixed button not appearing # v2.0.0 - Added button sprites - Changed logo - Fixed button not appearing # v1.0.1 - Fixed project name # v1.0.0 - Initial Release
CMakeLists.txt:
cmake_minimum_requred(VERSION 3.21) set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED ON) if ("${CMKAE_SYSTEM_NAME}" STREQUAL "iOS" OR IOS) set(CMAKE_OSX_ARCHITECTURES "arm64") else() set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64") endif() set(CMAKE_CXX_VISIBILITY_PRESET hidden) project(Button VERSION 1.0.0) file(GLOB_SOURCES CONFIGURE_DEPENDS src/*.cpp) add_library(${PROJECT_NAME} SHARED ${SOURCES}) if (NOT DEFINED ENV{GEODE_SDK}) message(FATAL_ERROR "Unable to find Geode SDK! Please define GEODE_SDK environment variable to point to Geode") else() message(STATUS "Found Geode: $ENV{GEODE_SDK}") endif() add_subdirectory($ENV{GEODE_SDK} ${CMAKE_CURRENT_BINARY_DIR}/geode) setup_geode_mod(${PROJECT_NAME})
logo.png
README.md:
# Button
A Simple button that cycles through sound effects.