Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
4 registered members (NewbieZorro, Grant, TipmyPip, AndrewAMD), 13,346 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
TEST !!! #97897
11/08/06 05:11
11/08/06 05:11
Joined: May 2005
Posts: 222
T
tek Offline OP
Member
tek  Offline OP
Member
T

Joined: May 2005
Posts: 222
I know we all hate tests well if your gonna play my game you will be in for trouble

ok in my Moses game I have action elements as you all know and also I want to add things for the brain like school and learning.
I added math, social studies, science and the bible and I will add english
my plan is I first go to the level "mynewgame_wmb" and in the school I made I learn facts by touching books which I did.
What I would like help in is if anyone knows how to make like a multiple choice trivia test using gamestudio.
If you don't if you can help me find a tutorial for a trivia I would appreciate.
I want to do that after I come back home from my action level the next level is passing a test which involves multiple choice questions with all the information I placed in the level before the action level and Passing that test will advance you to the next level.
If anyone can help me know how to make a test I would appreciate.
Heres pics of the school and how you get educated in it.



this is science



and math

Last edited by tek; 11/08/06 05:20.
Re: TEST !!! [Re: tek] #97898
11/09/06 20:29
11/09/06 20:29
Joined: Jan 2006
Posts: 968
EpsiloN Offline
User
EpsiloN  Offline
User

Joined: Jan 2006
Posts: 968
you could use the INI plugin to store the question= , answer1= answer2= ... correctanswer=
then in-game read the question , put it in a string , show it on-screen and make if key_1,2,3...is pressed compare the answer attached to that number with the correctanswer= , if true...if false...
in order to make it with sections and random order of questions , use names like science 001 , science 002 (for every 'list' in the INI file)
it'll look something like this :

[science 001]
question=what's the speed of the sound in air
answer1=1m/s
answer2=2m/s
answer3=320m/s
answer4=3m/s
correctanswer=320m/s
[science 002]
question=who invented the computer
answer1=bill gates
answer2=some other monopolyst
answer3=the aztecs
answer4=john atanasov
correctanswer=john atanasov
[math 001]
question=10 + 10 is
answer1=20
answer2=0
answer3=1
answer4=2
correctanswer=20

and when you search thru the sections use "str_cpy(searchstr,"math "); and then str_cat(searchstr,the random number of question) if it finds anything show it on screen...simple,isnt it?


Extensive Multiplayer tutorial:
http://mesetts.com/index.php?page=201

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1