in javascript, what can I put after player. to make my character go in the center of the screen? like example:

to put it at the bottom of the screen you put player.bottom(): to put it to the right of the screen you put player.right(): please help me i will mark brainlyest for the 1st correct answer

i need to put my character in the center of the screen

Answers

Answer 1

Answer:

0,0

Explanation:

you could try to use the x-axis and y-axis to put your character in a certain place. I'm not totally sure if that is how javascript works, but for the x-axis and y-axis, the center is always(0,0).


Related Questions

vectors
Pre-Test
Active
1
2
3
4
5
6
THE REMAINI
24:13
Two vectors, X and Y, form a right angle. Vector X is 48 inches long and vector Y is 14 inches long. The length of the resultant
vector is
inches.​

Answers

Answer:

[tex]c { }^{2} = a ^{2} +b {}^{2} [/tex]

[tex]c {}^{2} = 48 {}^{2} + 14 {}^{2} [/tex]

[tex]c {}^{2} = 2304 + 196[/tex]

[tex]c {}^{2} = 2500[/tex]

[tex]c = 50[/tex]

An item with both magnitude and direction is referred to be a vector. A vector can be visualized geometrically as a directed line segment, with an arrow pointing in the direction and a length equal to the magnitude of the vector.

What is Vector?

The vector points in a direction from its tail to its head. If the magnitude and direction of two vectors match, they are the same vector.

This indicates that if we take a vector and move it to a different point (without rotating it), the vector we finish up with is the same vector we started with.

The vectors that denote force and velocity are two examples. The direction of force and velocity are both fixed. The size of the vector would represent the force's strength or the velocity's corresponding speed.



Therefore, An item with both magnitude and direction is referred to be a vector. A vector can be visualized geometrically as a directed line segment, with an arrow pointing in the direction and a length equal to the magnitude of the vector.

To learn more about vector, refer to the link:

https://brainly.com/question/13322477

#SPJ7

Vehicle balance________
A. depends on your vehicle operating space
B. cannot be reached
C. is not affected by sudden acceleration
D. varies from vehicle to vehicle

Answers

I would say it’s D.

Vehicle balance varies from vehicle to vehicle. Therefore, option (D) is correct.

What is Vehicle balance?

Vehicle balance refers to the stability of a vehicle while in motion and its ability to maintain control and direction. The balance of a vehicle can be affected by a number of factors, such as the weight distribution, suspension, and tire wear.

The balance of a vehicle varies from vehicle to vehicle and depends on the design, construction and the state of maintenance of the vehicle. Factors such as sudden acceleration, the size of the vehicle and its operating space can also impact the balance of the vehicle. However, it is always important to maintain the balance of the vehicle by regular check ups and maintenance to ensure the safety of the driver and passengers.

Learn more about vehicle balance, here:

https://brainly.com/question/14307249

#SPJ2

Meghla has brought a smartphone with length is 4 unit and breadth is 3 unit, what is the screen size of the smartphone

Answers

Answer:

[tex]12unit^2[/tex]

Explanation:

Assuming that the screen covers the entire area of the smart phone.

[tex]3 * 4 = 12 unit^2[/tex]

Most likely this wouldn't be the case, so the screen size would be at most [tex]12unit^2[/tex]

[tex]0unit^2<size < 12unit^2[/tex]

And would most likely fall under this range of answers.

You multiply 4 by 3 to get the screen size of the smartphone.

What are some ways to change column width? Check all that apply.
clicking and dragging the border between the column names
clicking and dragging the column letter
double-clicking a column, clicking Width, and then clicking OK
selecting a column, clicking the Format drop-down list in the Cells group, and then clicking AutoFit Column Width
right-clicking a selected column, clicking Column Width, typing the width in numbers, and clicking OK
selecting a column, clicking the Width drop-down list in the Format group, and then clicking AutoFit

Answers

Answer:

A D E are the right answers

Explanation:

Writa function to read content from "Zone. txt" and write it into another file "zone1. txt" by reversing each line if the line starts with A​

Answers

Answer:

You have specified no language. Here's an algorithm to follow with most platforms, my example is in NodeJS

const fs = require('fs');

