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 =...")
 
m (Text replacement - "Category:3DS homebrew games" to "")
 
(9 intermediate revisions by the same user not shown)
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=Twinigolf3ds2.png
| type = Other Games
|description=Ported a mini-golf game with a twist to the 3DS.
| version = v1.0
|author=LiquidFenrir
| lastupdated = 2021/08/03
|lastupdated=2021/08/12
| licence = Mixed
|type=Other Games
| author = LiquidFenrir
|version=1.0
| website = https://github.com/LiquidFenrir/Twini-Golf-3DS
|license=Mixed
| download = https://dlhb.gamebrew.org/3dshomebrew/Twini-Golf-3DS.rar
|download=https://dlhb.gamebrew.org/3dshomebrews/twinigolf3ds.7z
| source = https://github.com/LiquidFenrir/Twini-Golf-3DS
|website=https://github.com/LiquidFenrir/Twini-Golf-3DS
|source=https://github.com/LiquidFenrir/Twini-Golf-3DS
}}
}}
<youtube>iEn0ozP-jxc</youtube>
Twini Golf 3DS is a port of Twini Golf, originally created by PolyMars in 48 hours for the [https://itch.io/jam/gmtk-2021 2021 GMTK Game Jam] using C++ and [https://www.libsdl.org SDL2].


# Twini-Golf
It is an experimental mini golf game where you play on multiple golf courses at once, simultaneously controlling each ball.


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).
==Features==
## Screenshots
* Audio sound effects.  
![](https://img.itch.zone/aW1hZ2UvMTA4NTg3OS82MjU2MjM4LmdpZg==/347x500/e7XF4j.gif)
* Title screen.  
* Game end screen tells you how many strokes you used and lets you retry.


![](https://img.itch.zone/aW1hZ2UvMTA4NTg3OS82MjU2MzQzLmdpZg==/347x500/EwUBBI.gif)
==User guide==
The goal is to get the ball in the hole using the fewest amount of swings.  


## Background
Or in this case, both balls in both holes.
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
==Controls==
### Windows
A - Hold to charge your swing, Release to swing
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.


Circle Pad or Hold on touchscreen - Select a swing direction


## Contributing
==Screenshots==
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.
https://dlhb.gamebrew.org/3dshomebrews/twinigolf3ds3.gif
https://dlhb.gamebrew.org/3dshomebrews/twinigolf3ds4.gif


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!
==Media==
 
'''Making a Game With C++ and SDL2''' ([https://www.youtube.com/watch?v=iEn0ozP-jxc PolyMars]) <br>
Audio sound effects work, title screen works, game end screen tells you how many strokes you used and lets you retry!
<youtube>iEn0ozP-jxc</youtube>
 
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]]
==External links==
[[Category:Other 3DS homebrew games]]
* GitHub - https://github.com/PolyMarsDev/Twini-Golf

Latest revision as of 06:32, 6 Mayıs 2024

Twini Golf 3DS
Twinigolf3ds2.png
General
AuthorLiquidFenrir
TypeOther Games
Version1.0
LicenseMixed
Last Updated2021/08/12
Links
Download
Website
Source

Twini Golf 3DS is a port of Twini Golf, originally created by PolyMars in 48 hours for the 2021 GMTK Game Jam using C++ and SDL2.

It is an experimental mini golf game where you play on multiple golf courses at once, simultaneously controlling each ball.

Features

  • Audio sound effects.
  • Title screen.
  • Game end screen tells you how many strokes you used and lets you retry.

User guide

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.

Controls

A - Hold to charge your swing, Release to swing

Circle Pad or Hold on touchscreen - Select a swing direction

Screenshots

twinigolf3ds3.gif twinigolf3ds4.gif

Media

Making a Game With C++ and SDL2 (PolyMars)

External links

Advertising: