Skip to content

TheSaltMine/Salty_the_Slime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Salty the Slime

Version of the game

Salty the Slime v.0.0.2

Description

Platformer game made for Development subject with SDL2. Be a salty slime jumping around the levels. Grow up, divide and be the best.

Controls

Game Controls:

A/D: Horizontal movement.

Space bar: Jump

Hold Spacebar: Charged jump.

When in God Mode:

W/S: Vertical movement.

A/D: Horizontal movement.

Q: Divide the slime

E: Reagroup the slimes

Debug Keys:

F1: Load first scene.

F2: Reload current scene.

F3: Load next scene.

F5: Save.

F6: Load.

F8: Debug UI.

F9: Colliders/Pathfinding Draw.

F10: God Mode.

F11: Cap/Uncap FPS

+/-: Increase/Decrease music volume.

SHIFT+(+/-): Increase/Decrease fx volume.

You need to acquire specific score to pass the levels.

Instructions to execute

1.- Download the last release on

2.- Unzip the file

3.- Execute SaltytheSlime.exe

Authors

Axel Alavedra Cabello

Axel Alavedra Screenshot

Github account

Player Movement, Pathfinding, Enemies, Entity Structure, GUI.

Alejandro París Gómez

Alejandro París Screenshot

Github account

Infinite background, FPS Cap, Brofiler, DT implementation, Entity Structure, Player Divide and Grow, GUI.

Cores Explanation

The game has been made with a couple of main modules:

-EntityManager: This module manages all the entities of the game such as player, copies, enemies, etc. It is responsible of creating, deleting and updating them.

-Map Module: This module receives a tmx file created with Tiled and is able to create a tile based map in game, it also creates its colliders.

-Pathfinding: The module that calculates the differents paths that enemies use for their movement. It supports jumps, ground based and air movements.

-GUI: Module responsible for creating, managing and deleting every single UI Element created in the game. It supports scaling, parenting, clipping, dragging and other important features.

Repository link

https://github.com/TheSaltMine/Development_Assignment

Innovations

Implemented a method to only render the tiles inside the camera. Implemented infinite background scrolling, two backgrounds move one right before the other, when one exits the camera it's repositioned behind the other, creating the effect of infinite parallax. Charged jump with vertical or diagional force.

Last Innovations

The player can grow up eating enemies and can divide itself. The scale of the player affects his movility. You can only pass the levels by reaching a minimum score eating enemies. Escalable and dynamic UI. Loading screen with animated image.

Video

Credits

We do not own any of the sprites, tilesets, music or fx used in this game. Authors credited below

Sprites:

Slime by Yanfly Downloaded from here

All UI Sprites Game Art 2D Downloaded from here

Tilesets:

FREE PLATFORMER GAME TILESET by Zuhria Alfitra

Downloaded from here

FREE DESERT PLATFORMER TILESET by Zuhria Alfitra

Downloaded from here

Music:

Main Menu Song (Zoo Tycoon 1 Theme)

Forest Song by FoolBoyMedia

Downloaded from here

Desert Song by Bird_man

Downloaded from here

SFX:

Jump (Retro video game SFX) by cabled_mess

Downloaded from here

License

MIT License

Copyright (c) 2018 [Axel Alavedra Cabello, Alejandro París Gómez]

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.