Skip to main content
Code Review

Return to Question

replaced http://codereview.stackexchange.com/ with https://codereview.stackexchange.com/
Source Link

I've taken my previous block building game previous block building game and added some performance improvements, and commented some things that needed to be commented for better explanation.

I've taken my previous block building game and added some performance improvements, and commented some things that needed to be commented for better explanation.

I've taken my previous block building game and added some performance improvements, and commented some things that needed to be commented for better explanation.

edited title
Link
Ethan Bierlein
  • 15.9k
  • 4
  • 60
  • 146

Basic Block Building Gamebuilding game - Part 2

Notice removed Draw attention by Community Bot
Bounty Ended with no winning answer by Community Bot
Notice added Draw attention by user35408
Bounty Started worth 50 reputation by Community Bot
Tweeted twitter.com/#!/StackCodeReview/status/546559239641374720
added 21 characters in body
Source Link
Ethan Bierlein
  • 15.9k
  • 4
  • 60
  • 146

I've taken my previous block building game and added some performance improvements, and commented out some things that needed to be commented for better explanation.

What I'm mostmostly looking for is how I can improve the code that lets the player move around the world. Currently, what it's doing is looping through the entire array containing the world data, and changing each individual block's position. This is not good, especially when I'd like to make the worlds infinite at some point. So, any suggestions or solutions to fix/improve this are welcome. Thanks!

I've taken my previous block building game and added some performance improvements, and commented out some things that needed to be commented.

What I'm most looking for is how I can improve the code that lets the player move around the world. Currently, what it's doing is looping through the entire array containing the world data, and changing each individual block's position. This is not good, especially when I'd like to make the worlds infinite at some point. So, any suggestions or solutions to fix/improve this are welcome. Thanks!

I've taken my previous block building game and added some performance improvements, and commented some things that needed to be commented for better explanation.

What I'm mostly looking for is how I can improve the code that lets the player move around the world. Currently, what it's doing is looping through the entire array containing the world data, and changing each individual block's position. This is not good, especially when I'd like to make the worlds infinite at some point. So, any suggestions or solutions to fix/improve this are welcome. Thanks!

Source Link
Ethan Bierlein
  • 15.9k
  • 4
  • 60
  • 146
Loading
lang-js

AltStyle によって変換されたページ (->オリジナル) /