697 B
697 B
Tutorial: {{id}} step by step
Write here, in order, how a game author uses this extension from nothing to a working result. One ## Step per action, short
text, the code to type, and what they should see. This file is the Tutorial button of the extension's page on jumphp.net
(without it, the page builds a tutorial from the samples).
Step 1 - Add the extension
bin/jumphp extension:add <game> <vendor>/{{id}}
Step 2 - Ask for the service in a scene
public function __construct(private Flash $flash) {}
Step 3 - Use it
Explain the call, then say what appears on the screen.
Step 4 - Check it
bin/jumphp test <game>
bin/jumphp shot <game>