How To

How to make text adventures games with a gamepad

0

Julian_1 2020-04-12 21:31

hello I would like to know how to make text adventure game with a gamepad


was8bit 2020-04-13 04:18 (Edited)

rather than using keyboard for input...

1) you can use arrow keys and A B on an input screen... easy to do but limits you to 6 total choices per input screen...

2) use a CURSOR system... use one sprite for the cursor, then use other sprites for "button" graphics that represent different choices...

Use SPRITE HIT(CursorSpriteNumber) to detect which button was chosen....

In this set up, player would use arrow keys to manouver the cursor, and A button to select.. (that is, SPRITE HIT and A BUTTON together yields player choice..

This method looks and feels great, but takes a lot of code just to run it...

3) abandon GAMEPAD and KEYBOARD, and use TOUCHSCREEN with 2x2 sized touch buttons...

The advantage is 1) you don't have to use sprites, just cells, and 2) player can simply TOUCH a choice button, which is quicker and easier... takes just a little bit of a learning curve, but rather easy to do once you get it...

.. so which of the 3 sounds like what you may want ?


Timo 2020-04-13 08:46

Another one:

3) Gamepad buttons up/down to choose an option, button A to select.


Timo 2020-04-13 11:26

Have a look at this: https://lowresnx.inutilis.com/topic.php?id=1122


Log in to reply.