Sumer is icumen in

Teaching software development? Using LiveCode to build your curriculum? This is the forum for you.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9250
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Sumer is icumen in

Post by richmond62 » Sat Jun 11, 2016 1:12 pm

I'm starting with my kids on Monday: and I'm releasing the stacks for teaching as I go along (2 already uploaded).
So, anyone who wishes to teach with these stacks, mess around for fun,
or whatever, is more than welcome to pop across to the Facebook page and "beg, borrow or steal" the material with my blessing.

Have a super Summer.

https://www.facebook.com/RMLCclasses/
blaaa.png
blaaa.png (13.87 KiB) Viewed 12275 times

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9250
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Sumer is icumen in

Post by richmond62 » Sat Jun 11, 2016 4:33 pm

Mind you, there's some fowk qha get gae queer anent Facebook, so I jalouse is munnae be sae
bad tae pit the links til the staks here, forbye:
PWN.png
This is the first stack for the Summer classes. The '+' button contains code: the other 3 buttons don't.
Pupils should write the necessary code in the 3 empty buttons by modifying the code in the '+' button.

https://www.dropbox.com/s/mj6sd783em7ia ... e.zip?dl=0
Calc_Base.png
This is the second stack for the Summer classes. The buttons with red borders contain full code.
The button ("=") with a blue border contains partial code. Pupils should complete the calculator.

https://www.dropbox.com/s/8tbr1l2dv6f5v ... e.zip?dl=0

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9250
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Sumer is icumen in

Post by richmond62 » Thu Jun 16, 2016 6:59 pm

We then went onto this for homework:
stack.png
The button outlined in red contains code: pupils/students were expected to script the other buttons to get the results illustrated
in the following picture:
all5.png
Attachments
Inverter.livecode.zip
Here's the stack.
(1.63 KiB) Downloaded 385 times

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9250
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Sumer is icumen in

Post by richmond62 » Thu Jun 16, 2016 7:14 pm

Tomorrow (17 June) we'll be looking at elementary data sorting with this:
DH1.gif
The buttons outlined in red contain code: pupils/students are expected to script the other buttons.

https://www.dropbox.com/s/fr2ck9jwoypx3 ... e.zip?dl=0

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9250
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Sumer is icumen in

Post by richmond62 » Thu Jun 16, 2016 7:16 pm

And we'll follow that up with a spot of Math(s):

To convert between Celsius, Fahrenheit, Reamur and Rankine temperature scales.
Tscales.gif
The button outlined in red contains code: pupils/students are expected to script the other buttons.

https://www.dropbox.com/s/ggrd6q3dhz1j0 ... e.zip?dl=0

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9250
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Sumer is icumen in

Post by richmond62 » Fri Jun 17, 2016 7:46 am

The lower-level classes will start today (17 June) with this; use of the 'ask' dialogue:
The button outlined in red contains code, the 'AGE' button doesn't.
Pupils/students should write code in the button 'AGE' to get the sort of answer visible in the second picture.
Greetings1.png
Greetings2.png
Attachments
GREETINGS.livecode.zip
Here's the stack.
(231.88 KiB) Downloaded 418 times

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9250
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Sumer is icumen in

Post by richmond62 » Mon Jun 20, 2016 8:12 pm

Move_2r.gif
It's moving day tomorrow (21 June) and the children will be introduced to using arrowKey and keyDown as ways
of moving artefacts around on-screen.

They will also learn about intersect.
The stack has lots of code missing.
Attachments
MOVE_2.livecode.zip
Here's the stack.
(209.28 KiB) Downloaded 400 times

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9250
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Sumer is icumen in

Post by richmond62 » Mon Jun 20, 2016 9:50 pm

If we have time we'll get started on animation:
animation_1r.jpg
https://www.dropbox.com/s/7ktdd624o8m7b ... e.zip?dl=0

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9250
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Sumer is icumen in

Post by richmond62 » Tue Jun 21, 2016 9:21 am

LRRH1.png
https://www.dropbox.com/s/zfwpwg86mqai6 ... e.zip?dl=0

This stack involves both animation using a sequence of images inside a group and
lateral movement to produce fairly effective animation.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9250
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Sumer is icumen in

Post by richmond62 » Thu Jun 30, 2016 10:41 pm

Basic Pelmanism game (no randomisation) with most of the code missing:

https://www.dropbox.com/s/b8r6ccrn0x03s ... e.zip?dl=0
fruitCocktail.jpg

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9250
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Sumer is icumen in

Post by richmond62 » Fri Jul 01, 2016 6:50 pm

Here's a stack I ran up in class to show children how RANDOM works:

https://www.dropbox.com/s/rcxpmnmptnyks ... e.zip?dl=0
randomT.jpg

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9250
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Sumer is icumen in

Post by richmond62 » Sat Jul 02, 2016 9:28 am

This illustrates using keys to control scripts. The 'ACTION' button checks the state of the SHIFT key, and if it is depressed EXITS the script.

The card script waits for other keys to be pressed; and if the 'z' is pressed the action resumes.
kBcontrol.png
trap.jpg
Attachments
Keyboard Control_1.livecode.zip
Here's the stack.
(77.64 KiB) Downloaded 415 times
Last edited by richmond62 on Sat Jul 02, 2016 3:53 pm, edited 1 time in total.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9250
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Sumer is icumen in

Post by richmond62 » Sat Jul 02, 2016 2:30 pm

I must be going through a difficult patch:
funny.png
Attachments
Wierdo.livecode.zip
Here's the stack.
(86.87 KiB) Downloaded 357 times

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9250
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Sumer is icumen in

Post by richmond62 » Tue Jul 05, 2016 8:10 am

Today (5 July) I shall be teaching the children about rawKeyDown/Up, keyDown/Up and Switch-Case routines.

The materials for this are over here: http://forums.livecode.com/viewtopic.ph ... 13#p144313
B20-5302L.jpg
B20-5302L.jpg (9.89 KiB) Viewed 11796 times
belkin_nostromo_speedpad_n52.gif
belkin_nostromo_speedpad_n52.gif (17.18 KiB) Viewed 11796 times

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9250
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Sumer is icumen in

Post by richmond62 » Tue Jul 05, 2016 11:10 am

Having written something for the Belkin Nostromo n52 I'm going to plug in all sorts
of fairly crappy game controllers to the computers in the school and "let them suffer":
periphs.jpg
Later on in the week I'll post anything that comes out of this exercise here.

Post Reply

Return to “Teaching with LiveCode”