-
-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #918 from Ganimoth/towerbabe
New Port: Tower Babe
- Loading branch information
Showing
8 changed files
with
148 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
## Notes | ||
|
||
Thanks to Keyslam and poltergasm for creating this game and kindly releasing it under MIT licence. Check the game's page at https://keyslam.itch.io/tower-babe | ||
|
||
## Controls | ||
|
||
| Button | Action | | ||
|--|--| | ||
|DPAD/LSTICK|Movement| | ||
|A|Charge jump| | ||
|B/R1|Reset charge| | ||
|Select|Reset level| | ||
|Start|Start| | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
#!/bin/bash | ||
|
||
XDG_DATA_HOME=${XDG_DATA_HOME:-$HOME/.local/share} | ||
|
||
if [ -d "/opt/system/Tools/PortMaster/" ]; then | ||
controlfolder="/opt/system/Tools/PortMaster" | ||
elif [ -d "/opt/tools/PortMaster/" ]; then | ||
controlfolder="/opt/tools/PortMaster" | ||
elif [ -d "$XDG_DATA_HOME/PortMaster/" ]; then | ||
controlfolder="$XDG_DATA_HOME/PortMaster" | ||
else | ||
controlfolder="/roms/ports/PortMaster" | ||
fi | ||
|
||
source $controlfolder/control.txt | ||
|
||
[ -f "${controlfolder}/mod_${CFW_NAME}.txt" ] && source "${controlfolder}/mod_${CFW_NAME}.txt" | ||
|
||
get_controls | ||
|
||
GAMEDIR=/$directory/ports/towerbabe | ||
CONFDIR="$GAMEDIR/conf/" | ||
|
||
mkdir -p "$GAMEDIR/conf" | ||
cd $GAMEDIR | ||
|
||
> "$GAMEDIR/log.txt" && exec > >(tee "$GAMEDIR/log.txt") 2>&1 | ||
|
||
# Set the XDG environment variables for config & savefiles | ||
export XDG_DATA_HOME="$CONFDIR" | ||
|
||
# If XDG Path does not work | ||
# Use bind_directories to reroute that to a location within the ports folder. | ||
bind_directories ~/.portfolder $GAMEDIR/conf/.portfolder | ||
|
||
export LD_LIBRARY_PATH="$GAMEDIR/libs.${DEVICE_ARCH}:$LD_LIBRARY_PATH" | ||
export SDL_GAMECONTROLLERCONFIG="$sdl_controllerconfig" | ||
|
||
# Source love2d runtime | ||
source $controlfolder/runtimes/"love_11.5"/love.txt | ||
|
||
# Run the love runtime | ||
$GPTOKEYB "$LOVE_GPTK" -c "towerbabe.gptk" & | ||
pm_platform_helper "$LOVE_BINARY" | ||
$LOVE_RUN "$GAMEDIR/Tower-Babe.love" | ||
|
||
pm_finish |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<gameList> | ||
<game> | ||
<path>./Tower Babe.sh</path> | ||
<name>Tower Babe</name> | ||
<desc>The evil wizard, Doodldorf, has taken your hot girlfriend and trapped her at the top of his tower. Run and jump to the top to save her!</desc> | ||
<releasedate>20241030T000000</releasedate> | ||
<developer>Keyslam, poltergasm</developer> | ||
<publisher>Keyslam, poltergasm</publisher> | ||
<genre>Platformer</genre> | ||
<image>./towerbabe/screenshot.png</image> | ||
</game> | ||
</gameList> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"version": 3, | ||
"name": "towerbabe.zip", | ||
"items": [ | ||
"Tower Babe.sh", | ||
"towerbabe" | ||
], | ||
"items_opt": [], | ||
"attr": { | ||
"title": "Tower Babe", | ||
"porter": [ | ||
"Ganimoth" | ||
], | ||
"desc": "The evil wizard, Doodldorf, has taken your hot girlfriend and trapped her at the top of his tower. Run and jump to the top to save her! Developed by Keyslam and poltergasm for the 1-BIT JAM #4.", | ||
"desc_md": null, | ||
"inst": "Ready to run!", | ||
"inst_md": null, | ||
"genres": [ | ||
"platformer" | ||
], | ||
"image": null, | ||
"rtr": true, | ||
"exp": false, | ||
"runtime": null, | ||
"reqs": [], | ||
"arch": [] | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2024 Justin van der Leij (Keyslam) | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
back = r | ||
start = enter | ||
|
||
a = z | ||
b = x | ||
x = \" | ||
y = \" | ||
|
||
r1 = x | ||
l1 = \" | ||
|
||
up = up | ||
down = down | ||
left = left | ||
right = right | ||
left_analog_up = up | ||
left_analog_down = down | ||
left_analog_left = left | ||
left_analog_right = right | ||
|
||
right_analog_up = \" | ||
right_analog_down = \" | ||
right_analog_left = \" | ||
right_analog_right = \" |