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

  • Buried in cloud files? We can help with Spring cleaning!

    Whether you use Dropbox, Drive, G-Suite, OneDrive, Gmail, Slack, Notion, or all of the above, Dokkio will organize your files for you. Try Dokkio (from the makers of PBworks) for free today.

  • Dokkio (from the makers of PBworks) was #2 on Product Hunt! Check out what people are saying by clicking here.

View
 

10gbGameMaker

Page history last edited by PBworks 14 years, 12 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.