0 Favourites

Output from arrays

  • Hi, I've just started using C2. I'm working on a menu-driven sim game where the player can start different writing projects, the details of which are held in a global array. Each time they start a new project, the array height is incremented by 1.

    When they choose to write, I'd like to give them a menu that consists of each of their current projects, displaying the Title, genre, current wordcount, and target wordcount. They also need a button that enables them to select the project they want to work on.

    As it's up to the user how many projects they're working on at once, I figure I'll need to do some kind of for/next loop that reads through the array's height and displays each height's width. How do I do this?

    Incidentally, if there's an easier way to do this than using arrays and a listed menu, I'm all ears.

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
0 Favourites
Fill Array with Sprites
48 2,319
Congrats2u's avatar
Congrats2u
Unread hot topic
0 Favourites
How do i use arrays?
44 6,457
HapaxHypatia's avatar
HapaxHypatia
Unread hot topic
42 32,377
Ragevortex's avatar
Ragevortex