Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
3 registered members (TedMar, AndrewAMD, fairtrader), 578 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
message #137602
06/22/07 05:05
06/22/07 05:05
Joined: Apr 2007
Posts: 83
prog Offline OP
Junior Member
prog  Offline OP
Junior Member

Joined: Apr 2007
Posts: 83
Can anyone pls help me, to generate questions dynamically while the game is running(i.e, as the game starts a question shud pop-up and the player has to enter the answer. And in the same panel after few seconds instead of 1st Question 2nd Question has to display...)

Re: message [Re: prog] #137603
06/22/07 08:28
06/22/07 08:28
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
Read manual and search forum for this. You are not first who's asking this

to show the message you need something like this:
string some_str = "Who are You?"
TEXT some_txt
{
POS_X 10;
POS_Y 610;
LAYER 5;
FONT standard_font; //or your own font
}

function show_text
{
some_txt.string = some_str;
some_txt.visible = ON;
}

- to make answers you may create buttons with text on it and if you click some buuton, then you'll call some action depend of what text was shown
- to make player able to write the answers read about key_for_str
- to store answers in some file you need file_str_write function
- and a lot of more functions you can find here or in manual, that could be usefull


Never say never.

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | 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