This is a reloaded version of Zff.
Notice: Developing now!
Screen.Recording.2022-12-14.at.9.13.36.PM.mov
Get the Zff-Windows-*.zip from releases page.
Get the Zff-Ubuntu.deb from releases page.
sudo dpkg -i ./Zff-Ubuntu.debArchitecture:
all
Download from AUR.
You can use package manager such as yay, yaourt to download AUR packages.
Download linux.sh from folder zff-reload/.
curl https://raw.githubusercontent.com/ohzff/install/main/zff-reload/linux.sh > linux.shChange file modes to execute bits.
chmod +x ./linux.shThen, run it.
./linux.shGet more information from here.
Notice for Windows Users: You may need to make the terminal smmaller than 80x80.
First, make sure usr/ folder is there with your executable file.
Second, run the executable file.
Double click it in Windows
Run
./Zfforzffin terminal in macOS and Linux
Use Left Right arrow to move the people and Up arrow or SPACE bar to jump up to reach the exit place #.
Args
- Get version info: zff versionor./Zff version
In Level Selection
- Press lto load custom world.
In game
- Move forcely: type /pos X Yto move to(X, Y)
If you have any idea, please create a pull requst to tell us.
Windows compile flags
g++ ./main.cpp -o zff -std=c++11 -static-libgcc -static-libstdc++ -L.Mac&Linux compile flags
g++ ./main.cpp -o zff -std=c++11 -pthreadA world includes main, world, trigger three files in an ID folder.
usr
└── world
    ├── 1                   # ID folder
    │   ├── main            # main info
    │   ├── trigger         # Trigger settings
    │   └── world           # Full world information
    └── 2
        ├── main
        ├── trigger
        └── worldmain file
6 integers: n, m, Sx, Sy, Ex, Ey
- nfor the number of rows.
- mfor the number of columns.
- (Sx, Sy)for the starting position.
- (Ex, Ey)for the ending position.
world file
A n*m matrix, saved the world information.
Notice: Please fill the
n*mframe with SPACE or symbol@!
trigger file
One integers n in the first line, refering to the number of triggers.
The following n rows with 6 integers Tx, Ty, Cx, Cy, To, d in each row.
- (Tx, Ty)for the position of trigger.
- (Cx, Cy)for the position that trigger controled.
- Tofor the ID that trigger changes to.
- dfor the delay time of disappear (ms).
- Go here to get an zip file data.zip.
- Unzip it and put usr/with your executable file.
This project is under MIT-License.
MIT License
Copyright (c) 2022 LanGong Zff
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.
...