Tutorial: Drag Drop Game (Delphi 10 Seattle, FireMonkey XE9) on Win 10
Автор: Quark Cube
Загружено: 2016-04-09
Просмотров: 15069
Описание:
DISCLAIMER: This video is boring to the average YouTube viewer.
Even with drag and drop to blaspheme make a game. We show buttons animations. We create a trigger for animations. And we play a bit.
Keys: TRectAnimation FloatAnimation Trigger IsOK=True StartTriggerAnimation
The game is a little hard. My son made the time to 2 seconds and played well. That was natural. The point is, do the good races thereof.
0:00 Overview
0:42 Start Delphi and go
1:09 Save the project
1:23 Create the UI with Layout, GridLayout, Label and so on
5:12 Add StyleBook
5:23 Select and apply the "EmeraldCrystal" style for Windows
5:36 Feed and preset a Master Button (Button1) to the GridLayout
6:06 Creating the "Game Over!" Page with animation for Rectangle
10:07 Back to create game
10:17 Master Button (Button1) DragMode to dmAutomatic for DragDrop, DragOver
11:18 Create animation for Master Button (Button1) for RectAnimation (Margins) and FloatAnimation (Font.Size)
12:50 The Master Button is multiplied (20 Button)
13:43 Give the app an OnCreate procedure
14:02 The scoreboard gets an animation
15:55 Create trigger for IsOk for TButton class (only up to Delphi Seattle)
17:52 Master Button (Button1) Set events for DragDrop and DragOver
19:35 We test DragDrop
20:09 Layout must have HitTest = True for DragDrop
20:29 The Master RectAniamtion1Finish has yet to be determined
21:16 Manage score and high score for display
24:27 Create and test the game loop
31:27 Setting the "Game Over!" side
33:37 Creating and testing game data save and load methods
36:40 Set the app caption
36:54 We test the app "DragOver"
38:17 Select and apply the style "CoralCrystal" for Windows, then we test the app
39:09 Select style "Copper" for Windows and accept, then we test the app
40:08 Select style "CoralDark" for Windows and test again
41:28 We're done
https://twitter.com/hashtag/WhyIChoos...
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: