Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Ayumi), 1,405 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
how do I make player editable string #233316
10/28/08 04:23
10/28/08 04:23
Joined: Apr 2004
Posts: 77
USA
Cactus Offline OP
Junior Member
Cactus  Offline OP
Junior Member

Joined: Apr 2004
Posts: 77
USA
k I know how to make a string and put characters in it, but what if I wanted to let the player put in his own characters i.e player name or somthing.

thanks, Cactus


HI
Re: how do I make player editable string [Re: Cactus] #233320
10/28/08 06:08
10/28/08 06:08
Joined: Aug 2008
Posts: 61
Neurosys Offline
Junior Member
Neurosys  Offline
Junior Member

Joined: Aug 2008
Posts: 61
if your using litec u can use inkeys check the manual for that(find).

if you want c++ you could try my solution to the same need:

http://www.coniserver.net/ubb7/ubbthreads.php?ubb=showflat&Number=232032#Post232032


See more code and crap @ www.neuroticnetworks.com
Re: how do I make player editable string [Re: Neurosys] #233423
10/28/08 19:10
10/28/08 19:10
Joined: Apr 2004
Posts: 77
USA
Cactus Offline OP
Junior Member
Cactus  Offline OP
Junior Member

Joined: Apr 2004
Posts: 77
USA
can someone give me an example in c script. I looked at the one in the manual but i'm still confused.


HI
Re: how do I make player editable string [Re: Neurosys] #233492
10/29/08 05:26
10/29/08 05:26
Joined: Apr 2004
Posts: 77
USA
Cactus Offline OP
Junior Member
Cactus  Offline OP
Junior Member

Joined: Apr 2004
Posts: 77
USA
like y doesnt this code work:
////////////////////////////////////////////////////////////////////
#include <acknex.h>
#include <default.c>


STRING* time_hour_str = " ";


var test = inkey(time_hour_str);


TEXT* time_txt =
{
pos_x = 300;
pos_y = 250;
string (time_hour_str);
flags = VISIBLE;
}

function main()
{
video_mode = 7; // create a program window of 800x600 pixels
screen_color.blue = 150; // and make its background dark blue
calc_time();



}


HI

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