此内容来自第三方平台 (Dailymotion)。如果此视频侵犯了您的版权,请使用 立即删除 工具。
Create 2D animation Bouncing Ball with Java code
描述
Amazing Java 2D Animation you can make today (bouncing ball animation)
I have created many 2D animations including my own interactive resume, Android Apps, games and many more. It is time for me to show you how you too can create your own animation, Apps and games with Java. It is easy and needs some of your time to dedicate and learn Java to creat the future.
Watch the video for details on the three files that must be downloaded from the first comment below.
1. Create Java Project, with Eclipse and call it Animation, or whatever.
2. Create Main Class: Main.java
3. Creat two seperate classes: MyFrame.java and MyPanel.java
4. Copy the three files into their proper locations per the files you created above.
5. Make sure you have added the libraries into Eclipse from Oracle.
6. You need two png images to paste in the folder which Eclipse IDE created for you. Download those two images from the following link:
Download "enemy.png" from: https://ibb.co/3mjhHpD
Download "space.png" from: https://ibb.co/qN51XS1
7. Make sure the above images with proper names and extensions are associated to the Java code in the first comment below.
Your code should run properly on Eclipse if you follow the above steps.
If you have problem running the code or downloading the png images then comment below with your questions.
Like and subscribe for more videos like this, and advanced ones as well.
Firas Faham
=
=
I have created many 2D animations including my own interactive resume, Android Apps, games and many more. It is time for me to show you how you too can create your own animation, Apps and games with Java. It is easy and needs some of your time to dedicate and learn Java to creat the future.
Watch the video for details on the three files that must be downloaded from the first comment below.
1. Create Java Project, with Eclipse and call it Animation, or whatever.
2. Create Main Class: Main.java
3. Creat two seperate classes: MyFrame.java and MyPanel.java
4. Copy the three files into their proper locations per the files you created above.
5. Make sure you have added the libraries into Eclipse from Oracle.
6. You need two png images to paste in the folder which Eclipse IDE created for you. Download those two images from the following link:
Download "enemy.png" from: https://ibb.co/3mjhHpD
Download "space.png" from: https://ibb.co/qN51XS1
7. Make sure the above images with proper names and extensions are associated to the Java code in the first comment below.
Your code should run properly on Eclipse if you follow the above steps.
If you have problem running the code or downloading the png images then comment below with your questions.
Like and subscribe for more videos like this, and advanced ones as well.
Firas Faham
=
=
关键词与标签
相关视频
Java Programming Tutorial - 50 - Graphical User Interface GUI
JOptionLearn
#technology #tech #innovation #engineering #business #iphone #technews #science #design #apple #gadgets #electronics #android #software #programming #smartphone #bhfyp #samsung
shahgf89
Introduction ("Robust Qt5 & C++ Gui Programming: 2D Graphics Tutorial")
Dan Munteanu
Bouncing Ball Animation In C# Windows Form App - Programming Concepts
Programming Concepts
Java Programming Tutorial - 51 - GUI with JFrame
JOptionLearn
Java Programming Tutorial -18- (In Urdu) JOptionPane GUI
Muhammad.Muneeb