back to ERHS CS
Learning to Program by Creating Games, Apps and Programs

    See how easy it is to learn to program with an interactive, graphical user interface and a more English-like language. You still have to write code (like Python, C++ or Java) but can be more creative, and productive. You can create useful programs, games and even apps while learning the underlying computer concepts, commands and logic.

    This website will help you get started with LiveCode and writing your game or app.You will also learn to write some really cool programs. It is for you to get started learning to program. It is designed for you to learn by doing. So get your hands dirty and do all the examples yourself. You will quickly feel at home with writing computer programs and understanding how it works.  
Soon you will be designing your own games and programs to put on your computers, tablets and smartphones. 
You will be amazed at what you can accomplish. 

Thank you for using this website, enjoy...
p.s. If you have any suggestions, changes or ideas, email me at cyril.pruszko@pgcps.org


Note: This site is continually being updated. So please come back often.  (and don't forget to REFRESH this page upon returning)

   

Background

LiveCode - about, info. and student examples:   
        About - what it is like, what you can do with it: LiveCode, What is it? - for Developers  *** RECOMMENDED ***
       Why Learn to Program?:  for Everyone - for Teachers 
       LiveCode? - why it is a better language choice than Python/Java: Why LiveCode? *** RECOMMENDED ***
       Main LiveCode Sites can be found at:  LiveCode.org and LiveCode.com 
       Resources (Lessons, Scripts, Tutorials, ...) found at: Resources and LiveCode - *** BOTH RECOMMENDED ***
       Hear from the Students (Videos) - as they demo and describe them, and see their awards,
                scholarships and achievements at - 2016-17 and 2015-16 - *** BOTH RECOMMENDED ***
       - Examples of Programs (some with code) can be found at:  Games/Utils,  Programs AppsCards,  
         and lesser ones at Educational GamesEdu Games 2Mazes

 
 

Getting Started:   Installing it and understanding the interface
1. Installation - installing it on your own computer
2. Background - how LiveCode works, understanding its design (objects, properties, messages)
*3. The Screens - the parts of LiveCode (Edit bar, Tool palette...) that you will be using **MUST READ**
*4. The Tools - the tools and objects (Edit/Run, buttons, graphics...) that you will be using **MUST READ**

Other resources for learning: BYU Lessons - LiveCode's Lessons - Dictionary .


Lessons:  
         
                                            

Legend

Colors used in the lessons
  
red       = recommended lesson #s as a minimum
blue/purple browser links to other webpages 
green   = LiveCode commands/messages 
orange = code samples and scripts

Step 1
- Basics
 
 - First Programs (at a minimum, just do the numbers in red)

  0 - Getting Familiar with the Interface and the Environment:
    0.0 - Starting with the Basics - an intro/review of the LiveCode tools and palettes in the IDE (Integrated Development 

  1 - Getting Started Programming - simple commands:
    1.0 - First Program - writing your first program 
    1.1 - Standalone Program - creating a Standalone - to give to your friends
    1.2 - Asking Questions (Answer, Ask, mouseUp, message box) - interacting with the user, writing programs
    1.3 - Making Decisions (If ... then ...end if, Answer...with- choices, different answers for different users
    1.4 - Backgrounds (Import- adding color and Interest to your program
           Practice - Interactive Programs (Ask, Answer, If) make fun programs for practice

  2 - More Basics - more commands, working with data:
    2.1 - Input/Output (Get, Put, text fields- getting info to/from the user
    2.2 - Objects (short, long and names- objects and how to identify them
    2.3 - Variables (Add, Subtract, Put, text fields- using variables to save information
           Practice - Magic Math Program (Put, text fields) - simple example of using text fields
           Practice - Useful Calculation Programs (Put, text fields) make useful programs for computer or cellphone
           Practice - Memory Game (target,short/long name,msg path) - shortcuts and tricks to use
    2.4 - Variables - Part 2 (Set, Get, local, global, custom properties- more on variables, custom properties

  3 - More Interactivity - more screens, actions:
    3.1 - Cards, Cards and More Cards (Go, Next, Previous) - adding screens (cards, levels, pages, etc) to your program
             Practice - Greeting Cards, Multi-Pages make an interactive greeting card, book, a slide show and more...
    3.2 - Changing Properties (Set, Show, Hide) - making your programs more interactive and dynamic
           Practice - More Greeting Cards (Play, Move, Set, Show, Hide) make fun cards that talk, sing and do things

    Problems- common mistakes and their solutions

    Practice - Misc. Projects and Learning Activities
          - Interactive Books - make books that talk, move and do things. (see Greeting Cards above for effects)
          - Coloring Books (message pathsmake a coloring book (see Greeting Cards for effects)
          - CountDown (Repeat- make simple Count Up and Count Down programs, more projects to try
          - Guessing Games (Repeat, Random, Exit- make a number guessing game
          - Animal Wizard (URL, Char, Item, lists- It knows many animals, learns new ones


   4 - Computer Science - Concepts, Constructs and Neat Stuff:
        Variables
          4.1 - Variables (Add, Subtract, Put, text fields- using variables to save information
          4.2 - Variables - Part 2 (Set, Get, local, global, custom properties- using variables to save information
  
        Objects
          4.3 - Objects -  (buttons, checkboxes, menus, short names, long names- useful info
 
        Fields
          4.4 - Advanced - Customizing text (HTMLText) - using HTML to change the look of text in messages and fields

        Messages
          4.5 - Advanced - mouseMessages (mouseMove, mouseLoc, ...)(code- mouse messages and functions

        Input/Output
           4.6 -  Reading/Writing Files - how to work with files
           4.7 -  I/O Reading Files - another viewpoint
           4.8 -  Using Data Files - Working with data files, sorting, randomizing
 
     Vocabulary and Review -  LiveCode Vocabulary - Review and Preview of LiveCode commands and terms
     LiveCode Lessons -  LiveCode Lessons - Starter lessons from RunRev (LiveCode)


Step 2 - Different Directions to go next ...

      Game Programming  - Creating and writing your own games    (mature...minor changes in progress)
      App Programming  - Writing Apps for mobile devices in LiveCode.   (new/current...work in progress)
      xxGeneral Programming  - Writing programs for everyday problems and uses (just starting...)


Step 3 - Specific Projects ...

            Artificial Intelligence  - Create your own Chatbot, Virtual Assistant, Siri © or Google Now ©.  
    new Data/BigData  - How popular is your name? How many people in the US have the same name?  
    new DigitalMagic  - Add people/remove people from photographs, change backgrounds with code (almost done...)

    soonCryptography  - Secret Codes,  (work in progress...)
    
    soonFacial Recognition  - Recognize faces, tells when you need a haircut  (coming...)
    soonChat Room  - Build your own chat room, web server, mail client, or completely new Internet protocol (coming...)

      xxComputer Concepts  - Understanding the concepts of computers through LiveCode.  (just starting...)


Step 4 - Special Features and Capabilities ...

    Working with Files:  (reading, writing, using)
        Text Files - normal text files (files edited with notepad, or saved as "txt" files)
        CSV Files - comma separated values (fields are separated with commas, e.g. from databases)
        Tab Files - Tab Delimited Files (files from spreadsheets)
        Binary Files

        Do I/O (input and output)
        Read and Write to files
        sort

        Working with Tables
        Working with Lists
        Working with Arrays (multi-level Lookup tables or Dictionaries)

Libraries - 
    My Library - Making a library of common handlers to use in all my games/apps/programs

Misc

   Variables - naming, using, special variables...
   Playing Music - playing music and sound effects


More...
 
    How-To ...  - A collection of useful How-To's and chunks of code to do different things  (just starting...) 
    Additional Tools and Add-ons  - Add more capabilities, utilities and useful palettes to your LiveCode

 
 
copyright (c) 2011 Cyril Pruszko 
Subpages (89): View All
Comments