let zone = fs.readFile('Zone.txt', 'utf8', function (err, data) {

 if (err) throw new Error(err);

 data = data.toString(); //convert the buffer to a string

 let lines = data.split("\n"),

       content = [];

 for (i in lines) {

   let l = lines[i];

   if (l.toLowerCase().startsWith("a")) l = reverseString(l);

   content.push(l);

 }

 content = content.join("");

 fs.writeFile('zone1.txt', content, , function (err) {

   if (err) throw new Error(err);

 }

});

function reverseString (str) {

   return str.split("").reverse().join("");

}

Explain how Icd 10 cm codes can help identify a patient’s health conditions?

Answers

The ICD-10-CM (International Classification of Diseases, Tenth Revision, Clinical Modification) is a system used by physicians and other healthcare providers to classify and code all diagnoses, symptoms and procedures recorded in conjunction with hospital care in the United States

why is updating your anti-virus a good thing?

Answers

Answer:

Antivirus vendors play a 'cat and mouse' game with malware creators. As malware is discovered definitions are written to discover the program and other programs written in a similar way. If an existing piece of malware is extensively rewritten or a new piece of malware is created, the existing malware definitions are unlikely to detect the program as malicious. This means that antivirus vendors have to find a 'sample' of the new malware being used and create a new definition for it. When you update your anti-virus these malware definitions are downloaded allowing your antivirus to detect this newer malware and keeps your computer secure from these newer threats.

Yes! It helps prevent any virus’s from happening and it’s power would be stronger to keep our viruses

2.
What does LAN stand for?
Little area network
Large area network
Local area network
O Locally available network

Answers

Answer:

Local Area Network

Explanation:

A computer network that links devices within a building or group of adjacent buildings, especially one with a radius of less than 1 km.

Option 3 (Local area network)

While working on a group project, you notice something does not look right in the presentation. You call a meeting with your team. At the meeting, everyone works together to identify what is missing, define what needs to be done, and assign tasks.
What is this called?

Answers

Answer:

Teamwork

Explanation:

What is the first step in setting paragraph or line spacing and their options?
Find the correct option that suits the situation.
Launch the Paragraph dialog box before doing anything
Select the text you wish to apply the setting to.
O Position the cursor at the beginning of the document.
W
ASAP

Answers

Answer:

Launch the paragraph dialog box before doing anything

The first step in setting paragraph or line spacing and their options is;

Option C; Select the text you wish to apply the setting to.

If we want to set up a paragraph of an existing statement in MS Word, the first thing we have to do will be to identify the particular text that requires the paragraph. This is because we cannot just use the tab key or indent option without a reference for what we want to paragraph.

Similarly, when we want to change the spacing of a text, depending on the spacing you want to use, you have to first select the text in which you want to apply the spacing. This is because if you click on the spacing you want without first selecting the text, the spacing will not be effected on the text you want.

Read more at; https://brainly.com/question/14135636



Tech A says that no matter which way the vehicle turns, the inside wheel must always turn less sharply than the outside wheel. Tech B says that the

Ackermann principle angles the steering arms toward the center of the rear axle. Who is correct?


A Tech A


B Tech B

C Both A and B


D Neither A nor B

Answers

D would hxh vigil be correct

The Ackermann level of a vehicle's steering geometry is expressed as a percentage, with 100% Ackermann denoting that the angle of steer difference between the inside and outside tyres exactly matches the geometric low-speed turn center. Ackermann or Anti-Ackermann are rarely used in full force in racing vehicles. Thus, option B is correct.

What Ackermann principle angles the steering arms?

In the picture on the left, the steering arms are slanted inward to provide a way for the wheel angles to change more slowly. This causes the wheels to turn at an uneven angle and is the basis of the Ackerman Steering Principle.

As you turn the wheel, the steering wheel's shaft also revolves. This then rotates the pinion, which is situated on top of the rack. While the tie rod is moved by the rotation of the pinion, the rack moves linearly. The tie rod connected to the steering arm then causes the wheel to revolve.

Therefore, Ackermann principle angles the steering arms toward the centre of the rear axle.

Learn more about Ackermann here:

https://brainly.com/question/29676606

#SPJ5

Lower doses blank causes confusion and memory loss and hallucination

Answers

The guy above me is correct use him or her :)

Which option lists the correct steps to apply a style?

A. Select the text, click the Home tab, and in the Styles Gallery, click to select a style to apply.
B. Select the text, click the Insert tab, and in the Formatting Gallery, click to select a style to apply.
C. Select the text, click the Home tab, and in the Font group, select a font, font size, and type to apply.
D. All of the options listed above are correct.

Answers

Answer:

B

Explanation:

just took the test

Answer:c

Explanation:

7

A CD holds 650 MB of data. A DVD holds 4 GB of data. How many CDs would you need

to equal one DVD

Answers

Answer:

Number of CDs = 7

Explanation:

We know that

1 GB = 1024 MB

So it means the 4 GB of data can be interpreted as:

4 GB = 1024*4 MB

4GB = 4096 MB

So a DVD hold 4096 MB of data while a CD holds 650 MB of data.

