| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

10gbGameMaker

Page history last edited by PBworks 16 years, 10 months ago

GameMaker     

Tony Forster

 

The following is the pseudocode listing which represents the drag and drop graphical programming:

 

Draw Event:

set the font for drawing text to font0 and align left

set variable bottles to 10

repeat next action (block) 10 times

      at position (0,400-40*bottles) draw text: ""+string(bottles) +" green bottles hanging on the wall"

      at position (0,410-40*bottles) draw text: ""+string(bottles) +" green bottles hanging on the wall"

      at position (0,420-40*bottles) draw text: "and if one green bottle should accidentally fall"

      at position (0,430-40*bottles) draw text: "there would be "+string(bottles-1) +" green bottles hanging on the wall"

      set variable bottles relative to -1

 

 


Challenges:

 

Build up a text string and then display it all at once (textstring="10 "; textstring=textstring + "green ")

 

Use the alarm event to display one line at a time

 

Show the musical score

 

Display one word at a time in time with the music

 

Play the music

 

Comments (0)

You don't have permission to comment on this page.