Skip to content

Vaniog/Sqime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sqime

This is a game


pic I'm Vaniog, my discord: Vaniog#1886
This readme and release for my training


Table of Contents:


Description

This is my old project, so here it is, bad code (watch good issues from bogdasar), bad file organization and much more. But the game is not so bad. I cleaned as much as I can, I added README, CMakeLists, and I deleted trash from repository. If sometime I'll want to return to this game, I'll write it from scratch.


Quick setup

For quick setup just install project from the latest release.
It has Windows, Linux, MacOS versions.
If you want to build project yourself, watch building


Playing

In game:

moving - w, a, s, d
restart level - r

In creating mode

Your created level will be saved at maps/level00.txt, share it!

Main

  • new field - n
  • try level - t
  • field size change - arrows up and down
  • to choose tile to draw - buttons on left sight
  • to change tile rotation - double-click on tile button

How to make slime

  • Push slime button
  • Choose size
  • Choose coords (you can see coords in top-right corner)

How to make platforms:

  • Push platform button
  • Choose size
  • Choose starting and ending coords
  • Choose speed

How to make box

How to make buttons

Carefully! code is bad, create buttons after other objects

  • Push button button
  • Choose platform to control
  • Choose where will platform go on off-mode on-mode
  • Choose mode of button (just experiment with it)
  • Choose size, and when choose coords

Building

This project is running Simple Fast Multimedia Library (SFML)
SFML: Github Website

Linux

#installing cmake
sudo apt-get install cmake

#installing sfml library
sudo apt-get install libsfml-dev

#clone github project
git clone https://github.com/Vaniog/Sqime
cd Sqime

#building project
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make

#and launch
cd ..
build/Sqime

MacOS

#if you haven't brew, install it
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

#inctalling cmake
brew install cmake

#installing sfml library
brew install sfml

#clone github project
git clone https://github.com/Vaniog/Sqime
cd Sqime

#building project
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make

#and launch
cd ..
build/Sqime

Windows

To build with CMake you need to have SFML at C:/, (C:/SFML), or in PATH. Select "Sqime/" as launch directory (launch .exe from "/Sqime").

I cant give just code for terminal to build is easily on Windows. Maybe your IDE running with CMake projects (CLion, VSCode with plugins).

You still can download built project from the latest release