Skip to content

Commit 3188741

Browse files
committed
Merge branch 'release/0.2.0.445'
2 parents d34a17d + 9f20fbb commit 3188741

File tree

127 files changed

+3473
-1098
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

127 files changed

+3473
-1098
lines changed

CHANGELOG.md

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,48 @@
1-
# Version 0.1.0.337 - 2016-07-31
1+
# Version 0.2.0.445 - 2016-09-11
2+
## Additions
3+
- Added system to handle calculation, updating and drawing of explosions ([#6](https://github.com/rm-code/On-The-Roadside/issues/6))
4+
- Added a specific mouse cursor graphic for each of the input states ([#11](https://github.com/rm-code/On-The-Roadside/issues/11))
5+
- Added system to create spawn areas for the different factions ([#13](https://github.com/rm-code/On-The-Roadside/issues/13))
6+
- Added simple savegame functionality ([#16](https://github.com/rm-code/On-The-Roadside/issues/16))
7+
- Added shotguns ([#19](https://github.com/rm-code/On-The-Roadside/issues/19))
8+
- Added rocket launchers ([#20](https://github.com/rm-code/On-The-Roadside/issues/20))
9+
- Added melee weapons ([#25](https://github.com/rm-code/On-The-Roadside/issues/25))
10+
- Added grenades ([#10](https://github.com/rm-code/On-The-Roadside/issues/10))
11+
- Added a behavior tree system for the AI controlled factions ([#29](https://github.com/rm-code/On-The-Roadside/issues/29))
12+
13+
## Fixes
14+
- Fixed crash when walking through open doors ([#4](https://github.com/rm-code/On-The-Roadside/issues/4))
15+
- Fixed backpacks being placed inside of themselves ([#7](https://github.com/rm-code/On-The-Roadside/issues/7))
16+
- Fixed crash on inventory screen with no backpack equipped ([#8](https://github.com/rm-code/On-The-Roadside/issues/8))
17+
- Fixed interaction with unequipped backpacks ([#9](https://github.com/rm-code/On-The-Roadside/issues/9))
18+
- Fixed interaction with dead characters ([#17](https://github.com/rm-code/On-The-Roadside/issues/17))
19+
- Fixed camera not being centered on selected character when game starts ([#18](https://github.com/rm-code/On-The-Roadside/issues/18))
20+
- Fixed AP cost for attempting attack with empty weapon ([#21](https://github.com/rm-code/On-The-Roadside/issues/21))
21+
- Fixed hidden mouse cursor in inventory screen ([#22](https://github.com/rm-code/On-The-Roadside/issues/22))
22+
- Fixed projectiles not being removed correctly ([#28](https://github.com/rm-code/On-The-Roadside/issues/28))
23+
- Fixed rockets not exploding on impact ([#30](https://github.com/rm-code/On-The-Roadside/issues/30))
24+
- Fixed flickering mouse cursor during AI turns ([#31](https://github.com/rm-code/On-The-Roadside/issues/31))
225

26+
## Other Changes
27+
- Improved camera handling during execution of a turn ([#27](https://github.com/rm-code/On-The-Roadside/issues/27))
28+
- It will follow moving characters now
29+
- It will track the target of an attack
30+
- It is locked during the execution of the turn
31+
- It will return to its original position after the turn is done
32+
- It is restricted to the map's area
33+
- Disable camera tracking for AI controlled characters ([#26](https://github.com/rm-code/On-The-Roadside/issues/26))
34+
- FOV isn't drawn for AI controlled factions ([#26](https://github.com/rm-code/On-The-Roadside/issues/26))
35+
- Tweaked shot calculations ([#24](https://github.com/rm-code/On-The-Roadside/issues/24))
36+
- Uses the maximum angle for a shot's derivation correctly now
37+
- Randomly varies the projectile's travelling distance
38+
- Improved line of sight drawning
39+
- Line of sight is now generated in real time between the active character and the mouse cursor
40+
- Center the camera on characters which have been selected via right-clicks
41+
- Use different sounds based on the selected weapon type
42+
- Reduce turn delay for AI controlled characters
43+
- Updated the map
44+
45+
# Version 0.1.0.337 - 2016-07-31
346
- Initial Release
447
- Add basic implementation of turn based combat mechanics
548
- Three different factions

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
# On The Roadside
22

3-
[![Version](https://img.shields.io/badge/Version-0.1.0.337-blue.svg)](https://github.com/rm-code/on-the-roadside/releases/latest) [![LOVE](https://img.shields.io/badge/L%C3%96VE-0.10.1-EA316E.svg)](http://love2d.org/) [![License](http://img.shields.io/badge/Licence-MIT-brightgreen.svg)](LICENSE.md)
3+
[![Version](https://img.shields.io/badge/Version-0.2.0.445-blue.svg)](https://github.com/rm-code/on-the-roadside/releases/latest) [![LOVE](https://img.shields.io/badge/L%C3%96VE-0.10.1-EA316E.svg)](http://love2d.org/) [![License](http://img.shields.io/badge/Licence-MIT-brightgreen.svg)](LICENSE.md)
44

55
On the Roadside is a turnbased strategy game. It is developed by [@rm-code](https://twitter.com/rm_code) using [Lua](http://www.lua.org/) and the [LÖVE](https://love2d.org/) framework.
66

7+
![img](res/misc/screenshot.png)
8+
79
## Controls
810

911
| Key | Action |

pack.sh

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/bin/bash
2+
3+
# Get the version numbers from the lua file and store them in an array.
4+
i=0
5+
while read line ; do
6+
no=${line//[!0-9]/}
7+
if [ ! -z "$no" ]; then
8+
version[$i]=${line//[!0-9]/}
9+
i=$((i+1))
10+
fi
11+
done < version.lua
12+
13+
# Assign to variables.
14+
major=${version[0]}
15+
minor=${version[1]}
16+
patch=${version[2]}
17+
build=${version[3]}
18+
19+
formatted="$major$minor$patch-$build"
20+
21+
# Zip files. Exclude git folder and DS_Store files.
22+
zip -r OTR_$formatted.love ./ -x *.git* -x *.DS_Store*
23+
24+
# Move to releases folder.
25+
mv -i -v OTR_$formatted.love ../releases
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
return {
2+
name = "12 gauge",
3+
itemType = "Ammunition",
4+
ammoType = "ShotgunShell",
5+
pellets = 12
6+
}

res/data/items/ammunition/og_7v.lua

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
return {
2+
name = "OG-7V",
3+
itemType = "Ammunition",
4+
ammoType = "Rocket",
5+
blastRadius = 5
6+
}
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
return {
22
name = "Combat Boots",
3-
itemType = "Clothing",
4-
clothingType = "Footwear",
3+
itemType = "Footwear",
54
armor = {
6-
protection = 2,
5+
protection = 12,
76
coverage = 100
87
}
98
}
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
return {
22
name = "Sneakers",
3-
itemType = "Clothing",
4-
clothingType = "Footwear",
3+
itemType = "Footwear",
4+
armor = {
5+
protection = 0,
6+
coverage = 100
7+
}
58
}
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
return {
22
name = "Leather Gloves",
3-
itemType = "Clothing",
4-
clothingType = "Gloves",
3+
itemType = "Gloves",
4+
armor = {
5+
protection = 1,
6+
coverage = 100
7+
}
58
}
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
return {
22
name = "Bandana",
3-
itemType = "Clothing",
4-
clothingType = "Headgear",
3+
itemType = "Headgear",
4+
armor = {
5+
protection = 0,
6+
coverage = 10
7+
}
58
}
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
return {
22
name = "Baseball Cap",
3-
itemType = "Clothing",
4-
clothingType = "Headgear",
3+
itemType = "Headgear",
4+
armor = {
5+
protection = 0,
6+
coverage = 30
7+
}
58
}
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
return {
22
name = "PASGT Helmet",
3-
itemType = "Clothing",
4-
clothingType = "Headgear",
3+
itemType = "Headgear",
54
armor = {
65
protection = 30,
7-
coverage = 45,
6+
coverage = 45
87
}
98
}

res/data/items/clothing/jackets/leather_jacket.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
return {
22
name = "Leather Jacket",
3-
itemType = "Clothing",
4-
clothingType = "Jacket",
3+
itemType = "Jacket",
54
armor = {
65
protection = 4,
76
coverage = 95
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
return {
22
name = "PASGT Ballistic Vest",
3-
itemType = "Clothing",
4-
clothingType = "Jacket",
3+
itemType = "Jacket",
54
armor = {
65
protection = 12,
7-
coverage = 80,
6+
coverage = 80
87
}
98
}
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
return {
22
name = "Rain Coat",
3-
itemType = "Clothing",
4-
clothingType = "Jacket",
3+
itemType = "Jacket",
4+
armor = {
5+
protection = 1,
6+
coverage = 100,
7+
}
58
}
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
return {
22
name = "Shirt",
3-
itemType = "Clothing",
4-
clothingType = "Shirt"
3+
itemType = "Shirt",
4+
armor = {
5+
protection = 0,
6+
coverage = 80
7+
}
58
}
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
return {
22
name = "Jeans",
3-
itemType = "Clothing",
4-
clothingType = "Trousers",
3+
itemType = "Trousers",
4+
armor = {
5+
protection = 4,
6+
coverage = 100
7+
}
58
}
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
return {
22
name = "Short Shorts",
3-
itemType = "Clothing",
4-
clothingType = "Trousers",
3+
itemType = "Trousers",
4+
armor = {
5+
protection = 8,
6+
coverage = 20
7+
}
58
}

res/data/items/weapons/ar_aks74.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
return {
22
name = "AKS-74",
33
itemType = "Weapon",
4+
weaponType = "Assault Rifle",
45
damage = 40,
5-
range = 12,
66
rpm = 650,
7-
ammoType = "5.45x39mm",
7+
caliber = "5.45x39mm",
88
magSize = 30,
99
mode = {
1010
{
1111
name = "Single",
1212
cost = 3,
1313
accuracy = 80,
14-
shots = 1,
14+
attacks = 1,
1515
},
1616
{
1717
name = "Full-Auto",
1818
cost = 10,
1919
accuracy = 50,
20-
shots = 11,
20+
attacks = 11,
2121
}
2222
}
2323
}

res/data/items/weapons/ar_l85a1.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
return {
22
name = "Enfield L85A1",
33
itemType = "Weapon",
4+
weaponType = "Assault Rifle",
45
damage = 45,
5-
range = 12,
66
rpm = 610,
7-
ammoType = "5.56x45mm",
7+
caliber = "5.56x45mm",
88
magSize = 30,
99
mode = {
1010
{
1111
name = "Single",
1212
cost = 3,
1313
accuracy = 75,
14-
shots = 1,
14+
attacks = 1,
1515
},
1616
{
1717
name = "Full-Auto",
1818
cost = 10,
1919
accuracy = 60,
20-
shots = 10,
20+
attacks = 10,
2121
}
2222
}
2323
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
return {
2+
name = "M67 Grenade",
3+
itemType = "Weapon",
4+
weaponType = "Grenade",
5+
damage = 120,
6+
mode = {
7+
{
8+
name = "Throw",
9+
cost = 3,
10+
accuracy = 75,
11+
attacks = 1,
12+
}
13+
}
14+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
return {
2+
name = "Police Baton",
3+
itemType = "Weapon",
4+
weaponType = "Melee",
5+
damage = 30,
6+
mode = {
7+
{
8+
name = "Single",
9+
cost = 3,
10+
accuracy = 85,
11+
attacks = 1,
12+
}
13+
}
14+
}

res/data/items/weapons/rl_rpg7.lua

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
return {
2+
name = "RPG-7",
3+
itemType = "Weapon",
4+
weaponType = "Rocket Launcher",
5+
damage = 0,
6+
caliber = "OG-7V",
7+
magSize = 1,
8+
mode = {
9+
{
10+
name = "Single",
11+
cost = 10,
12+
accuracy = 65,
13+
attacks = 1,
14+
}
15+
}
16+
}

res/data/items/weapons/sg_m1014.lua

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
return {
2+
name = "Benelli M4 Super 90",
3+
itemType = "Weapon",
4+
weaponType = "Shotgun",
5+
damage = 20,
6+
caliber = "12 gauge",
7+
magSize = 8,
8+
mode = {
9+
{
10+
name = "Single",
11+
cost = 3,
12+
accuracy = 25,
13+
attacks = 1,
14+
}
15+
}
16+
}

res/data/items/weapons/smg_fnp90.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
return {
22
name = "FN P90",
33
itemType = "Weapon",
4+
weaponType = "Submachine Gun",
45
damage = 38,
5-
range = 12,
66
rpm = 900,
7-
ammoType = "5.7x28mm",
7+
caliber = "5.7x28mm",
88
magSize = 50,
99
mode = {
1010
{
1111
name = "Single",
1212
cost = 3,
1313
accuracy = 65,
14-
shots = 1,
14+
attacks = 1,
1515
},
1616
{
1717
name = "Full-Auto",
1818
cost = 8,
1919
accuracy = 40,
20-
shots = 13,
20+
attacks = 13,
2121
}
2222
}
2323
}

0 commit comments

Comments
 (0)