Category: TC Magic Cube
-
Programming in Alpha Software Magic Cube Lesson 4
—
by
in Append, batch_Begin, Declaring Variables on a Form, Desktop Application, External_Record_Content_Get, Fetch, fetch_Next, Fetch_Prev, 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 Arrive, ON Change, On Event, On Fetch, On Push, Table Open Method, Tables and Sets, TC Magic Cube, Using Images on Forms, XBasic Tips and TricksAt the end of our last session we were looking at the code for the onPush event of our ‘Open Move Tracker’’ button. form.load(“TC_MC_MoveTracker”,”dialog”,””,”right”,”middle”) TC_MC_MoveTracker.Activate() TC_MC_MoveTracker.Show() TC_MC_MoveTracker.close() if CName <> “” then movestate = “Return” dim record_count as N t = table.open(“tcrubixmoves”) t.fetch_first() record_count = t.records_get() t.fetch_last() for…
-
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…
-
Programming in Alpha Software Lesson 6: Append Operation
We are starting off this lesson by finishing our Sudoku Puzzle Solver Application. When you select New Puzzle on the form, you are presented with the following dialog. We have reviewed the code for generating a Computer Generated Game Standard and now we will review; Manual Entry from Book Your Saved Puzzles Manual Entry…