We need to find how many CDs could hold 4096 MB of data, to make it equivalent to a DVD

Number of CDs = 4096/650

Number of CDs= 6.3

As a CD can not be 0.3, a whole 1 CD will be used.

Number of CDs = 7

waste water cannot be reversed? f or true​

Answers

Answer:

yes

Explanation:

Recycling, reducing waste and reusing can prevent pollution, because it reduces the need to harvest new, raw materials. It can also help reduce greenhouse gas emissions , save energy and allows products to be used to their fullest extent while reducing waste.

Answer:

true

Explanation:

Which method is the quickest for removing multiple different indent types applied to a paragraph?
O Drag the left and right indent markers back to their respective positions against the page margins.
O Launch the Paragraph djalog box and clear the values for the left and right indents and set Special indents to "none."
O Press Ctrl+Q on your keyboard to clear paragraph formatting.
O Click the indent markers and drag them off the horizontal ruler.
Mark this and retum
Next
Submit ASAP

Answers

Answer:

c

Explanation:

Press Ctrl+Q on your keyboard to clear paragraph formatting is the quickest for removing multiple different indent types applied to a paragraph.

What is paragraph?

A paragraph is a self-contained unit of speech in writing that addresses a certain subject or idea. Though paragraphs are not needed by the orthographic standards of any language with a writing system, they are a common way of structuring long portions of prose. The earliest classical British and Latin writing was boustrophedon, with little or no gap between words. Text direction (left to right) became standardised over time, as did word dividers and terminal punctuation.

To delete the paragraph's formatting, press Ctrl+Q. The Ctrl+Q key in various programmes can be used to terminate the programme or close the programme window. To utilise the keyboard shortcut Ctrl+Q, press and hold either Ctrl key on the keyboard, then press the "Q" key with either hand while continuing to hold.

So, C is correct.

To learn more about paragraph
https://brainly.com/question/27243200

#SPJ2

Organisms are classified as producers or consumers acorrding to the way they
A)obtain
B)release wastes
C)produce offspring
D)move from place to place

Answers

A)obtain
as the rest are irrelevant to the given options and cannot be classified as release waste produce offspring or move from place to place are classifications of biotic or abiotic

There are 30 students in Alison's math class. She wants to bring 3 gallons of
juice to the end-of-year celebration. If each gallon of juice costs $5, how
much will Alison spend?
O A. All the information is needed.
B. Alison wants to bring 3 gallons of juice.
O
C. Each gallon of juice costs $5.
D. There are 30 students in Alison's math class.​

Answers

The answer is d there are 30 students in alisions math class and it’s how it goesss

1. The precious metals needed to make computer chips, graphic cards, and transistors are found in only a small population of countries. What economic implications does this have for the countries that have these metals to mine?

Answers

Answer:

it means that they can charge companies to come mine it making them more wealthy they can also upscale the materials needed to make it as they are the only countries that sell it so they have no one to compete with

According to data from the UN, China produces the most semiconductor chips worldwide. China has developed into a significant worldwide production hub for microelectronics, and the electronics value chain, which encompasses consumer electronics and ICT, has become more regionalized over time.

Which industries are affected by chip shortages?

Numerous industries are impacted by the scarcity of semiconductor chips, including automotive, data centers, video games, and others. You probably learned about the global scarcity of semiconductor chips or were personally impacted by it if you were considering buying a new or used car over the past 18 months.

In 2021, experts predict that the worldwide chip shortage will cost the American economy $240 billion. The Commerce Department reports that some American manufacturers have inventory that is only good for a few days. A chip scarcity is generating major problems at Optimal Design, which is located near Chicago.

Learn more about Computer Chips here:

https://brainly.com/question/23261568

#SPJ2

What does a production possibilities curve represent?Which of the following statements are true? Economic stability means fair distribution of goods in an economy. Full employment is a macroeconomic goal. Inflation is a fall in the prices of goods and services. Inflation is a rise in the prices of goods and services. Microeconomics studies the economy as a whole.

Answers

Answer:

What does a production possibilities curve represent?

The Production Possibilities Curve (PPC) is a model used to show the tradeoffs associated with allocating resources between the production of two goods. The PPC can be used to illustrate the concepts of scarcity, opportunity cost, efficiency, inefficiency, economic growth, and contractions.

Which of the following statements are true?

Full employment is a macroeconomic goal.

Answer:

Full employment is a macroeconomic goal.

Inflation is a rise in the prices of goods and services.

Explanation:

Dell XPS 15 or MacBook pro 13?​

Answers

Answer:

MacBook Pro 13

