EliteIntegrity

/John Horton

About John Horton

Writer at GameCodeSchool.com
  • loops_demo

loops demo

By |

In this quick mini-project, we will put into practice different types of loops like loops and loops. Prepare to go loopy. Actually, it’s really simple. To get started Create a new Android project and enter Loops in the Aplication Name field and enter LoopsActivity in the Activity Name field. When Android Studio has finished generating the project read on.

 

 

Delete the generated code in LoopsActivity.java […]

  • conditions_and_branching_demo

Checking for conditions and branching demo

By |

In this quick mini-project, we will practice how to test for conditions using Java in an Android game project. Condition testing is a basic staple of all programming including games. If you think it sounds complicated you will be pleasantly surprised. To get started create a new Android project and enter ConditionsAndBranching in the Aplication Name field and enter ConditionsAndBranchingActivity in the Activity Name field. When […]

  • game_variables_demo

Game variables demo

By |

In this demo project, we will put into practice the concepts we learned about it in part 1 and part 2 of the Java tutorials. We will declare and initialize a whole bunch of different types of variable and then we will see the different ways we can use operators on them and the effect it […]

  • deploying-your first-android-game-b

Deploying your first Android game

By |

If you have just completed the tutorial Building your first Android game or if you have just forgotten how to get your latest project from your PC and onto a device – here is how to do it. This tutorial will show you how to run the game on your device while connected via a USB […]

  • android-studio-2_2_2-completed-blank-game-project

Building your first Android game

By |

In this project we will use the Android Studio new project wizard to build an app we can actually run on a real Android device. It won’t do anything except print some text to the screen but it will demonstrate the first step that all our Android game projects will require.

 

 

This is made really easy […]

Java Game Coding Level 1

By |

This course is for you if you are completely new to programming or the Java language. This course will quickly cover everything you need to know to be building Java games as soon as possible. This course will be equally relevant to you regardless of where you intend to use your Java skills. As we will see […]

Game variables

By |

When we code a computer game, the first thing we need it to do is to ‘know’ what the current state of the game is. This might include the player’s score, how many enemy space ships there are, where on the screen all the game objects are and what they are doing. The game’s variables are the part of […]

Changing the value of game variables

By |

The main way to change our game’s variables using Java is using a concept called operators.Operators in Java are just like mathematical operators and many of them are the same symbol. So if you coped with junior school math you will have no problem with this tutorial. We will start by looking at a list […]

Checking for conditions in our game

By |

In order for our game to dynamically respond to the player’s input, conform to the game’s rules and control the artificial intelligence of characters within the game; our code will need to make decisions. Programming languages achieve this by creating and testing for conditions based upon, the values held by our variables.

We want to be […]

Branching our game code

By |

We have seen in the last tutorial how we can detect certain conditions in our code. For example when the player loses a life, destroys an alien or gets a new fastest time. We have also seen the Java keyword that allows us to execute a certain block of code when a certain condition […]

css.php