Category: Having Fun With Graphics
-
Programming in Alpha Software Magic Cube Lesson 3
—
by
in Append, batch_Begin, Changing Object Property Values, Declaring Variables on a Form, Design Document, Desktop Application, External_Record_Content_Get, Fetch, fetch_Next, Form as Dialog, Form Design, Form Load Method, Games, Handling Errors, Having Fun With Graphics, Hot Spots, How To, List Object, List Objects, Object Explorer, Object Method, ON Change, On Event, On Init, On Push, Operations, Pong, Table Open Method, tablecount, Tables and Sets, TC Magic Cube, Using Images on Forms, XBasic Tips and TricksThe primary focus for today’s session is how to animate the cube moves. If you saw my lesson on Having Fun with Graphics: Pong you know we can move objects on the screen by changing their position property value. We are not going to do that here. Instead we are changing the color value of…
-
Programming in Alpha Software: Magic Cube Lesson 2
—
by
in Changing Object Property Values, Declaring Variables on a Form, Desktop Application, External_Record_Content_Get, Fetch, fetch_Next, Form Design, Form Load Method, Games, Having Fun With Graphics, Hot Spots, How To, List Object, List Objects, Object Explorer, Object Method, On Arrive, On Event, On Push, Table Open Method, Tables and Sets, TC Magic Cube, Using Eval function, Using goto label, Using If Else if, Using Images on Forms, Writing Array’s, XBasic Tips and TricksWe left off our last session looking at the code for our onInit event of our form. The code was 164 lines long and somewhat redundant. To fix this we are going to use two functions in Alpha Software Array Eval If you look back at the previous code insert, You will see the naming…
-
Programming in Alpha Software: Magic Cube App Lesson 1
—
by
in Append, Changing Object Property Values, Conditional Object, Declaring Variables on a Form, Design Document, Desktop Application, Form as Dialog, Form Design, Form Load Method, Games, Having Fun With Graphics, Hot Spots, How To, List Object, List Objects, Object Explorer, Object Method, On Event, On Init, Operations, Table Open Method, Tables and Sets, TC Magic Cube, Using Eval function, Using Images on Forms, Writing Array’s, XBasic Tips and TricksNow that we have completed our lesson on the Sudoku Puzzle Game we are moving on to a Magic Cube Application. As I mentioned at the end of our previous lesson, my granddaughter recently got a Rubix Cube and asked me for help in solving it. I don’t want to actually solve the cube for…
-
PC Desktop: Embedding a progress bar in a form
—
by
in Changing Object Property Values, Conditional Object, Declaring Variables on a Form, Desktop Application, Fetch, fetch_Next, Form Design, Form Load Method, Handling Errors, Having Fun With Graphics, How To, List Object, List Objects, Object Explorer, Object Method, On Event, On Push, Using If Else ifHello Everyone I was looking at the Alpha Message Board today and saw a closed thread where the user was looking for help creating an embedded progress bar on their application form. Several people replied but none actually answered the query and now the thread is closed so I thought I would do a quick…
-
Programming in Alpha Software Lesson 02
Memory: We started our previous session by looking at the purpose of applications and how our senses play a part in the conception of new software programs. We looked at the function Lookup() and how it is used to find and copy data from one source to another for use by our application. We also…
-
Incorporating xBasic in Form Design: 08
—
by
in Changing Object Property Values, Conditional Object, Desktop Application, dir_put, Fetch, fetch_Next, Form Design, Having Fun With Graphics, How To, Object Explorer, On Event, On Fetch, On Push, sys_shell, Table Open Method, Tables and Sets, Using Eval function, Using If Else if, XBasic Tips and Tricks, xDialogHello everyone Today we will continue our session on incorporating xBasic into our form design in Alpha Software by looking at the Application Launcher module in our TakeCharge Desktop v2 software written in Alpha Software v5. Before we get into the details of how this module works, I have included a short video demonstrating how…
-
Programming Chess in Alpha Software: A New Perspective
Hello Everyone Hope the holiday season is going well for all of you. It’s been a while since my last post and that has been because I am not having the success with the direction I am taking on my min/max program that I had hoped for. For example; If white opens with e4…
-
Programming Chess in Alpha Software: Lesson6
—
by
in Changing Object Property Values, Desktop Application, External_Record_Content_Get, Fetch, Form Design, Form Load Method, Games, Having Fun With Graphics, How To, List Objects, Object Method, On Event, On Fetch, On Init, On Push, Programming A Chess Game, Record List Combo, Table Open Method, Tree View, Using If Else if, Using Query’s, Writing Array’s, XBasic Tips and TricksHello Everyone Today we will be looking at the opening book for our chess program and the code for all the functions related to the opening book. Before we begin please take a moment to watch this short video which demonstrated the use of the opening book and the new features we are adding to…
-
Programming Chess in Alpha Software: Lesson5
Hello Everyone Today we are looking at the changes to our code affecting WhitesBoard and BlacksBoard. These two routines provide a list of each piece on the board which is available to move and where it can move to. The changes I made process these list to create values needed in scoring the game as…
-
Programming Chess in Alpha Software: Lesson 4
Hello Everyone In our last lesson we showed a video demonstrating the chess program in action with a human playing both Black and White. As I commented in the lesson, the code is growing and starting to become unmanageable. The code does work, but it fails in a major way. The available data strings are…