Skip to content

Commit 2cb4171

Browse files
committed
Added README.md
1 parent b02c2b6 commit 2cb4171

File tree

6 files changed

+43
-2
lines changed

6 files changed

+43
-2
lines changed

README.md

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,43 @@
1-
# SRC
2-
A 2D Game Engine written in Java
1+
# :star: SRC :star:
2+
3+
![main](rsc/readme/main.jpg)
4+
5+
By Davide Manco ([Doch88](https://github.com/Doch88)) and Luca Rossi ([luca-rossi](https://github.com/luca-rossi)).
6+
7+
## What is it?
8+
9+
SRC is a university project we developed for the Object-Oriented Programming course in 2017. <br>
10+
We were young and motivated students, and we wanted to work on a project that was challenging and fun. <br>
11+
At first, we were thinking about developing yet another game, but then we realized that it was too trivial, and since we are crazy and we like to waste time, we decided to directly write something that could be used to develop games instead.
12+
13+
SRC is a 2D game editor and engine that uses only the Java standard library to work. You can create your platform games and then play them inside the same software. <br>
14+
It supports basic animations, collisions, portals, simple NPCs, bullets and so on.
15+
16+
Being a student project done during our bachelors years, there are the following problems:
17+
- We're Italians. It's not a problem per se, but at the time we wrote the code all our comments and variables were in Italian instead of English. Such a bad decision.
18+
- It uses a MySQL database. The project requirements were specific about using a MySQL database. Before committing to GitHub I managed to embed a MariaDB database (thanks to the MariaDB4J project) inside the software, removing the need of using a separate DBMS. But using such a database still carries some limitations.
19+
- The code could be better. We were still bachelors students after all.
20+
21+
Another thing that I changed before committing to GitHub is the localization. <br>
22+
As mentioned, the project was fully in Italian, so I preferred to add some other languages at least during the execution of the software. <br>
23+
24+
## Editor mode
25+
26+
![editor](rsc/readme/editor.jpg)
27+
28+
The Editor mode is the mode used to create new maps and sprites. <br>
29+
30+
It allows to create NPCs, walls and grounds, collectables and so on. <br>
31+
You can use your own images for the sprites and the animation and define characteristics such as waypoints for the movements or health.
32+
33+
At the bottom there are all the commands is possible to use to move stuff, create new items, delete them etc.
34+
It is also possible to test the map using the "Start" button.
35+
36+
## Platform mode
37+
38+
![editor](rsc/readme/platform_1.jpg)
39+
![editor](rsc/readme/platform_2.png)
40+
![editor](rsc/readme/platform_3.jpg)
41+
42+
Once a game is created, it is possible to play it using the Platform mode, after creating a save entry. <br>
43+
This mode runs starts from the first map of a game, and unlocks the next ones when the player gets to the end of the map.

rsc/readme/editor.jpg

30.7 KB
Loading

rsc/readme/main.jpg

10.4 KB
Loading

rsc/readme/platform_1.jpg

21.5 KB
Loading

rsc/readme/platform_2.png

34.4 KB
Loading

rsc/readme/platform_3.jpg

23.4 KB
Loading

0 commit comments

Comments
 (0)