Script Data Base

Started by Arcangel, Sun 29/05/2005 04:33:36

Previous topic - Next topic

Arcangel

It is possible to create a data base, that is read at random.

I have thought to create an educative game of Spanish and mathematics for the elementary level. And it wanted to have a data base where it keeps the problems, vocabulary, etc.

When it is necessary looks for of the data base the mathematical problem and the player must solve it to continue.

RickJ

I have script module that reads INI files.  Perhaps that will work for you.  If not then perhaps you can give us some more specific requirements.

Rui 'Trovatore' Pires

Here's one possible way to do it -

Have a GUI with a label - that will be your database. Add arrows to it, to "turn the page", so to speak - I'm imagining it as a book, for now. Make a lot of strings ready, strings that contain the several "pages" of your database/book. Then have your search function retrieve the player's input as a variable, and using StrContains check whether the string "something" contains the players input.

The problem with this method is that there's a 200 character limit per string. But if you use many labels instead of just one, and have, say, one string for each label... you could effectively end up with what looks like an unbroken page of text but is really about 6 seperate labels stacked on top of each other, and each label contains a string.
Reach for the moon. Even if you miss, you'll land among the stars.

Kneel. Now.

Never throw chicken at a Leprechaun.

Arcangel

 ::)
Both ideas are seen well, Thx, desire to create the game somewhat similar to the series  Clue Finders for mathematical and Pipo Lee or Reader Rabbit for Spanish.

This is site of Pipo (Spanish /Inglés)
http://www.pipoclub.com/tienda/ 

Site of Clue Finders, Reader Rabbit and other educational titles for materia
http://www.learningcompany.com/jump.jsp?itemType=HOME_PAGE&itemID=107

SMF spam blocked by CleanTalk