RPG (Part 5)

3

Index

Attached Files

The following files have been attached to this tutorial:

.capx

Stats

4,664 visits, 9,704 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 4 Dec, 2015. Last updated 19 Feb, 2019

Now if you type your name in Textbox then how Construct 2 know what to do with it? Answer we can have Global Variable but, I am going to use DICTIONARY OBJECT.

Now when player type anything even single letter in Textbox we will store that TEXT in our Dictionary Object.

In our event editor enter this line:

txt_PlayerInput text changed this box will appear. Click on On text Changed where arrow is pointing and click Done.

Now Add action double clicks on Dictionary and this box will appear.

Click next new box will open up

Type in Exactly what I have typed in

input_Name

txt_PlayerInput.Text

  • 0 Comments

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