GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

29 results across 6 corpora for Code examples on MDN.

Encyclopedia 1

Site-specific browser

plications to be built using web technologies, effectively making them advanced site-specific browsers. ==History== ===Early development=== One of the earliest examples of an SSB was MacDICT, a Mac OS 9 application that accessed various websites to define, translate, or find synonyms for words typed into a text box. However, the first general-purpose SSB is considered to be Bubbles, which launched in late 2005 on the

e01 Encyclopedia · CC BY-SA 4.0 · https://en.wikipedia.org/w/index.php?oldid=1323308381

Books 6

The 1990 CIA World Factbook

de the flag state (when it functions as an FOC register). The Norwegian International Ship Register and Danish International Ship Register are the most notable examples of an internal register. Both have been instrumental in stemming flight from the national flag to flags of convenience and in attracting foreign-owned ships to the Norwegian and Danish flags. Merchant ship--A vessel that carries goods against pa

Project Gutenberg · Public domain in the USA · https://www.gutenberg.org/ebooks/14

The 1991 CIA World Factbook

de the flag state (when it functions as an FOC register). The Norwegian International Ship Register and Danish International Ship Register are the most notable examples of an internal register. Both have been instrumental in stemming flight from the national flag to flags of convenience and in attracting foreign-owned ships to the Norwegian and Danish flags. Merchant ship--A vessel that carries goods against pa

Project Gutenberg · Public domain in the USA · https://www.gutenberg.org/ebooks/25

The 1992 CIA World Factbook

de the flag state (when it functions as an FOC register). The Norwegian International Ship Register and Danish International Ship Register are the most notable examples of an internal register. Both have been instrumental in stemming flight from the national flag to flags of convenience and in attracting foreign-owned ships to the Norwegian and Danish flags. Merchant ship - A vessel that carries goods against paymen

Project Gutenberg · Public domain in the USA · https://www.gutenberg.org/ebooks/48

The 1993 CIA World Factbook

de the flag state (when it functions as an FOC register). The Norwegian International Ship Register and Danish International Ship Register are the most notable examples of an internal register. Both have been instrumental in stemming flight from the national flag to flags of convenience and in attracting foreignowned ships to the Norwegian and Danish flags. Merchant ship--A vessel that carries goods against payment

Project Gutenberg · Public domain in the USA · https://www.gutenberg.org/ebooks/87

The 1994 CIA World Factbook

de the flag state (when it functions as an FOC register). The Norwegian International Ship Register and Danish International Ship Register are the most notable examples of an internal register. Both have been instrumental in stemming flight from the national flag to flags of convenience and in attracting foreign owned ships to the Norwegian and Danish flags. Merchant ship--A vessel that carries goods against payment

Project Gutenberg · Public domain in the USA · https://www.gutenberg.org/ebooks/180

The 1995 CIA World Factbook

de the flag state (when it functions as an FOC register). The Norwegian International Ship Register and Danish International Ship Register are the most notable examples of an internal register. Both have been instrumental in stemming flight from the national flag to flags of convenience and in attracting foreign owned ships to the Norwegian and Danish flags. Merchant ship - A vessel that carries goods against payment

Project Gutenberg · Public domain in the USA · https://www.gutenberg.org/ebooks/571

Dictionary 4

examples

Wiktionary mirror (dictionary.db) · CC BY-SA 4.0 (Wiktionary dump) · https://en.wiktionary.org/wiki/examples

examplestan

a country; a hypothetical country

Wiktionary mirror (dictionary.db) · CC BY-SA 4.0 (Wiktionary dump) · https://en.wiktionary.org/wiki/Examplestan

examplestans

Wiktionary mirror (dictionary.db) · CC BY-SA 4.0 (Wiktionary dump) · https://en.wiktionary.org/wiki/Examplestans

examples in point

Wiktionary mirror (dictionary.db) · CC BY-SA 4.0 (Wiktionary dump) · https://en.wiktionary.org/wiki/examples in point

Papers 6

Wikidata 6

Developer library 6

Game development

L, CSS, and JavaScript. The [Learn web development](/docs/Learn_web_development) section is a good place to go to get started with the basics. ## Guides ## Examples For a list of web game examples, see our list of [Tutorials](/docs/Games/Tutorials). ## See also - [Game Programming Patterns](https://gameprogrammingpatterns.com/) - : An online book, written by Bob Nystrom, which discusses programming patterns

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Games

Move the ball

loading the ball asset and rendering it at the correct position as it moves. ## Having a ball Let's start by adding a property representing our ball to the `ExampleScene` class. Add the following line just after the opening line, inside the class body: ```js class ExampleScene extends Phaser.Scene { ball; // ... } ``` ## Loading the ball sprite With Phaser, loading images and printing them on our canvas is

Randomizing gameplay

velocity each time the `hitPaddle()` method is run using a line along the lines of the below. Add this new line to your code now, and try it out. ```js class ExampleScene extends Phaser.Scene { // ... hitPaddle(ball, paddle) { this.ball.anims.play("wobble"); ball.body.velocity.x = -5 * (paddle.x - ball.x); } // ... } ``` It's a little bit of magic—the new velocity is higher, the larger the distance

Physics

e instructions Remember to remove our old method of adding values to `x` and `y` from the `update()` method, i.e., restore it to the empty state: ```js class ExampleScene extends Phaser.Scene { // ... update() {} } ``` We are now handling this properly, with a physics engine. Try reloading `index.html` again. At the moment, the physics engine has no gravity or friction, so the ball will go in the given direct

Buttons

ether the game is currently being played or not, and another one to represent our button. Add these lines below your other properties definitions: ```js class ExampleScene extends Phaser.Scene { // ... previous property definitions ... playing = false; startButton; // ... rest of the class ... } ``` ## Loading the button spritesheet We can load the button spritesheet the same way we loaded the ball's wobbl

Track the score and win

and Phaser's `text()` method to print it out onto the screen. ## New properties Add two new properties right after the previously defined ones: ```js class ExampleScene extends Phaser.Scene { // ... previous property definitions ... scoreText; score = 0; // ... rest of the class ... } ``` ## Adding score text to the game display Now add this line at the end of the `create()` method: ```js this.scoreTex

JSON results · Services directory