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
2 registered members (steyr, alibaba), 534 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
write text on multiple lines in a panel #382670
09/11/11 00:13
09/11/11 00:13
Joined: May 2008
Posts: 257
D
djfeeler Offline OP
Member
djfeeler  Offline OP
Member
D

Joined: May 2008
Posts: 257
Hello,

I would like to know how to write text on multiple lines in a panel with the function inkey.

Thanks in advance.

Re: write text on multiple lines in a panel [Re: djfeeler] #382674
09/11/11 02:20
09/11/11 02:20
Joined: Jul 2008
Posts: 1,178
England
M
MrGuest Offline
Serious User
MrGuest  Offline
Serious User
M

Joined: Jul 2008
Posts: 1,178
England
something like if key_enter "\n"

Re: write text on multiple lines in a panel [Re: MrGuest] #382817
09/13/11 04:56
09/13/11 04:56
Joined: Sep 2011
Posts: 2
K
kasra2net Offline
Guest
kasra2net  Offline
Guest
K

Joined: Sep 2011
Posts: 2
hi
Please add more
How to get text into the game and show ?

thanks

Re: write text on multiple lines in a panel [Re: kasra2net] #382830
09/13/11 08:31
09/13/11 08:31
Joined: May 2008
Posts: 257
D
djfeeler Offline OP
Member
djfeeler  Offline OP
Member
D

Joined: May 2008
Posts: 257
You can see in online tutorial in strings and texts :

Code:
////////////////////////////////////////////////////////////////////
#include <acknex.h>
#include <default.c>
////////////////////////////////////////////////////////////////////
STRING* aloha_str = "Welcome to Paradise Island!";

TEXT* greetings_txt =
{
  pos_x = 300;
  pos_y = 250;
  string (aloha_str);
  flags = SHOW;
}
////////////////////////////////////////////////////////////////////
function main()
{
  screen_size.x = 800;
  screen_size.y = 600;
  screen_color.blue = 150;
}



djfeeler

Re: write text on multiple lines in a panel [Re: djfeeler] #382855
09/13/11 12:28
09/13/11 12:28
Joined: Sep 2011
Posts: 2
K
kasra2net Offline
Guest
kasra2net  Offline
Guest
K

Joined: Sep 2011
Posts: 2
AAAAA!!!

No
I get a text from the user


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