Compare commits
2 Commits
4fac1b1511
...
8aabc3f235
Author | SHA1 | Date | |
---|---|---|---|
8aabc3f235 | |||
4e7b664325 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2
Happy_Bird/.idea/.name
generated
2
Happy_Bird/.idea/.name
generated
@ -1 +1 @@
|
||||
HappyBird.java
|
||||
HappyBirdMain.java
|
Binary file not shown.
Binary file not shown.
@ -3,11 +3,11 @@
|
||||
<?import javafx.scene.image.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
|
||||
<VBox prefHeight="578.0" prefWidth="700.0" xmlns="http://javafx.com/javafx/11.0.2" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.example.happy_bird.HappyBird">
|
||||
<VBox prefHeight="800.0" prefWidth="700.0" xmlns="http://javafx.com/javafx/11.0.2" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.example.happy_bird.HappyBird">
|
||||
|
||||
<ImageView>
|
||||
<image>
|
||||
<Image url="@screen.png" />
|
||||
<Image url="@pics/Background.png" />
|
||||
</image>
|
||||
</ImageView>
|
||||
|
||||
|
Binary file not shown.
@ -20,7 +20,7 @@ public class HappyBirdMain extends Application {
|
||||
@Override
|
||||
public void start(Stage stage) throws IOException {
|
||||
FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("happyBird.fxml"));
|
||||
Scene scene = new Scene(fxmlLoader.load(), 578, 700);
|
||||
Scene scene = new Scene(fxmlLoader.load(), 800, 700);
|
||||
stage.setTitle("HappyBird");
|
||||
stage.setScene(scene);
|
||||
stage.show();
|
||||
|
@ -3,11 +3,11 @@
|
||||
<?import javafx.scene.image.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
|
||||
<VBox prefHeight="578.0" prefWidth="700.0" xmlns="http://javafx.com/javafx/11.0.2" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.example.happy_bird.HappyBird">
|
||||
<VBox prefHeight="800.0" prefWidth="700.0" xmlns="http://javafx.com/javafx/11.0.2" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.example.happy_bird.HappyBird">
|
||||
|
||||
<ImageView>
|
||||
<image>
|
||||
<Image url="@screen.png" />
|
||||
<Image url="@pics/Background.png" />
|
||||
</image>
|
||||
</ImageView>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user