Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Twini Golf 3DS: Difference between revisions

From GameBrew
(Created page with "{{Infobox-3DS-Homebrews | title = Twini Golf 3DS | image = https://dlhb.gamebrew.org/3dshomebrew/Twini-Golf-3DS.jpg|250px | type = Other Games | version = v1.0 | lastupdated =...")
 
No edit summary
Line 1: Line 1:
{{Infobox-3DS-Homebrews
{{Infobox-3DS-Homebrews
| title = Twini Golf 3DS
| title = Twini Golf 3DS
| image = https://dlhb.gamebrew.org/3dshomebrew/Twini-Golf-3DS.jpg|250px
| image = https://dlhb.gamebrew.org/3dshomebrew/e7XF4j.gif|250px
| type = Other Games
| type = Other Games
| version = v1.0
| version = v1.0
Line 8: Line 8:
| author = LiquidFenrir
| author = LiquidFenrir
| website = https://github.com/LiquidFenrir/Twini-Golf-3DS
| website = https://github.com/LiquidFenrir/Twini-Golf-3DS
| download = https://dlhb.gamebrew.org/3dshomebrew/Twini-Golf-3DS.rar
| download = https://dlhb.gamebrew.org/3dshomebrew/Twini-Golfv1.0.7z
| source = https://github.com/LiquidFenrir/Twini-Golf-3DS
| source = https://github.com/LiquidFenrir/Twini-Golf-3DS
}}
}}
<youtube>iEn0ozP-jxc</youtube>
<youtube>iEn0ozP-jxc</youtube>


# Twini-Golf
==Twini-Golf ==


Twini-Golf is a game created in 48 hours for the [2021 GMTK Game Jam](https://itch.io/jam/gmtk-2021) using C++ and [SDL2](https://www.libsdl.org/). It can be played on [itch.io](https://polymars.itch.io/twini-golf).
Twini-Golf is a game created in 48 hours for the [https://itch.io/jam/gmtk-2021 2021 GMTK Game Jam] using C++ and [https://www.libsdl.org/ SDL2]. It can be played on [https://polymars.itch.io/twini-golf itch.io].
## Screenshots
![](https://img.itch.zone/aW1hZ2UvMTA4NTg3OS82MjU2MjM4LmdpZg==/347x500/e7XF4j.gif)


![](https://img.itch.zone/aW1hZ2UvMTA4NTg3OS82MjU2MzQzLmdpZg==/347x500/EwUBBI.gif)
== Screenshots ==
https://dlhb.gamebrew.org/3dshomebrew/e7XF4j.gif
https://dlhb.gamebrew.org/3dshomebrew/4vYH8w.gif
https://dlhb.gamebrew.org/3dshomebrew/EwUBBI.gif
https://dlhb.gamebrew.org/3dshomebrew/u0DHd_.gif
https://dlhb.gamebrew.org/3dshomebrew/_PUf5C.gif


## Background
== Background ==
Twini-Golf is an experimental mini golf game where you play on multiple golf courses at once, simultaneously controlling each ball. More information on how to play is available on the game's [itch.io page](https://polymars.itch.io/twini-golf).


## Compiling
Twini-Golf is an experimental mini golf game where you play on multiple golf courses at once, simultaneously controlling each ball. More information on how to play is available on the game's [https://polymars.itch.io/twini-golf itch.io page].
### Windows
After installing [Mingw64](https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/8.1.0/threads-win32/seh/x86_64-8.1.0-release-win32-seh-rt_v6-rev0.7z/download), [SDL2](https://www.libsdl.org/download-2.0.php), [SDL_Image](https://www.libsdl.org/projects/SDL_image/), [SDL_TTF](https://www.libsdl.org/projects/SDL_ttf/), and [SDL_Mixer](https://www.libsdl.org/projects/SDL_mixer/), execute the following command in the project's root directory:
```
g++ -c src/*.cpp -std=c++14 -O3 -Wall -m64 -I include -I C:/SDL2-w64/include && g++ *.o -o bin/release/main -s -L C:/SDL2-w64/lib -lmingw32 -lSDL2main -lSDL2 -lSDL2_image -lSDL2_ttf -lSDL2_mixer && start bin/release/main
```
The compiled ``.exe`` is located in ``./bin``. For it to run, you must copy the ``./res`` folder as well as all ``.dll`` files from your SDL installation to its directory.
### Linux
After installing the dev packages of SDL2 for your distribution, execute the following command in the project's root directory:
```
g++ -c src/*.cpp -std=c++14 -O3 -Wall -m64 -I include && mkdir -p bin/release && g++ *.o -o bin/release/main -s -lSDL2main -lSDL2 -lSDL2_image -lSDL2_ttf -lSDL2_mixer
```
The compiled binary ``main`` is located in ``./bin``. For it to run, you must copy the ``./res`` folder to its directory.
### Web (Untested)
Install [emscripten](https://emscripten.org/docs/getting_started/downloads.html) and execute the following command in the project's root directory:
```
emcc src/main.cpp src/entity.cpp src/renderwindow.cpp src/ball.cpp src/tile.cpp src/hole.cpp -I include -O2 -s USE_SDL=2 -s USE_SDL_IMAGE=2 -s \"SDL2_IMAGE_FORMATS=['png']\" -s USE_SDL_TTF=2 -s USE_SDL_MIXER=2 --preload-file res -o index.html
```
The compiled ``.js``, ``.wasm``, ``.data``, and ``.html`` files are located in the project's root.
 
 
## Contributing
Pull requests are welcome! For major refactors, please open an issue first to discuss what you would like to improve. Feel free to create a fork of this repository or use the code for any other noncommercial purposes.
 
There was a video on YouTube in my recommendations about this game , found it very neat, and thought it would be cool to have it on 3DS. So there it is!
 
Audio sound effects work, title screen works, game end screen tells you how many strokes you used and lets you retry!
 
As for instructions, you can select a swing direction with the circle pad or holding the touchscreen down anywhere and rotating around your touch point. You can hold A to charge your swing, or just keep the stylus far enough away from its original position. Swing by releasing!
 
If you don't know the rules of (mini) golf, the goal is to get the ball in the hole using the fewest amount of swings. Or in this case, both balls in both holes.


[[Category:3DS homebrew games]]
[[Category:3DS homebrew games]]
[[Category:Other 3DS homebrew games]]
[[Category:Other 3DS homebrew games]]

Revision as of 11:58, 27 September 2021

Template:Infobox-3DS-Homebrews

Twini-Golf

Twini-Golf is a game created in 48 hours for the 2021 GMTK Game Jam using C++ and SDL2. It can be played on itch.io.

Screenshots

e7XF4j.gif 4vYH8w.gif EwUBBI.gif u0DHd_.gif _PUf5C.gif

Background

Twini-Golf is an experimental mini golf game where you play on multiple golf courses at once, simultaneously controlling each ball. More information on how to play is available on the game's itch.io page.

Advertising: