How to make a 3D Minecraft-like game

1

Stats

2,131 visits, 2,773 views

Tools

Translations

This tutorial hasn't been translated.

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Published on 26 Sep, 2014. Last updated 19 Feb, 2019

PLEASE NOTE THIS TUTORIAL IS UNDER HEAVY DEVELOPMENT AND IS BY NO MEANS WORKABLE OR COMPLETE!

You may have read JoyfulDreamers Pseudo-3D Games tutorial and gotten a little bogged down in all that math. I know I did. So I'm going to show you how to make something a bit easier using arrays and basic math ( , -, *, /). You'll need the Array plugin, the Keyboard plugin as many Sprites as there are different kinds of blocks + 1 for the player and anything else you may want. Now for variables. Here's how I'll present them: (type, sprite (instance only), name, default value). Here they are:

Global, X, 1000000

Global, Y, 1000000

Global, Z, 1000000

Global, PlayerX, 1000000

Global, PlayerY, 1000000

Global, PlayerZ, 1000000

Global, PlayerYRotation, 1000000

Instance, All, X_, 0

Instance, All, Y_, 0

Instance, All, Z_, 0

Now we need to add some code. Here's how I'll present it (condition, action, expression, value).

  • 0 Comments

Want to leave a comment? Login or Register an account!