Commit Graph

81 Commits

Author SHA1 Message Date
Robbie Antenesse 55ce2e7c1f Fixed island generation!
My while statements were looping forever because the ranges were too big!
2016-04-15 15:10:24 -06:00
Robbie Antenesse 8e09e8b2a0 Moved rm_Ocean "constants" into its creation. 2016-04-15 15:08:16 -06:00
Robbie Antenesse 34de633ef3 Made edits to try to make island generation better. It crashes on load a lot on Ubuntu Chrome for some reason. No clue why. 2016-04-14 23:01:05 -06:00
Robbie Antenesse d7201a5eb2 Updated instructions on page, ready to merge. 2016-04-14 18:00:19 -06:00
Robbie Antenesse eecc18e330 Sort of started working on Title Screen. 2016-04-14 17:48:18 -06:00
Robbie Antenesse 736c955f1c Screenshots! 2016-04-14 17:48:02 -06:00
Robbie Antenesse b4c0204657 Added Day/Night Cycle with fancy a sine wave! Economy updates each morning. 2016-04-14 17:11:55 -06:00
Robbie Antenesse d45246b3d5 Resized the ocean. Added map! Updated trade so you can't haggle forever. Each island knows when it's been haggled. 2016-04-14 17:09:57 -06:00
Robbie Antenesse d86b36883d Procedurally generate islands and update economy on a timer. 2016-04-14 15:02:12 -06:00
Robbie Antenesse f8e2fa3cb9 Added checks to make sure objects exist before trying to reference them. 2016-04-14 15:01:18 -06:00
Robbie Antenesse 5224f69de2 Improved script loading, added loading progress bar. 2016-04-14 14:54:56 -06:00
Robbie Antenesse 98280fc465 Improved Oversimplified.CopyObject to copy arrays by value instead of reference. 2016-04-14 14:54:25 -06:00
Robbie Antenesse 74b7eb885d Optimized collision checks. Like wtf why didn't I do it this way before? 2016-04-14 08:31:01 -06:00
Robbie Antenesse e87f4433d1 Adjust global economy based on the overall average price difference instead of amount bought vs sold. 2016-04-13 23:33:42 -06:00
Robbie Antenesse ee3dac7063 Reduced number of collision checks on the Ship to reduce diagonal movement lag. 2016-04-13 23:20:54 -06:00
Robbie Antenesse de7f4d5bcb Made oceanRoom generate 5 islands at the start. 2016-04-13 23:20:11 -06:00
Robbie Antenesse 33eecd7cc7 Updated Oversimplified.CopyObject() to allow passing options object to override any GameObject properties. 2016-04-13 23:18:29 -06:00
Robbie Antenesse 434d7e411e Increased price of items in short supply on islands. 2016-04-13 23:16:59 -06:00
Robbie Antenesse f80775702a Screenshots from yesterday that I forgot to commit. 2016-04-13 22:15:23 -06:00
Robbie Antenesse 4cf021ff74 Reset base popularity to 5, just in case I don't get stat increases into the game on time. Also added a screenshot. 2016-04-13 18:06:45 -06:00
Robbie Antenesse 6c64da02a3 Made island economy make sense based on the inventory it generates. 2016-04-13 17:56:52 -06:00
Robbie Antenesse 3d90f9639d Added arrows to indicate when there are multiple pages to look through. 2016-04-13 17:32:56 -06:00
Robbie Antenesse e8a43df0bc Finished Trade GUI and got trading working! There's test data in there, so this isn't ready to merge yet. 2016-04-13 16:49:32 -06:00
Robbie Antenesse 470bac1997 Eliminate the concept of a tradeRoom. 2016-04-13 16:48:32 -06:00
Robbie Antenesse 1255929124 Make words wrap nicely, but allow punctuation to wrap to next line. 2016-04-13 16:46:31 -06:00
Robbie Antenesse d8cb0151d8 Replaced every instance of OS.S.pixelScale with pixel() to make life easier. 2016-04-12 18:14:09 -06:00
Robbie Antenesse 0825c135c1 Made some more noise 2016-04-12 18:12:41 -06:00
Robbie Antenesse d45a8b6903 Made some noise 2016-04-12 17:07:22 -06:00
Robbie Antenesse 4cee4c49b6 Started work on Trade interaction. 2016-04-12 10:02:27 -06:00
Robbie Antenesse 1e2638c1f0 Little bit of work on Trade screen. 2016-04-11 22:47:01 -06:00
Robbie Antenesse b4afa9c8a8 Expand all Oversimplified.R to Oversimplified.Rooms 2016-04-11 22:44:00 -06:00
Robbie Antenesse 4f58ea6ba4 Started work on Trade room. Found a bug with background color not changing when rooms change! 2016-04-11 18:06:06 -06:00
Robbie Antenesse 3208d230bf Prevent moving ship if inventory screen is open. Also resize map. 2016-04-11 17:00:27 -06:00
Robbie Antenesse aac13ca552 Reset variables for presentation. 2016-04-11 16:30:39 -06:00
Robbie Antenesse 3816805784 Fix broken controls. 2016-04-11 16:30:15 -06:00
Robbie Antenesse 1f24b91a28 Built out Inventory GUI, moved some things around to where they made more sense, altered how Cargo is managed. 2016-04-11 16:22:56 -06:00
Robbie Antenesse 2647ebd724 Work on Inventory GUI. 2016-04-10 22:31:04 -06:00
Robbie Antenesse eb82c3432c Started preparing the icons to be able to use. 2016-04-10 13:02:50 -06:00
Robbie Antenesse 654e71f14f Started kind of working on making a GUI for the Inventory. 2016-04-09 20:13:08 -06:00
Robbie Antenesse 5b5465ab97 Began trying to figure out the best way to do interactions. 2016-04-09 20:12:16 -06:00
Robbie Antenesse 7012f201ab My first step toward fumbling my way through adding a GUI class to OversimplifiedJS. 2016-04-09 20:11:42 -06:00
Robbie Antenesse 193f643c82 Added awesome contributions from Paws Screen! 2016-04-09 20:10:32 -06:00
Robbie Antenesse ec2689d4c0 Unified hunger and thirst/food and water, balanced energy a bit. 2016-04-08 14:39:12 -06:00
Robbie Antenesse 357c25e59a Added more helpful info. 2016-04-08 13:57:19 -06:00
Robbie Antenesse 8c1750d188 Merge branch 'master' into gh-pages
# Conflicts:
#	index.html
2016-04-08 13:48:58 -06:00
Robbie Antenesse 342f1d6273 Create gh-pages branch via GitHub 2016-04-08 13:42:15 -06:00
Robbie Antenesse ce19d757df Added a way to find a point in front of the ship. 2016-04-08 07:52:28 -06:00
Robbie Antenesse fbfa3faa53 Added Oversimplified.GameObjectsAtPoint() to return a list of all objects overlapping with a point, altered Oversimplified.CollisionAtPoint() to use Oversimpified.GameObjectsAtPoint() to reduce code. 2016-04-08 07:33:11 -06:00
Robbie Antenesse 9ad26265d1 Setting up island economy functions. 2016-04-08 00:19:55 -06:00
Robbie Antenesse bfcb459d74 Added energy consumption and display, updated Ship prefab to use the new Oversimplified.GameObject.SimpleMove() to stop if crashed. 2016-04-07 18:20:23 -06:00