Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
sw15dec22.7z | 2022-12-14 | 48.3 MB | |
READMEsw.md | 2022-12-14 | 5.9 kB | |
Totals: 2 Items | 48.3 MB | 0 |
RufaSwap
What's new:
ver 2.6.7 -- 15dec2022
- Added Windows 64-bit build using stand-alone GNU Ada compiler.
- Discontiued OSX development.
- New linux build now runs on very old linux distros.
See full revision history at end of file
Rufaswap
Rufaswap is a simple permuted picture puzzle app where the challenge is to restore the picture elements to their proper place. Two elements are selected with cursor clicks to initiate a swap. User controls the level of difficulty by choosing the number of slices, and whether even or irregular.
Works on desktops & laptops running Windows or Linux.
Featuring
- no installation
- no dependencies
- simply unzip in your Downloads directory, and run;
- or unzip onto a USB flash drive [w/same file format] and run.
- Works on HiDpi displays;
- several png picture files are provided in ./pix/
- or, you can use your own png files;
Run Requirements:
- graphics card/driver that supports OpenGL version 3.3 or later;
Setup & Running:
Windows users see "windows-setup.txt".
Unzip the archive. On Windows, 7z [www.7-zip.org] works well for this. The proper command to extract the archive and maintain the directory structure is "7z x filename".
Open a commandline terminal, and cd to the install directory.
At the command line, type the executable name to start the game.
Windows users type:
rufaswap.bat (Windows 64-bit)
Linux users may type rufaswap_gnu, or double click the icon of rufaswap_gnu in file manager.
You can also run the windows EXEs under wine thusly:
* wine cmd < rufaswap.bat, or
* wine binw32/rufaswap.exe
Note: Windows users should NOT try running the linux executables under WSL [Windows Subsystem for Linux]; that mode is not supported. Simply use the windows version.
If an older Linux system complains that /dev/dsp/ cannot be opened, prepend the "padsp" command: "padsp <exe-name>".
The install_directory should contain subdirectories named "data", "libs", "pix".
To swap two blocks, click the cursor on them. The first selection is highlighted, whence you may either click it again to deselect, or click another to swap.
Press (n) or (p) to go to the Next or Previous picture;
Press (m) or (f) to make puzzle harder or easier [More or Fewer slices]; Press (u) to toggle uneven partitions;
Press (esc) to quit.
Note that you can use your own pictures if they are PNG files, although several photos taken by the author are included.
Please send questions, comments or corrections to fastrgv@gmail.com
what is special about this project?
Uses the Ada programming language and fully modern OpenGL methods, with textures, shaders and uniforms. Achieves version 3.3 core profile contexts. Compiles and runs on MSwin32, GNU/Linux systems.
Focusing on portability and open source freedom, this project relies on a thin GLFW3 binding, a thin OpenGL binding, a homebrew OpanAL binding, & a PNG reader by Stephen Sanguine.
Build Requirement:
- a recent Ada compiler;
See: * https://github.com/alire-project/GNAT-FSF-builds/releases
Build instructions for Rufaswap
Build scripts for GNU Ada [with its own g++] are provided.
msWin32 => wcmp.bat
GNU/Linux => lcmp.sh:
rufaswap is covered by the GNU GPL v3 license:
Copyright (C) 2022 fastrgv@gmail.com
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You may read the full text of the GNU General Public License at http://www.gnu.org/licenses/.
Media Files for rufaswap:
General Note
It is my intention to use media with copyrights or licenses that are compatible with GPLv3. Please notify me if you believe there is an incompatibility, and it will be removed ASAP, eg a CC-by-NC license is NOT GPL compatible.
SoundFiles
...are from freesound.org and are covered by the Creative Commons CC0 license documented in the accompanying file creativeCommons.txt.
ImageFiles (*.png)
For text-textures were created using gimp and are covered by the GNU GPL v3 license. Likewise for other photo images, all of which were taken by the author.
Download Sites for all my games:
https://github.com/fastrgv?tab=repositories https://www.indiedb.com/members/fastrgv/games https://fastrgv.itch.io https://sourceforge.net/u/fastrgv/profile/ https://gamejolt.com/@fastrgv/games
Revision History:
ver 2.6.6 -- 16sep2022 * Now using GNU Ada rather than defunct AdaCore compiler. * Using Mingw32 GNU Ada on Windows.
ver 2.6.5 -- 16apr2022 * Reverted linux libraries to exclusively shared format for portability.
ver 2.6.4 -- 20jan2022 * Updated linux libs to use static libfreetype.a & libpng16.a * Updated Windows builds to freetype v2.11.1 DLLs (w32,w64). * Updated libglfw.