Haha yeah, makes it much more difficult to remember the syntaxToo verbose?
Search found 8 matches
- Sat Dec 11, 2021 12:27 am
- Forum: Games
- Topic: Rectangles that randomly appear
- Replies: 26
- Views: 14338
Re: Rectangles that randomly appear
- Sat Dec 11, 2021 12:19 am
- Forum: Games
- Topic: Rectangles that randomly appear
- Replies: 26
- Views: 14338
Re: Rectangles that randomly appear
I'm just continuing on with a website for it instead, however, I appreciate both you and Klaus' efforts, LiveCode just isn't for me
- Fri Dec 10, 2021 9:44 pm
- Forum: Games
- Topic: Rectangles that randomly appear
- Replies: 26
- Views: 14338
Re: Rectangles that randomly appear
Hey Craig I have been using LC since 2016 (school) and this is the year we have been asked to make a project of our own, of which little is taught. I have used Python to an extent for a while, but have only used LC for school work (of which is extremely confusing). Klaus: I have used this array and ...
- Fri Dec 10, 2021 6:18 pm
- Forum: Games
- Topic: Rectangles that randomly appear
- Replies: 26
- Views: 14338
Re: Rectangles that randomly appear
Hey Craig, Would this be what the answer would be? else answer "Incorrect guess, try again" end if Also, after some careful consideration of the program, I would like it to be able to do something like pick a number(s) from an array and then put that alongside the following line: show img ("rect" & ...
- Thu Dec 09, 2021 10:13 pm
- Forum: Games
- Topic: Rectangles that randomly appear
- Replies: 26
- Views: 14338
Re: Rectangles that randomly appear
Ah yeah I see what you mean, how would I assign an image a value for the final if statement though so it can see if it is correct?
- Thu Dec 09, 2021 8:04 pm
- Forum: Games
- Topic: Rectangles that randomly appear
- Replies: 26
- Views: 14338
Re: Rectangles that randomly appear
It would go along the lines of, "Enter your guess between 10-20" and I'd like it to be able to see if any of the rectangles on the screen contain that value, returning a "Correct" message to the user
- Thu Dec 09, 2021 7:28 pm
- Forum: Games
- Topic: Rectangles that randomly appear
- Replies: 26
- Views: 14338
Re: Rectangles that randomly appear
Hi Craig,
After spending some time with your suggestions it appears that it has worked! I hope you don't mind me asking further but how would I refer to these when asking for user input? Should I refer to "currentChoice"?
After spending some time with your suggestions it appears that it has worked! I hope you don't mind me asking further but how would I refer to these when asking for user input? Should I refer to "currentChoice"?
- Thu Dec 09, 2021 6:13 pm
- Forum: Games
- Topic: Rectangles that randomly appear
- Replies: 26
- Views: 14338
Rectangles that randomly appear
Yo, I'm making a game that should, in theory, utilise 4 pre-set rectangles I imported onto the screen and, after the click of the 'start' button, should select 3 at random and prompt the user asking for their guesses on its size (not actual size, just a value between 10 - 20). However, my problem is...