Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Right Click

A topic by ezragamedev created Aug 10, 2020 Views: 134 Replies: 1
Viewing posts 1 to 2

Can I have a different thing that happens if I left and right click?

(Or double-click)

Jam HostSubmitted

This is a good question and the answer is no you can't. 

You can have multiple inputs to press the button (for example you can make so that the button is pressed when the player presses LMB (left mouse button) or when they press Space), but the effect of the button can't be based on which input button the player pressed.

However keep in mind that the effect of the button can change over time or over clicks (for example your button can have a certain effect the first time you press it and have another effect the second time you press it etc.).

Thank you for your question, I'll update the rules

-Cah