Program the Canvas Control 2 with Xojo (XDL-0008)
I Wish I Knew How To... Program the Canvas Control 2 with Xojo Desktop will provide you with the ability to learn how to modify pictures, graphics, make animation, and how to make two games.
The focus of this book is to work with topics related to the Canvas Control. All of these examples are created with native Xojo code and does not use any third party programs. The examples have been tested on Windows 10, OS X Mojave 10.14.3, and Ubuntu 18.04 Operating Systems.
By the time you finish the book you will be able to apply skills from these examples to create your own programs!
Examples were tested on Xojo 2018r4. There is an older Canvas book that has legacy code for Xojo 2014r2 that works without the changes in the Xojo Language.
Goals of the newer updated Canvas 2 book:
* Most drawings are drawn in the Paint event with the Graphics property
* Drawing speed has been increased
* Windows calls the paint event with Invalidate(False) to improve speed and prevent erasing the canvas
* Most examples have been converted to double data-types for drawing locations on the canvas
* Faster RGBSurface.Pixel drawing has been updated from the older graphics. Pixel method (deprecated since 2016 r1)
* Added basic sound in the Space Ship Shooter game
* Removed most PBuffer picture properties and replaced with algorithms to draw in the Paint event (some examples required this property to exist)
* Removed GDIPlus from Windows examples
* Added a couple HiDPI/Retina Examples
* Increased resolution of example screen grabs
* Used the more popular TargetWindows instead of TargetWin32 command
* Added PDF bookmarks for easier reference
* Attempts were made to maintain the same output of the original examples from the first Canvas book to the second Canvas book
What is included with the purchase of this book:
Thirteen chapters and over 450 pages of code to build 60 example programs. Create realistic 2D game motion. It also includes example images and the ways to use them in programs. The book is in PDF format with example chapter folders containing Xojo source code and running examples.
The ebook is a pdf formatted document and all examples include Xojo code. The Table of Contents can be viewed for this book at the authors website (https://scispec.ca)
ISBN: 978-1-927924-24-2