Explanation:

Mostly cause of the brand.

And also I have a MacBook pro

Answer:

I think I would pick a MacBook Pro 13

Explanation:

The reason why is because personally I like apple products alot and Im not saying that Dell products are bad but I think apple products are just better. Also they do look the same but its really up to you to decide which brand you like better. If  you had more experince with one brand you might want to stick with it or if you have experinced with both brands you should decide which you liked better.

Higher resolution images mean they can be enlarged better,
True or false

Answers

Answer:

False

Explanation:

High resolution just mean It looks better

False: Higher resolution images doesn’t mean they can be enlarged better

An employee believes there is an imminent danger situation at her workplace. She contacts OSHA to report the safety hazard. Her employer finds out that she has reported the issue and threatens to fire her. Which of these is a correct statement about the situation?

Answers

Answer:

Here's all I know

Explanation:

OSHA stands for the Occupational Safety and Health Administration, an agency of the U.S. Department of Labor. OSHA's responsibility is worker safety and health protection. The U.S. Congress created OSHA under the Occupational Safety and Health Act of 1970 (the OSH Act). Congress passed the law and established OSHA "to assure so far as possible every working man and woman in the nation safe and healthful working conditions and to preserve our human resources.

OSHA began because, until 1970, there were no national laws for safety and health hazards.

6. One 15 A general-purpose circuit should be installed per how many square feet of floor space?

O A. 750

OB. 400

O C. 600

O D. 500

Answers

Answer:

It will be as 600 square feet is the most satisfying

Answer:

Your answer option is C) 600

What are some of the current trends in fashion?
For women,____tote bags and high-heeled sandals are popular now. For men, ____colors are the new trend. Bomber jackets and prints are also a fad among ____.

1.oversized
Tattered
Pocket sized

2.muted
Pastel
Bright

3.men
Women
Children

Answers

Answer:

1. pocket sized

2. muted

3. children

Full Paragraph :

For women, pocket sized tote bags and high-heeled sandals are popular now. For men, muted colors are the new trend. Bomber jackets and prints are also a fad among children.

Yeah that's basically the new trends in fashion. =v=  

I think its oversized, bright and men but i may be wrong sorry

There are several vehicles in a parking lot. Some of them are motorcycles
(with 2 wheels), and some are cars (with 4 wheels). There are 11 vehicles in
the lot, and there are 34 wheels. How many vehicles of each type are in the
lot?
O A. 7 motorcycles and 5 cars
B. 5 motorcycles and 6 cars
C. 6 motorcycles and 5 cars
D. 4 motorcycles and 7 cars​

Answers

Answer:

The answer is 34.

Explanation:

Look at the pic.

Answer:

B

Explanation:

5*2=10

6*4=24

24+10=34 wheels

5+6=11 vehicles

pls mark brainliest

When entering data in Access if the data is entered using an Access form, that data is stored in a table or tables. TRUE FALSE

Answers

Answer:

The answer is true, the data is stored in tables.

In which case will the linear search return the lowest value faster than the
binary search?

Answers

Answer:

A linear search is one that scans every record/file until it discovers the value being searched for.

Binary search, on the other hand, is also known as Logarithmic search. It is used to locate the position of a value inside an array that has already been sorted.  

The linear search will return the lowest value faster than the binary search when small arrays are involved.

This will only be feasible when the array is sorted prior.

Cheers!

A5.3 1012 kg satellite is 1,800 m from another satellite that has a mass of 3.5 x 108 kg. What is the gravitational
force between the satellites?
3.82 x 104N
6.87 x 107 N
5.72 x 1014 N
0 1.03 x 1018 N​

Answers

Answer:

[tex]F = 3.82 * 10^4N[/tex]

Explanation:

Given

Mass of satellite 1 = 5.3 * 10¹²kg

Mass of satellite 2 = 3.5 * 10⁸kg

Distance between them = 1,800 m

Required

Gravitational Force between them.

The gravitational force between them is calculated as thus;

[tex]F = \frac{Gm_1m_2}{r^2}[/tex]

Where G = Gravitational Constant

[tex]G = 6.67408 * 10^{-11} Nm^2/kg^2[/tex]

[tex]m_1 = 5.3 * 10^{12}kg[/tex]

[tex]m_2 = 3.5 * 10^8kg[/tex]

[tex]r = 1800m[/tex]

Substituting these values in the above formula;

[tex]F = \frac{Gm_1m_2}{r^2}[/tex] becomes

[tex]F = \frac{6.67408 * 10^{-11} * 5.3 * 10^{12}*3.5 * 10^8}{1800^2}[/tex]

