Skip to content
This repository was archived by the owner on Apr 10, 2026. It is now read-only.

Commit 4bb9c69

Browse files
committed
Initial commit
0 parents  commit 4bb9c69

11 files changed

Lines changed: 427 additions & 0 deletions

File tree

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: Build Geode Mod
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- "**"
8+
9+
jobs:
10+
build:
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
config:
15+
- name: Windows
16+
os: windows-latest
17+
18+
- name: macOS
19+
os: macos-latest
20+
21+
- name: iOS
22+
os: macos-latest
23+
target: iOS
24+
25+
- name: Android32
26+
os: ubuntu-latest
27+
target: Android32
28+
29+
- name: Android64
30+
os: ubuntu-latest
31+
target: Android64
32+
33+
name: ${{ matrix.config.name }}
34+
runs-on: ${{ matrix.config.os }}
35+
36+
steps:
37+
- uses: actions/checkout@v4
38+
39+
- name: Build the mod
40+
uses: geode-sdk/build-geode-mod@main
41+
with:
42+
combine: true
43+
target: ${{ matrix.config.target }}
44+
45+
package:
46+
name: Package builds
47+
runs-on: ubuntu-latest
48+
needs: ['build']
49+
50+
steps:
51+
- uses: geode-sdk/build-geode-mod/combine@main
52+
id: build
53+
54+
- uses: actions/upload-artifact@v4
55+
with:
56+
name: Build Output
57+
path: ${{ steps.build.outputs.build-output }}

.gitignore

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# Prerequisites
2+
*.d
3+
4+
# Compiled Object files
5+
*.slo
6+
*.lo
7+
*.o
8+
*.obj
9+
10+
# Precompiled Headers
11+
*.gch
12+
*.pch
13+
14+
# Compiled Dynamic libraries
15+
*.so
16+
*.dylib
17+
*.dll
18+
19+
# Fortran module files
20+
*.mod
21+
*.smod
22+
23+
# Compiled Static libraries
24+
*.lai
25+
*.la
26+
*.a
27+
*.lib
28+
29+
# Executables
30+
*.exe
31+
*.out
32+
*.app
33+
34+
# Macos be like
35+
**/.DS_Store
36+
37+
# Cache files for Sublime Text
38+
*.tmlanguage.cache
39+
*.tmPreferences.cache
40+
*.stTheme.cache
41+
42+
# Ignore build folders
43+
**/build
44+
# Ignore platform specific build folders
45+
build-*/
46+
47+
# Workspace files are user-specific
48+
*.sublime-workspace
49+
50+
# ILY vscode
51+
**/.vscode
52+
53+
# Local History for Visual Studio Code
54+
.history/
55+
56+
# clangd
57+
.cache/
58+
59+
# Visual Studio
60+
.vs/
61+
62+
# CLion
63+
.idea/
64+
/cmake-build-*/

CMakeLists.txt

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
cmake_minimum_required(VERSION 3.21)
2+
set(CMAKE_CXX_STANDARD 20)
3+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
4+
if ("${CMAKE_SYSTEM_NAME}" STREQUAL "iOS" OR IOS)
5+
set(CMAKE_OSX_ARCHITECTURES "arm64")
6+
else()
7+
set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64")
8+
endif()
9+
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
10+
11+
project(AlphasReferenceImage VERSION 1.0.0)
12+
13+
file(GLOB_RECURSE SOURCES CONFIGURE_DEPENDS src/*.cpp)
14+
15+
add_library(${PROJECT_NAME} SHARED ${SOURCES})
16+
17+
if (NOT DEFINED ENV{GEODE_SDK})
18+
message(FATAL_ERROR "Unable to find Geode SDK! Please define GEODE_SDK environment variable to point to Geode")
19+
else()
20+
message(STATUS "Found Geode: $ENV{GEODE_SDK}")
21+
endif()
22+
23+
add_subdirectory($ENV{GEODE_SDK} ${CMAKE_CURRENT_BINARY_DIR}/geode)
24+
25+
setup_geode_mod(${PROJECT_NAME})

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Alpha's Reference Image
2+
3+
Adds the ability to add references images within the editor.
4+
These images will persist between sessions, no need to reimport every time you open the editor.
5+
6+
Press the <cg>Ref</c> button in the edit tab to add one, you can always change the image later by editing that object and pressing Image on the top right.
7+
8+
<cr>These images use text objects with the image path, be sure to remove them before uploading the level if you do not wish for the path to be seen.</c>
9+
10+
This is not an image importer mod, it will not be visible when playing the level!

changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# 1.0.0
2+
- Initial Release.

logo.png

55.1 KB
Loading

mod.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"geode": "4.7.0",
3+
"gd": {
4+
"win": "2.2074",
5+
"android": "2.2074",
6+
"mac": "2.2074",
7+
"ios": "2.2074"
8+
},
9+
"id": "alphalaneous.alphas_reference_image",
10+
"name": "Alpha's Reference Image",
11+
"version": "v1.0.0",
12+
"developer": "Alphalaneous",
13+
"description": "Add Reference Images to the Editor",
14+
"dependencies": {
15+
"geode.node-ids": ">=v1.20.0"
16+
},
17+
"resources": {
18+
"spritesheets": {
19+
"ImageButtonSheet": [
20+
"resources/*.png"
21+
]
22+
}
23+
},
24+
"links": {
25+
"homepage": "https://linktr.ee/Alphalaneous",
26+
"source": "https://github.com/Alphalaneous/AlphasReferenceImage",
27+
"community": "https://discord.gg/Txn2CA5dHF"
28+
},
29+
"tags": [
30+
"editor", "utility", "offline", "enhancement"
31+
]
32+
}

resources/image-btn.png

10.1 KB
Loading

0 commit comments

Comments
 (0)