Skip to content

Commit

Permalink
Updated readme and saved sprites
Browse files Browse the repository at this point in the history
  • Loading branch information
fihorvat committed Jan 31, 2021
1 parent 617af5f commit d567a91
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 13 deletions.
37 changes: 25 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,36 @@
# GameEngine 🚀
Simple game engine written in C#. It is created in Full framework version since I need Windows Forms and Windows api for this game.
This is the First try of creating simple game engine and it turned out pretty good in my opinion. 😀
# 🎰 Game Engine 🚀

## Commands
A simple game engine is written in C#. It is created in the .Net Full Framework version since it needs Windows Forms and Windows Api for this game.
This is my first try creating a simple game engine and it turned out pretty good in my opinion. 🚗😀

The game goal is to collect all the coins in the shortest time possible. Each new game recreates the coins and player in different locations. When all coins are collected, time stops. ⏰

## Commands 🕹

- Go Up: `Up arrow` or `W`
- Go Down: `Down arrow` or `S`
- Go Left: `Left arrow` or `A`
- Go Right: `Right arrow` or `D`
- Sprint: `Shift`

### Game mods
Game has two modes that (currently) can only be switched in code
- Flash lite mode
- Normal mode
## Menu 📝

Menu has 4 options:
- New game
- Pause / Resume
- Show map
- Exit

### Game mods 🎮

Game has two modes
- **Flashlight mode** - player can only see a small part of a screen
- **Show map mode** - whole map becomes visible

## Flashlight mode

## Flash lite mode
![game](./images/game.png)
![Flashlight mode](./images/game.png)

## Show map mode

## Normal mode
![game](./images/game2.png)
![Show map mode](./images/game2.png)
Binary file modified images/game.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/game2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added sprites/platformSprites.zip
Binary file not shown.
Binary file added sprites/playerSprites.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion src/Engine/Log.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public static void Normal(string msg)

public static void Info(string msg)
{
Console.ForegroundColor = ConsoleColor.Cyan;
Console.ForegroundColor = ConsoleColor.DarkGreen;
Console.WriteLine($"[INFO] - {msg}");
Console.ForegroundColor = ConsoleColor.White;
}
Expand Down

0 comments on commit d567a91

Please sign in to comment.