Compare commits

..

No commits in common. "8aabc3f235e2b2581f8b4c4d7b664f70887c36fd" and "4fac1b1511d83e3c1db4fa8b782e7dd16b9e3b1b" have entirely different histories.

12 changed files with 6 additions and 6 deletions

View File

@ -1 +1 @@
HappyBirdMain.java HappyBird.java

View File

@ -3,11 +3,11 @@
<?import javafx.scene.image.*?> <?import javafx.scene.image.*?>
<?import javafx.scene.layout.*?> <?import javafx.scene.layout.*?>
<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"> <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">
<ImageView> <ImageView>
<image> <image>
<Image url="@pics/Background.png" /> <Image url="@screen.png" />
</image> </image>
</ImageView> </ImageView>

View File

@ -20,7 +20,7 @@ public class HappyBirdMain extends Application {
@Override @Override
public void start(Stage stage) throws IOException { public void start(Stage stage) throws IOException {
FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("happyBird.fxml")); FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("happyBird.fxml"));
Scene scene = new Scene(fxmlLoader.load(), 800, 700); Scene scene = new Scene(fxmlLoader.load(), 578, 700);
stage.setTitle("HappyBird"); stage.setTitle("HappyBird");
stage.setScene(scene); stage.setScene(scene);
stage.show(); stage.show();

View File

@ -3,11 +3,11 @@
<?import javafx.scene.image.*?> <?import javafx.scene.image.*?>
<?import javafx.scene.layout.*?> <?import javafx.scene.layout.*?>
<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"> <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">
<ImageView> <ImageView>
<image> <image>
<Image url="@pics/Background.png" /> <Image url="@screen.png" />
</image> </image>
</ImageView> </ImageView>