Questions tagged [pause]

Executing pause operations on application, game or process

Pause refers to a temporary halt in time for some execution of a process.

As an example, the pause command used in DOS will stop playing audio or video, with the possibility to continue in the future (in the case of video: with a still image).

It may also refer to hardware used to initiate a pause such as the Pause/Break key (the secondary function of the PgUp key on some computer keyboards) and the Pause key or symbol on media players.

598 questions
-2
votes
1 answer

Pause the game and then keep on

When I try to make a pause, the screen of the game only freezes and does not make a pause. I mean i want that the game wait and then keep working, not that the window don't respond. I tried it with Thread.sleep(1000); if (Var.tropfeny > 760) { …
Munter3D
  • 1
  • 1
-2
votes
1 answer

My game doesn't pause when the pause button is pressed

Trying to enable pause/resume, but it won't work. My code is package dev.android.gamex; import android.app.Activity; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import…
Niklas Rosencrantz
  • 25,640
  • 75
  • 229
  • 424
-2
votes
3 answers

How to pause the C program?

Fixed system("read -r -p \"Press any key to continue...\" key") I am now writing a command line tool and using C language, but I am wondering how to pause the program? (Not abort it, but can be re-continued) I was trying to make it like "Press…
Coder BTS
  • 13
  • 1
  • 6
-2
votes
2 answers

Make Jquery take a short break

Im trying to make my program just chill out for 3 sekunds and then proceed with the rest of the code - but all the stuff i can finde online just delays specifit lines of code (any way not what i was looking for) What i wish to do is something like…
Holycrabbe
  • 63
  • 1
  • 1
  • 11
-2
votes
3 answers

tax calculator pause program

I'm doing a tax calculator in C ++ but I have an error It is supposed to enter several data: Type of vehicle, date and model. But the program asks me only one before pause and does not go ahead. It is assumed that the operation is as follows: You…
-2
votes
3 answers

How to pause HTML 5 Video player using JavaScript

Well, the title may be sounds easy, but what i want is to do the same thing from browser address bar (my page contains many videos ). i tried javascript:videoelement=document.getElementById("vid1");videoelement.pause(); It doesn't works…
Yuvifan
  • 67
  • 7
-3
votes
1 answer

I want to pause my GameScene, when the app moves in the Background (HomeButton, Call, etc.). How do I pause the GameScene from the AppDelegate File?

The File holds the function I need: func applicationDidEnterBackground(_ application: UIApplication) { // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to…
-4
votes
1 answer

Trouble with play pause button

I'm realizing a play/pause button for a song list. The button is working properly, but only works with the first song of the list please checkout the issue here https://www.superbackings.com I'm not sure what am I doing wrong.
Nicolas
  • 11
  • 3
-4
votes
1 answer

How can i continue the loop after getting value from function?

as i write in title, I have small question it's about loop! i've small loop, ok? i want pause loop in each value and call a function and wait a response from function, if function give any value i want to continue the loop! anyone have idea or…
Mohammed
  • 1
  • 1
  • 6
-4
votes
1 answer

How to make program waiting in c++

I need to make program wait for some time until continue. I tried: system("stop") but console output was: " 'stop' is not recognized as an internal or external command, operable program or batch file.". I need answer in c++. Answers in Is there a…
jaksia
  • 11
  • 8
-6
votes
2 answers

What is wrong my C++ code about the 'if and if else' function and the 'pause'?

#include #include #include #include using namespace std; int main() { int score; string name, sco; cout<<"Hello! I am Mrs. Marian! I am the administratress of this humble website!"<<'\n'; …
-7
votes
1 answer

Pause program after displaying ten characters

I want to be able to do something like pause the program after displaying 10 characters of ASCII values and say Continue or something to resume. I use Visual Studio 2017 if that of any use.
-9
votes
4 answers

java, need to pause program for 0.5 sec

so I'm making the "Simon game" and I need a java code to pause the program for 0.5 sec to show to the user the buttons he needs to press on. greenButton.setBackground(Color.GREEN); //need to stop here press = true;
CrazyCat
  • 1
  • 1
  • 4
1 2 3
39
40