Move text on click

how to move text on clicking.just as it happens in game.when clicked last text vanishes and new appears and so on.
in javascript

  1. On clicking what?
  2. Moving to where?
  3. What game?
  4. Do have any initial code?
  5. Can you help us to help you?
  6. :biggrin:

coothead

3 Likes

when we play any game,last text vanishes while next text one come on screen
all happens just by clicking

Hi there abhishekpandey7879,

is it not possible for you to answer any
of the questions posed in post #2 ? :wonky:

coothead

I’ll give it a try.

Anywhere on the screen.

How to remove the old text and show new text

Almost any game with subtitles can be used as an example

No.

Not easily as English is not his first language

:eyebrows:

3 Likes

Here’s a brief example of a text dialog system. Click anywhere in the white area to advance the text.

2 Likes

Well, your information was very confident and reassuring. :winky:

I see that you were able to provide the required code
for the O.P.'s project almost immediately . :biggrin:

coothead

I will certainly be glad to help him by giving advise on what he needs to do.

 
 
 
You have left me speechless. :mask:
 
                
 
 
 

coothead

4 Likes

thx you so much for contributing.you did great job

1 Like

I was going to synchronise the text with the actual audio, but couldn’t find a good source of the audio to control from an <audio> element. The potential still remains open though.

Does this help…

audio-files.zip (1.4 MB)

coothead

Thanks, I have the audio, but didn’t know of any good place to host it on the internet. The common ones like Dropbox, OneDrive and Google Drive don’t act as just a host, but instead supply their own interface instead which cannot be used by the audio element.

Don’t you have a site?

coothead

That seemed to be all together too much bother for myself personally when I’ve been doing it for others for so long.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.