User input in Python
This tutorial shows how to store user input in a variable in your Python program using the input() function (in Python 3) and raw_input() function (in Python 2). You can …
This tutorial shows how to store user input in a variable in your Python program using the input() function (in Python 3) and raw_input() function (in Python 2). You can …
This video explains how to move your player in a 2D game in Unity with C# code. After watching this video, you will be able to move your player left …
This tutorial explains how to add radio buttons to an Android app and make decisions based on which option the user selects. Radio buttons allow the user to select one item from …
This tutorial explains how to use the htmlentities and strip_tags functions in PHP to ignore or strip HTML tags in strings. You may want to do this if you are …
Select lists, which are created in HTML code, can be useful when a user needs to select one or more items from a list of different items. This tutorial explains …
In this tutorial you will finally get to work with real user input through the use of forms and PHP code. This tutorial will show you how to create a …
This tutorial explains how to use keyboard input to move an object around. But rather than telling the object how far it needs to move (like in this other tutorial), …
If you watched the previous tutorial you would have learned how to make an object move on its own using JavaScript code. In this tutorial, we will make an object …
This tutorial explains how to detect mouse button clicks and mouse movement in your game using a C# script. This will allow your players to interact with the game using …
This video tutorial will show you how to transform objects (move, rotate, scale) in your Unity game using C# scripts and also how to implement player interaction with the game …
In Unity, you can set up your game to detect specific keypresses and then react to those keypresses. However, there is a better way of setting up input using Unity’s …
If you have completed the User Input with Forms tutorial, you will now know how to ask the user for text input through a form, and use that input in …
A prompt (or input box) is a popup box which asks the user a question and allows them to type and submit their answer in a textbox. The user must …
This video tutorial explains how to implement checkboxes in an HTML form and how to use JavaScript to validate the form data by checking whether at least one option has …
We will now start using forms to take user input. Forms include elements such as input text boxes, checkboxes, radio buttons, drop-down lists, and submit buttons. In this tutorial, we …