Your own textbox

  • 15 favourites

Index

Attached Files

The following files have been attached to this tutorial:

.capx

tutorial-ext.capx

Download now 176.52 KB
.capx
.png
.png

unselected.png

Download now 250 B

Stats

2,880 visits, 8,288 views

Tools

Pleasant view

Now let's make our textbox looks like textbox.

Save unselected.png and selected.png from Tutorial Downloads.

We will use these two sprites to show state of our textbox.

Add it into your project, call it textbox and edit source text size to fit this textbox.

Add new variable selected which will help us change textbox state.

Unite our two last events with if selected = 1 condition.

Now let's make a visual display of textbox.

Start with simple Every tick - set textbox.animationframe = selected

Now add Mouse object and these two simple events:

Now everything should work fine.

  • 0 Comments

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