-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
55 changed files
with
21,619 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# **Rising Dawns: Adventure** | ||
**Rising Dawns: Adventure is an HTML5 and Javascript based civilization/empire building game. Created for fun, enjoy!** | ||
|
||
The game itself was/is created by a small dev team based in the US. Inspiration was taken from CivClicker and Age of Empires originally. | ||
|
||
_Please give credit to us specifically when reposting, remaking, or changing any part of this game for your own private purposes, although you don't have to, as all of the Rising Dawns source code is open-source and in the public domain._ | ||
|
||
## **Thank you for playing!** | ||
|
||
--- | ||
|
||
### **KEEP IN MIND:** | ||
**RDA currently only has one programmer, one musician, one artist, and 2 playtesters at the moment. _Please_ give us time to fix bugs and issues or add features, unless it is extremely urgent.** | ||
|
||
--- | ||
|
||
### **TO-DO / Version Logs** | ||
**View the Dev to-do list in the Archive folder of the game files. You can get to the folder from an imbedded link either in the console window of the main game or from a hyperlink in the save creator. Rising Dawns' version logs can also be found here.** | ||
|
||
--- | ||
|
||
### **Version Suffix Explanations** | ||
**-exp**: An experimental build. Think of it as a more unstable version of a snapshot. Example: **v0.5.92exp** | ||
|
||
**-s**: The latest semi-stable update. Usually a hotfix or a sneak peak of future updates. Example: **v0.21.3s** | ||
|
||
**-a**: A stable alpha build. Example: **v1.048.43a** | ||
|
||
**-b**: A stable beta build. Example: **v0.1.354b** | ||
|
||
**-fram**: A framework build, usually just something like a test item or a UI idea that I'm saving for later. Example: **v0.0.428fram** | ||
|
||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Site settings | ||
title: "Rising Dawns: Browser Edition" | ||
description: "City-building and Empire-expanding game. Collect resources, train soldiers, build buildings, research, or really, do whatever you want." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
VERSIONS LISTED HERE MAY NOT BE TESTED OR STABLE, | ||
DOWNLOAD AT OWN RISK. UNSTABLE VERSIONS MAY | ||
CAUSE CRASHES OR UNTRUE/UNRELIABLE ERROR REPORTS. | ||
|
||
REPORT ALL BUGS OR REQUESTED FEATURES TO THE DEVELOPERS | ||
(LostSheep Studios) AT A GITHUB ACCOUNT OR EMAIL. BOTH | ||
OPTIONS CAN BE FOUND ON THE SAVE CREATION PAGE. | ||
|
||
This file is not licensed for retail or marketing use. | ||
|
||
VERSIONS: | ||
|
||
0.1.58a: | ||
-Rebalanced special resource aquisition. | ||
-Refreshrate added, for ease of programming. | ||
-Stabilization back-steps. | ||
|
||
0.1.54a: | ||
-Bizzare population-update-preventing bug fixed. | ||
-Completely re-skinned the save creator. | ||
-Changed 'civs' to 'regions'. | ||
-Made autosaving only happen when the 'autosave' checkbox | ||
is filled. | ||
-Wallowed in my depression. | ||
-Changed the 'autosave' and the 'achievements' selector to a checkbox. | ||
-Began work on a storm function (currently a very large comment at the end of newDawn.js). | ||
-Started the implementation of 52 achievements. | ||
-Added a dedicated 'achievement' area (temporary position). | ||
-Research tree completed, functionality to come. | ||
-Changed versioning algorithm. | ||
-Added a number labeling algorithm to shorten resource totals, can be applied to anything via | ||
checkAmountTitle(round(Math.floor(VARIABLE))) if you wish for only integer return values or | ||
checkAmountTitle(VARIABLE) if else. | ||
|
||
0.1.5: | ||
-Added subsections of the main UI. | ||
-Bug fixes. | ||
-Stabilization Fixes. | ||
-Added achievement framework. | ||
-Added and improved Manual Saving. | ||
-Added Random Civ picking. | ||
-Added console formatting. | ||
-"Small" styling changes. | ||
-Added buildings. | ||
-Added military.*1 | ||
-Added Era Up framework. | ||
-Changed hunter gather rate to 0.25 per three second. | ||
|
||
*1 Included: All Early Era units. | ||
|
||
**V0.1.5 is not available on the RD download site. The browser | ||
publication of Rising Dawns | ||
is updated to the newest version, whatever that may be.** | ||
|
||
|
||
0.1.0: | ||
-Added base mechanics such as wood, stone, and food. | ||
-Added population count. | ||
-Added workers. | ||
-Added save creation system.*1 | ||
|
||
*1 Included: Err messages, king/kingdom names, basic javascript | ||
components, and CSS styling. | ||
Note: Saving is not actually supported yet. I've just added it | ||
for preparation and | ||
professionalism. | ||
|
||
**V0.1.0 is not available on the RD download site. The browser | ||
publication of Rising Dawns | ||
is updated to the newest version, whatever that may be.** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,256 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<title>Kings of Old | V0.1.0 SR</title> | ||
<script src='http://code.jquery.com/jquery-1.10.2.min.js'></script> | ||
<script src="https://kit.fontawesome.com/b3dcbaf5bd.js" crossorigin="anonymous"></script> | ||
</head> | ||
<div id="varCollect" style="display: none; position: absolute; left: -100vw;"></div> | ||
|
||
</html> | ||
<style> | ||
button { | ||
margin: 10px; | ||
} | ||
|
||
#WlabelDiv { | ||
position: absolute; | ||
left: 100px; | ||
top: 18px; | ||
} | ||
|
||
#SlabelDiv { | ||
position: absolute; | ||
left: 100px; | ||
top: 62px; | ||
} | ||
|
||
#FlabelDiv { | ||
position: absolute; | ||
left: 100px; | ||
top: 108px; | ||
} | ||
|
||
.worker-recruit { | ||
position: relative; | ||
top: 68px; | ||
left: 75px; | ||
} | ||
|
||
#PlabelDiv { | ||
position: relative; | ||
top: 100px; | ||
margin-left: 10px; | ||
} | ||
#unemployedWrap { | ||
position: absolute; | ||
top: 255px; | ||
margin-left: 10px; | ||
} | ||
#hunterWrap { | ||
position: absolute; | ||
top: 305px; | ||
margin-left: 10px; | ||
} | ||
#minerWrap { | ||
position: absolute; | ||
top: 345px; | ||
margin-left: 10px; | ||
} | ||
#ljWrap { | ||
position: absolute; | ||
top: 385px; | ||
margin-left: 10px; | ||
} | ||
.hadd { | ||
position: relative; | ||
left: 115px; | ||
top: 50px; | ||
} | ||
.hsubtract { | ||
position: relative; | ||
left: 115px; | ||
top: 50px; | ||
} | ||
.madd { | ||
position: relative; | ||
left: 115px; | ||
top: 50px; | ||
} | ||
.msubtract { | ||
position: relative; | ||
left: 115px; | ||
top: 50px; | ||
} | ||
.ladd { | ||
position: relative; | ||
left: 115px; | ||
top: 50px; | ||
} | ||
.lsubtract { | ||
position: relative; | ||
left: 115px; | ||
top: 50px; | ||
} | ||
</style> | ||
<script> | ||
document.getElementById("varCollect").innerHTML = window.location.search; | ||
|
||
function getQueryVariable(variable) { | ||
var query = window.location.search.substring(1); | ||
sessionDetails = query.split("&"); | ||
for (var i = 0; i < sessionDetails.length; i++) { | ||
var pair = sessionDetails[i].split("="); | ||
if (pair[0] == variable) { return pair[1]; } | ||
} | ||
console.log(sessionDetails); | ||
return (false); | ||
} | ||
getQueryVariable(); | ||
|
||
$(document).ready(function () { | ||
woodCount = 0; | ||
stoneCount = 0; | ||
foodCount = 0; | ||
population = 0; | ||
|
||
woodAdd = 1; | ||
stoneAdd = 1; | ||
foodAdd = 1; | ||
|
||
foodIncrement = 0; | ||
woodIncrement = 0; | ||
stoneIncrement = 0; | ||
|
||
woodWorkers = 0; | ||
stoneWorkers = 0; | ||
foodWorkers = 0; | ||
unemployed = 0; | ||
|
||
$(".wood-gather").click(function () { | ||
woodCount = woodCount + woodAdd; | ||
}); | ||
$(".stone-gather").click(function () { | ||
stoneCount = stoneCount + stoneAdd; | ||
}); | ||
$(".food-gather").click(function () { | ||
foodCount = foodCount + foodAdd; | ||
}); | ||
$(".worker-recruit").click(function () { | ||
if (foodCount >= 10) { | ||
population = population + 1; | ||
unemployed = unemployed + 1; | ||
foodCount = foodCount - 10; | ||
} | ||
}); | ||
$(".hadd").click(function() { | ||
if (unemployed >= 1) { | ||
foodWorkers = foodWorkers + 1; | ||
unemployed = unemployed - 1; | ||
} | ||
}); | ||
$(".hsubtract").click(function(){ | ||
if (foodWorkers >= 1) { | ||
foodWorkers = foodWorkers - 1; | ||
unemployed = unemployed + 1; | ||
} | ||
}); | ||
$(".ladd").click(function() { | ||
if (unemployed >= 1) { | ||
woodWorkers = woodWorkers + 1; | ||
unemployed = unemployed - 1; | ||
} | ||
}); | ||
$(".lsubtract").click(function(){ | ||
if (woodWorkers >= 1) { | ||
woodWorkers = woodWorkers - 1; | ||
unemployed = unemployed + 1; | ||
} | ||
}); | ||
$(".madd").click(function() { | ||
if (unemployed >= 1) { | ||
stoneWorkers = stoneWorkers + 1; | ||
unemployed = unemployed - 1; | ||
} | ||
}); | ||
$(".msubtract").click(function(){ | ||
if (stoneWorkers >= 1) { | ||
stoneWorkers = stoneWorkers - 1; | ||
unemployed = unemployed + 1; | ||
} | ||
}); | ||
|
||
function CountAppend() { | ||
$("#WCount").remove(); | ||
$("#WlabelDiv").append("<label for = 'woodGather' id = 'WCount'>Wood: " + woodCount + "</label>"); | ||
$("#SCount").remove(); | ||
$("#SlabelDiv").append("<label for = 'stoneGather' id = 'SCount'>Stone: " + stoneCount + "</label>"); | ||
$("#FCount").remove(); | ||
$("#FlabelDiv").append("<label for = 'foodGather' id = 'FCount'>Food: " + foodCount + "</label>"); | ||
$("#UEM").remove(); | ||
$("#unemployedWrap").append("<p id = 'UEM'>Unemployed: " + unemployed + "</p>"); | ||
$("#HNT").remove(); | ||
$("#hunterWrap").append("<p id = 'HNT'>Hunters: " + foodWorkers + "</p>"); | ||
$("#LBJ").remove(); | ||
$("#ljWrap").append("<p id = 'LBJ'>Lumberjacks: " + woodWorkers + "</p>"); | ||
$("#MIN").remove(); | ||
$("#minerWrap").append("<p id = 'MIN'>Miners: " + stoneWorkers + "</p>"); | ||
} | ||
var interval = self.setInterval(function () { CountAppend() }, 10); | ||
|
||
function workerRates() { | ||
foodIncrement = foodWorkers / 2; | ||
stoneIncrement = stoneWorkers / 2; | ||
woodIncrement = woodWorkers; | ||
} | ||
var interval2 = self.setInterval(function(){ workerRates()}, 10); | ||
|
||
function resourceAdd() { | ||
foodCount = foodCount + foodIncrement; | ||
stoneCount = stoneCount + stoneIncrement; | ||
woodCount = woodCount + woodIncrement; | ||
} | ||
var interval3 = self.setInterval(function(){ resourceAdd()}, 1000); | ||
}); | ||
</script> | ||
<div class="woodWrap"> | ||
<div id="woodGatherWrap"> | ||
<div id="WlabelDiv"></div> | ||
<button class='wood-gather' value='Wood' name='woodGather'>Gather</button> | ||
</div> | ||
</div> | ||
<div class="stoneWrap"> | ||
<div id="stoneGatherWrap"> | ||
<div id="SlabelDiv"></div> | ||
<button class="stone-gather" value="Stone" name="stoneGather">Gather</button> | ||
</div> | ||
</div> | ||
<div class="foodWrap"> | ||
<div id="foodGatherWrap"> | ||
<div id="FlabelDiv"></div> | ||
<button class="food-gather" value="Food" name="foodGather">Gather</button> | ||
</div> | ||
</div> | ||
<div class="workerWrap"> | ||
<div id="workerRecruitWrap"> | ||
<div id="PlabelDiv"><label for="workerRecruit">Workers:</label></div> | ||
<button class="worker-recruit" value="Workers" name="workerRecruit">Recruit</button> | ||
</div> | ||
<div id="jobWrap"> | ||
<div id="unemployedWrap"> | ||
</div> | ||
<div id="ljWrap"> | ||
<button class = "lsubtract"><i class = "fa-solid fa-angle-left"></i></button> | ||
<button class = "ladd"><i class = "fa-solid fa-angle-right"></i></button> | ||
</div> | ||
<div id="minerWrap"> | ||
<button class = "msubtract"><i class = "fa-solid fa-angle-left"></i></button> | ||
<button class = "madd"><i class = "fa-solid fa-angle-right"></i></button> | ||
</div> | ||
<div id="hunterWrap"> | ||
<button class = "hsubtract"><i class = "fa-solid fa-angle-left"></i></button> | ||
<button class = "hadd"><i class = "fa-solid fa-angle-right"></i></button> | ||
</div> | ||
</div> | ||
</div> |
Oops, something went wrong.