After nearly two years of unremitting efforts, the author's original book "image programming in actionscript3 games" finally ended up perfectly today! This record my years of experience in game production, especially image processing. Although the language used is currently potentially declining actionscript3.0, it is far more meaningful than the ActionScript itself because of its profound programming ideas and practical skills. You can easily migrate the knowledge you have learned from this book to other development languages that support image programming (I also want to rewrite it in another language, but I am not enough effort ).
In addition, this book also contains some color matching knowledge, which is helpful for improving the programmer's aesthetic level and improving the quality of game products!
The following is a part of the book's contents, which will be updated in the future. Stay tuned!
Directory (links can be clicked)
Preface
1. the purpose and target audience of this book
2 book content and Arrangement
Three conventions in this book
4. Development Environment Configuration
Chapter 2 interpreting colors
1.1 RGB mode, argb mode and its operations
1.1.1 RGB mode and its operations
1.1.2 relationship between the argb mode and opacity in Flash
1.2 colortransform operation and application of RGB values
1.2.1 writing RGB Test Cases
1.2.2 test the initial effect and color attributes
1.2.3 Linear/multiplier increase brightness reduction
1.2.4 Linear/multiplier variation of a single channel
1.2.5 colortransform deficiencies in Color Processing
1.2.6 Alpha test case writing
1.2.7 linearly increase or decrease the Alpha Value
1.2.8 set alpha
1.2.9 use colortransform to implement reversed colors
1.3 HSB mode and its conversion to RGB
1.3.1 HSB color space model and its branches
1.3.2 how to implement the HSB color space model using the color picker in the software
1.3.3 interchange Formulas Between HSB and RGB and similarities and differences between HSL and HSV on color attributes
1.3.4 Implementation of the mutual conversion formula between HSB and RGB using ActionScript
1.4 relationship between brightness and gray/brightness
1.4.1 concept of gray/brightness and Its similarities and differences with HSB brightness
1.4.2 grayscale Calculation Method
1.4.3 use grayscale/brightness to guide Color Matching