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
std = "max" | |
files['.luacheckrc'].global = false | |
unused_args = false | |
globals = { | |
"sys", | |
"go", | |
"gui", | |
"label", | |
"render", |
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
// CAUTION / / / CAUTION / / / CAUTION / / / CAUTION / / / CAUTION / / / CAUTION / / / CAUTION / / / | |
// Notice the for loops have a hardcoded values for how far they can go (32) | |
// This is a result of WEBGL not allowing while loops. Change the value to what you find appropriate! | |
// CAUTION / / / CAUTION / / / CAUTION / / / CAUTION / / / CAUTION / / / CAUTION / / / CAUTION / / / | |
// | |
// Hopefully this gives you the format for making your own operators such as XOR, NAND, etc. | |
// | |
// Adapted from this thread: | |
// https://scratch.mit.edu/discuss/topic/97026/ |
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
// Ported to JavaScript from | |
// http://www.migapro.com/circle-and-rotated-rectangle-collision-detection/ | |
// | |
// An example: | |
// var circle: { x: 20, y: 10, radius: 20 }; | |
// var rect: { x: 30, y: 30, width: 100, height: 100, rotation: Math.PI / 2 }; | |
// collideCircleWithRotatedRectangle( circle, rect ); | |
// // returns true. | |
// | |
// |
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
String apiKey = BuildConfig.API_KEY |
A couple of weeks ago I played (and finished) A Plague Tale, a game by Asobo Studio. I was really captivated by the game, not only by the beautiful graphics but also by the story and the locations in the game. I decided to investigate a bit about the game tech and I was surprised to see it was developed with a custom engine by a relatively small studio. I know there are some companies using custom engines but it's very difficult to find a detailed market study with that kind of information curated and updated. So this article.
Nowadays lots of companies choose engines like Unreal or Unity for their games (or that's what lot of people think) because d