Sign in to follow this  
Followers 0
Swiftzn

Game Quiz

5 posts in this topic

Hey guys,

i need your help, i am rather rusty with AutoIT and i need to get a program done quickly

basically it's a knowledge quiz for a game called league of legends there are 109 heros

now my team are really new and i am trying to get them to learn the characters faces so basically i want a script that will show a face they need to put in a Name and if it's right it tells them and goes to the next one

and maybe even have a score out of 109 at the end (this part isn't important)

Any Help would be appreciated

Regards

Share this post


Link to post
Share on other sites



Swiftzn,

Welcome to the AutoIt forum. :)

We do not write scripts to order here - as I am sure you know - but the functions I would recommend you look up first in the Help file are GUICtrlCreatePic (to show the image) and GUICtrlCreateInput (to get the suggested name).

You would probably be best served by using an array to hold the images and the associated names - if you are not very up to speed on arrays then I recommend the Arrays tutorial in the Wiki. :)

Give it go yourself and see how you get on - you know where we are if you run into difficulties. ;)

M23

And to any other readers - I am happy for this thread to run as it does not interact with the game but only shows a series of images. ;)


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

Thank you i wasn't asking for it to be written to order hehe, just a pointer in the right direction,

so basically the array would hold image location and what char it is correct?

Share this post


Link to post
Share on other sites

Swiftzn,

I would go for a 2D array like this:

[0]               | [1]
[0]   109 (count)       |
[1]   Path to image_1   | Name of character in image_1
[2]   Path to image_2   | Name of character in image_2
...
[109] Path to image_109 | Name of character in image_109

Then you could use Random to get an index both to show an image and indicate the correct name for checking the input. ;)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

Thanks for the help im gonna try code this keep an eye out i'll be back haha

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0