To show what I have done in the works
[1]
[2]
× [PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。
I cut a part of a game - FreeStyle by my character "The Final of Alley-Oops" and made a 150 px * 150 px graphic. I edit it with PhotoShop CS2.
Motion Blur and double layer for the bigger shadow, Gaussian Blur for the background. PR
This time I made the Fighters Universe is the upgrade version of Text Fighter, it has four players, Ho Yin, Justin, Boss Florence and Boss Janice.
I use the "extends" in the BossPlayer class, and it extends by the Player class. For the Boss Player : public void setPower( int power, int difference ) { if ( difference < 0 ) this.power = (power+( difference / 2 )); else this.power = (power+( difference * 2 )); } If they get hurt, their damage will get half, in case, they hit to the other players they will gain a double power. Download the file: 1.BossPlayer.class 2.BossPlayer.java 3.FightersUniverse.class 4.FightersUniverse.java 5.Player.class 6.Player.java You can see the code in here.
I am using the Notepad++ for editing the programme.
Here is the download link for the installer: Notepad++ Ver4.4 And you can go though to offical web site of Notepad++.
Table of Multiplier (乘數表) , each of you must know it.
I use array to make it up. Array is starting at 0, so I made: int array[] = new int[ 11 ]; (line 10) 11 is the value to show "10". (Please see downward) And I set: for ( int counter = 1; counter < array.length; counter++ ) (line 23) int counter = 1, this is setting for the value to show the starting value. For 0 and 1 are no meaning to remember, so I start from 2 to 9. But the code is not 100% the best, welcome to discuss! Update at 2007/10/26: Multiplier2 is using two for loop to make, and it is more simple than the first one. Download the file: 1.Multiplier.class 2.Multiplier.java 3.Multiplier2.class 4.Multiplier2.java You can see the code in here.
I used the Java program to design a text game, Text Fighter.
In the game, I designed two characters, Davis and Kim. They will be randomly to fight, if one of them the Power (Health Point / HP) is lower than zero, the game will stop and finish. There is a example in downward. Download the file: 1.Player.class 2.Player.java (update: 21-10-07) 3.PlayerTest.class 4.PlayerTest.java You can see the code in here.
次のページ>>
|
Date
Freearea
New Event
(12/18)
(12/11)
(10/25)
(10/25)
(10/18)
Blog Search
|