TUTORIAL #1: How to create a custom mouse for games

1
  • 3 favourites

Attached Files

The following files have been attached to this tutorial:

.capx

tutorial-1.capx

Download now 171.66 KB

Stats

1,778 visits, 2,389 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.

Creating a customized mouse is a lot easier than most people would expect.

Which is why I'll now show you how to make one.

But first, we'll need some objects. (And by some, I mean only 2.)

A sprite, and the "Mouse" Object.

That little circle there will be our mouse.

(REMINDER) Make sure your mouse is Sprite object. The custom mouse will not configure well if it were another drawable object. (a tiled background, for example)

Now, lets move to the event sheet.

Create the events like the ones shown below.

Now, if you want this to work on ALL the layouts in your project, just place one instance of the sprite in each layout. It doesn't even need to be seen by the player. Just place it outside the layout.

And that's it.

I might make some more tutorials soon :3

.CAPX

tutorial-1.capx

Download now 171.66 KB
  • 1 Comments

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