Home
Project Folders
Teacher Resources
Student Resources
How Do I?
Literacy
MWForum
Site Map
Search
Our Team

MWForum Message [Date Index] [Threads] [Authors] [Attachments] [Subscribe]

[Thread Prev] [Thread Next]

To: <mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: Re: Welcome to mwforum
From: "Alain Tougas" <alain@xxxxxxx>
Date: Mon, 31 Mar 2008 10:59:24 -0400

Hi Henry,
Welcome home!
About creating a lot of text boxes:

to createalotoftextboxes
doall 1
end

to doall :n
if :n > 10 [stop]
newtext
   word "log :n
   se -200 (200 - (:n * 25))
   [100 25]
doall :n + 1
end

newtext takes 3 inputs: the name of the text box, its position, its size.
The procedure above creates 10 text boxes, names log1 to log10, at a
position made up of -200 (for x) and a y pos calculated to offset at each
box, and all the same size.

AT
  -----Original Message-----
  From: mwforum-admin@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
[mailto:mwforum-admin@xxxxxxxxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Henry Wilson
  Sent: Monday, March 31, 2008 10:09 AM
  To: mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
  Subject: [MWForum] Re: Welcome to mwforum


  Q1)I learned Microworlds EX in school, and it caught on. I then got it for
xmas last year, for my computer, and have since made over 25 games and
projects. I love making games for it.
  Q2)The thing I like best about microworlds is the ability to use text
boxes as variables. I use them in every single one of my games/projects. I
also like using this to create a kind of login system. Here is the code for
one of my login systems.


  Given there is a text box named currentuser, currentpassword, log1user,
log1pass, log2user, log2pass, log3user, log3pass, log4user, log4pass,
log5user, log5pass, and a page named headexchange.


  to login
  question [Username]
  setcurrentuser answer
  question "Password
  setcurrentpassword answer
  question [ID number]
  if answer = "1 [login1]
  if answer = "2 [login2]
  if answer = "3 [login3]
  if answer = "4 [login4]
  if answer = "5 [login5]
  end


  to login1
  if log1user = currentuser [if log1pass = currentpassword [headexchange]]
  end
  to login2
  if log2user = currentuser [if log2pass = currentpassword [headexchange]]
  end
  to login3
  if log3user = currentuser [if log3pass = currentpassword [headexchange]]
  end
  to login4
  if log4user = currentuser [if log4pass = currentpassword [headexchange]]
  end
  to login5
  if log5user = currentuser [if log5pass = currentpassword [headexchange]]
  end


  Sometimes I find it frusterating when I have to create, lets say, 24 text
boxes for a game with 24 levels, and name each one seperately. Name text1
lvl1. Name text2 lvl2 and so on.


  Q3) I was playing a hotel game with my sister and brother and I was the
front desk, they were the workers. I created an amazing program which books
hotel reservations, lets me bill the guests, and lots more. It also lets the
customers log in as guest, and see their bill, donate money to us, and a
need place where they type in what they need from us, and log out. When I
log in with an employee username and password, it tells me when a customer
needs something.
  Also, you can change your password by typing in reset for the ID in the
homescreen login thing. If you visit the project online, click on the set up
button. Only once it lets you set the passwords and usernames. And, there is
a booker password, so you enter it when you book a new customer.
  The project is online at freewebs.com/hotelsoftware. I attached this
project as a mwx file.
  I am currently working on a thing like this, except for a restaurant, not
a hotel.
  I did microworlds projects, 14 of them, for my science fair project. These
projects were done years ago, and are not nearly as good as the ones I do
now. The url is www.stbernards.org/fair07


  Thank You!


  please comment on these projects and what to improve of them






  henry wilson


  Attached the HOTEL BOOKING SERVICE PROJECT (I made it three days ago)




  • Previous by thread: Re: Welcome to mwforum
  • Next by thread: Re: Re: Welcome to mwforum

  • To save an attachment to your computer, PC users should right-click (Mac users, click and hold the mouse button) on the link and then choose 'save target as' from the pop-up menu. A window will then pop up in which you can choose a location for the file.


    © copyright 2001 - 2008