[tex]F = \frac{6.67408 * 5.3 * 3.5 * 10^{-11} * 10^{12} * 10^8}{1800^2}[/tex]

[tex]F = \frac{123.804184 * 10^{9}}{3240000}[/tex]

[tex]F = \frac{123804184000}{3240000}[/tex]

[tex]F = 38211.1679012[/tex]

[tex]F = 3.82 * 10^4N[/tex] ---- Approximated

Hence the gravitational force between them is [tex]3.82 * 10^4N[/tex]

What process is a project manager doing when she or he defines and documents the stakeholders' needs to meet the project objectives?

Answers

The person is organizing the docs
Other Questions
The nucleus in both plant and animal cells specializes the cells so they can do different things- for example, a liver cell or a muscle cell do different things. Thinking about plants or trees, what special functions might different cells in a tree or plant do? Tropical rainforests are located in _______. a. Europe b. Southeast Asia c. North America d. none of the above Please answer this correctly Rewrite each of the following questions as a statistical question. I WILL GIVE BRAINLIEST!!a. How many pets does your teacher have?b. How many points did the high school soccer team score in its last game?c. How many pages are in our math book?d. Can I do a handstand? Find the 7th term of the geometric sequence a3 =128,r=-1/4 A start-up news company is looking to expand their audience and is interested in studying the how many adults regularly use social media as a source of news. According to the Pew Research Center, 62% of adults get their news from social media, but researchers want to determine of this proportion is actually greater than 62% in region they plan on advertising on.They take a random sample of 200 adults in the region they are interested in advertising in and what they use to typically get their news. A total of 137 adults reported regularly getting their news from social media.The point estimate for this problem is: (report your answer to 3 decimal places)Checking Conditions: We are told that the sample was randomly selected. Are the other conditions met to perform a hypothesis test for p?A) Yes, the sample size is greater than 30.B) Yes, there are at least 10 adults saying they get their news from social media and at least 10 that do not.C) Yes, the population standard deviation is known.D) No, the population mean is unknown. What do the stage directions in a play tell the reader?how long the play will be and how the plot is divided into sectionswho speaks each line of dialogue and in which order in a sceneO who will be appearing in each act of the play and who they areO the setting, the characters' actions, and the characters' expressions 4Which is a function of protein macromolecules?O A. Storing energy in bondsO B. Making codes for organismsO C. Making muscle tissueO D. Insulating organs in the body Here's a graph of a linear function. Write theequation that describes that function.Express it in slope-intercept form.Enter the correct answer. Fill in the blanks to complete each statement about weathering.Weathering is the breakdown of rocks into smaller particles called If a number is increased by 12 and then divided by 4, the result is 5. The algebraic equation is ?. The number is x= ? What is the surface area of a hemisphere with a radius 10 What is the point when earth is closest Select the correct text in the passage.Which sentence is a complex sentence?Time is not always change. Time can also mean continuity, and it can mean keeping acknowledged truths in mind despite differences incircumstances. There is no better example of this in Things Fall Apart than the retellings of the proverb about the bird named Eneke. The languagein both retellings is almost identical despite the length of time that has passed between their repetitions. In comparing the usages of the sameproverb, Achebe allows his readers to note the similarities and differences between the situations, and he helps them understand how this story canbe applied to their own lives. Carmen Camry operates a consulting firm called Help Today, which began operations on August 1. On August 31, the company's records show the following accounts and amounts for the month of August Cash Accounts receivable office supplies Land office equipment Accounts payable Dividends $25,370 Consulting fees earned 27,010 9,570 5, 620 880 530 102,100 22,370 Rent expense 5,260 Salaries expense 44,010 Telephone expense 20,020 Miscellaneous expenses 10,540 Common stock 6,020 Exercise 2-17 Preparing a statement of retained earnings LO P3 Use the above information to prepare an August statement of retained earnings for Help Today,( What are the equations of the asymptotes for the function?f(x)=3x/1 1vertical asymptote: x= horizontal asymptote: y= Psychologists take as their subjects the entire spectrum of human beings as well as animals.TrueFalse What effect does the description of the changing radio stations have on this story? a) It shows how indecisive Jason's father is. b) The different stations show the contrast between father and son.c) It slows the pace of the long trip the father and son are taking. d) The music provides a relaxing background to Jason's thoughts. A child is shown covered in itchy bug bites after using an inferior bug spray. Is this an example of Ethos, Pathos, or Logos?A LogosB EthosC None of the aboveD Pathos hi how old am i What is the dominant religion in North and South America? A. Islam B. Judaism C. Hinduism D. Christianity Please select the best answer from the choices provided