Basics
progame is easy to get used to once you know what to do.
When you get progame, run the launcher and click on "Update and Run"
Use the "run" button if only for when you aren't connected to the internet
The launcher has many options. The first button will show you the controls.
The second button will turn random generation on or off. Turn it off if you are experiencing lag.
The third button will open up the games folder for you to do more advanced things
The fourth button will allow you to change the generation seed and turn on survival mode from the launcher
The "Play Solo" button will start the game. This is the button you care about the most
The "Connect" button will connect you to the specified server. An appropriate ip is like "10.40.6.48:25565"
The "Host" button will start a server with the specified 5 digit port and your ip address
When you start the actual game, you need to press the "esc" button to capture the mouse. You can press it again to uncapture it.
You move using the mouse to look and w,a,s,d keys to walk
Press "f" to fly if you are having trouble
Left click on the mouse in 3 different spots to create a triangle. You can see which point of the triangle you are placing in the top right corner of the game
Right click on a triangle to remove it. NOTE: you cannot break generated triangles
Scroll the middle mouse button to change the type of triangle you are placing
Press and hold apostrophe ( ' ) to see more controls
Now that you know the basics, Here's some of the cooler things:
Press the "ctrl" button to open up the console. You can type commands in here. Press and hold star ( * ) to see all of the commands
You can create mods by putting .js files with javascript code in the games "scripts" folder. Look below for further information
You can add new textures to the game by putting them in the "textures" folder of the games file accordingly to the number
- Downloading the game
When you get progame, run the launcher and click on "Update and Run"
Use the "run" button if only for when you aren't connected to the internet
- Using the launcher
The launcher has many options. The first button will show you the controls.
The second button will turn random generation on or off. Turn it off if you are experiencing lag.
The third button will open up the games folder for you to do more advanced things
The fourth button will allow you to change the generation seed and turn on survival mode from the launcher
The "Play Solo" button will start the game. This is the button you care about the most
The "Connect" button will connect you to the specified server. An appropriate ip is like "10.40.6.48:25565"
The "Host" button will start a server with the specified 5 digit port and your ip address
- Playing the game
When you start the actual game, you need to press the "esc" button to capture the mouse. You can press it again to uncapture it.
You move using the mouse to look and w,a,s,d keys to walk
Press "f" to fly if you are having trouble
Left click on the mouse in 3 different spots to create a triangle. You can see which point of the triangle you are placing in the top right corner of the game
Right click on a triangle to remove it. NOTE: you cannot break generated triangles
Scroll the middle mouse button to change the type of triangle you are placing
Press and hold apostrophe ( ' ) to see more controls
- Advanced
Now that you know the basics, Here's some of the cooler things:
Press the "ctrl" button to open up the console. You can type commands in here. Press and hold star ( * ) to see all of the commands
You can create mods by putting .js files with javascript code in the games "scripts" folder. Look below for further information
You can add new textures to the game by putting them in the "textures" folder of the games file accordingly to the number
Mod API
Do YOU want the source code to the game? Well, you cant have it. But you can have the ability to modify/add anything you want to the game! This includes access to any class within the game that you find, any java thing that you can find using javascript, and the built in mod api to make a lot of it simpler for YOU!
Here are the functions you can use to mod your game!
heres how you use the functions:
var api = new ModApi();
api.(the function)
functions:
getSelectedTriangle() returns the triangle you are looking at
replaceSelectedTriangleWith(Triangle t) replaces the Triangle you are looking at
getTouchingTriangle() returns the triangle you are touching
replaceTouchingTriangleWith(Triangle t) replaces the triangle you are touching
replaceGenericTriangleWith(Triangle t,Triangle toBeReplaced) replaces the second triangle with the first triangle
getPlayerPosition() returns the players Vector3f
setPlayerPosition(Vector3f v) sets the players position with a new Vector3f
setPlayerPosition(float x, float y, float z) sets the players position at the x,y,z coordinates
getPlayerRotation() returns the players rotation as a Vector3f (note: only the x and y matter atm)
setPlayerRotation(Vector3f v) sets the players rotation
setPlayerRotation(float x, float y, float z) sets the players rotation (z should stay 0)
getHeldTexture() returns the id of the texture the player is holding
setHeldTexture(int i) sets the players held texture
getTime() returns the time
setTime(float f) sets the time
getHealth() returns the player's health
setHealth(int i) sets the players health
getSpawn()returns the players spawn point as a Vector3f
setSpawn(Vector3f v) sets the players spawn
getResources() returns the players resources for survival mode
setResources(float f) sets the players resources
getSpeed() returns the players speed
setSpeed(float speed) sets the players speed
isMoving() returns boolean if the player is moving. May not apply to flying
isFlying() returns if the player is flying or not
setFlying(boolean fly) set if the player is flying or not
isKeyDown(String s) checks if the provided key is down. Doesn't work on all keys but most of the basic game keys work
var api = new ModApi();
api.(the function)
functions:
getSelectedTriangle() returns the triangle you are looking at
replaceSelectedTriangleWith(Triangle t) replaces the Triangle you are looking at
getTouchingTriangle() returns the triangle you are touching
replaceTouchingTriangleWith(Triangle t) replaces the triangle you are touching
replaceGenericTriangleWith(Triangle t,Triangle toBeReplaced) replaces the second triangle with the first triangle
getPlayerPosition() returns the players Vector3f
setPlayerPosition(Vector3f v) sets the players position with a new Vector3f
setPlayerPosition(float x, float y, float z) sets the players position at the x,y,z coordinates
getPlayerRotation() returns the players rotation as a Vector3f (note: only the x and y matter atm)
setPlayerRotation(Vector3f v) sets the players rotation
setPlayerRotation(float x, float y, float z) sets the players rotation (z should stay 0)
getHeldTexture() returns the id of the texture the player is holding
setHeldTexture(int i) sets the players held texture
getTime() returns the time
setTime(float f) sets the time
getHealth() returns the player's health
setHealth(int i) sets the players health
getSpawn()returns the players spawn point as a Vector3f
setSpawn(Vector3f v) sets the players spawn
getResources() returns the players resources for survival mode
setResources(float f) sets the players resources
getSpeed() returns the players speed
setSpeed(float speed) sets the players speed
isMoving() returns boolean if the player is moving. May not apply to flying
isFlying() returns if the player is flying or not
setFlying(boolean fly) set if the player is flying or not
isKeyDown(String s) checks if the provided key is down. Doesn't work on all keys but most of the basic game keys work
Useful functions:
importPackage(com.gopro2027.lwjgl); allows you to use any part of the game code outside of the api (excluding server and client and generation classes)
importClass(org.lwjgl.util.vector.Vector3f); allows you to use Vector3f
var triangle = new Triangle(); creates a new triangle that you can edit (You will need to read up on the triangle class)
importPackage(com.gopro2027.lwjgl); allows you to use any part of the game code outside of the api (excluding server and client and generation classes)
importClass(org.lwjgl.util.vector.Vector3f); allows you to use Vector3f
var triangle = new Triangle(); creates a new triangle that you can edit (You will need to read up on the triangle class)