Powered by Invision Power Board

 
    Reply to this topicStart new topicStart Poll

> what would be a good way to make choice boxes, lol mmf2
United States
Glukom
Posted: Oct 6 2009, 04:02 PM
Quote Post


OFF TO JOIN THE NAVY
[*][*][*][*][*]


Group Icon
Group: Members
Posts: 4071
Member No.: 2455
Joined: 6-August 06

Status: (0d) [--]


Like when you give the player choices that he can select (ie battle command options in final fantasy or simple yes/no things)

I'm trying to think of a way to do it, but I'm not sure. Is there any object that could handle this type of thing?

This post has been edited by Glukom on Oct 6 2009, 04:02 PM


--------------------
EVERYBODY WHO READS THIS AND DISLIKES THE DIRECTION OF NEW MFGG





i feel your pain :[
PMEmail PosterMSN
Top
Ecuador
Sword
Posted: Oct 6 2009, 04:03 PM
Quote Post


I needed a new avatar anyway
[*]

Group Icon
Group: Members
Posts: 4996
Member No.: 2910
Joined: 5-November 06

Status: (0d) [--]


You, uh, you, uh, gonna make Luigifan 4?

Gonna, gonna, make an engine for it?


--------------------
Reference
My Wiki
user posted image
user posted image
I'm the gotdang Batman I tell you what
PMEmail PosterAOLMSN
Top
United States
Glukom
Posted: Oct 6 2009, 04:04 PM
Quote Post


OFF TO JOIN THE NAVY
[*][*][*][*][*]


Group Icon
Group: Members
Posts: 4071
Member No.: 2455
Joined: 6-August 06

Status: (0d) [--]


QUOTE (Sword @ Oct 6 2009, 05:03 PM)
You, uh, you, uh, gonna make Luigifan 4?

Gonna, gonna, make an engine for it?

when the moon's light reflects onto the sun, luigifan 4 will be complete

i promise


--------------------
EVERYBODY WHO READS THIS AND DISLIKES THE DIRECTION OF NEW MFGG





i feel your pain :[
PMEmail PosterMSN
Top
United States
Fiddy Three
Posted: Oct 6 2009, 04:05 PM
Quote Post


KFC Badge: +1 Time Leap
[*]

Group Icon
Group: Members
Posts: 2252
Member No.: 2253
Joined: 27-June 06

Status: (0d) [--]


QUOTE (Glukom @ Oct 6 2009, 05:04 PM)
when the moon's light reflects onto the sun, luigifan 4 will be complete

i promise

Install lights on the moon. Quick!


--------------------
Wii Code - 2511-2111-5437-0505
PlayStation Network ID - FiddyThree
user posted image
Sexy Images of Myself:
Me, Me, Yuikiko, FISHY PUNCH, Demon Lemon, Mr. M, Demon Lemon Nicholas Ainsworth
PMAOLMSN
Top
United Kingdom
Pip
Posted: Oct 6 2009, 04:05 PM
Quote Post


you are now reading my posts in chris tucker's voice
[*][*][*]

Group Icon
Group: Members
Posts: 5151
Member No.: 2941
Joined: 13-November 06

Status: (0d) [--]


QUOTE (Glukom @ Oct 6 2009, 04:04 PM)
when the moon's light reflects onto the sun, luigifan 4 will be complete

i promise

Spoilers:
it already does




mainly because of what moonlight is


--------------------
**** are p. cool
PMEmail PosterUsers WebsiteAOL
Top
United States
Glukom
Posted: Oct 6 2009, 04:08 PM
Quote Post


OFF TO JOIN THE NAVY
[*][*][*][*][*]


Group Icon
Group: Members
Posts: 4071
Member No.: 2455
Joined: 6-August 06

Status: (0d) [--]


QUOTE (Pip @ Oct 6 2009, 05:05 PM)
Spoilers:
it already does




mainly because of what moonlight is

**** i guess that means i gotta finish it by tonight

- not gonna happen


--------------------
EVERYBODY WHO READS THIS AND DISLIKES THE DIRECTION OF NEW MFGG





i feel your pain :[
PMEmail PosterMSN
Top
United States
XutaWoo
Posted: Oct 6 2009, 04:21 PM
Quote Post


this didn't go as planned
[*]

Group Icon
Group: Members
Posts: 1017
Member No.: 3938
Joined: 12-June 07

Status: (0d) [--]


buttons


--------------------
user posted image

user posted image
QUOTE
{NPC} Astley puts an arm around Alex. "The bees polinate the flowers, then the hummingbirds eat the pollen and 9 months later the humming bird turns into a stork and brings a human baby fromt he cabbage patch to the hospital for the hummans to buy!"
*******By Roy*******

user posted image
PMEmail Poster
Top
United States
Glukom
Posted: Oct 6 2009, 04:41 PM
Quote Post


OFF TO JOIN THE NAVY
[*][*][*][*][*]


Group Icon
Group: Members
Posts: 4071
Member No.: 2455
Joined: 6-August 06

Status: (0d) [--]


QUOTE (XutaWoo @ Oct 6 2009, 05:21 PM)
buttons

i dont want mouse usage


--------------------
EVERYBODY WHO READS THIS AND DISLIKES THE DIRECTION OF NEW MFGG





i feel your pain :[
PMEmail PosterMSN
Top
United States
Glukom
Posted: Oct 6 2009, 06:25 PM
Quote Post


OFF TO JOIN THE NAVY
[*][*][*][*][*]


Group Icon
Group: Members
Posts: 4071
Member No.: 2455
Joined: 6-August 06

Status: (0d) [--]


blump


--------------------
EVERYBODY WHO READS THIS AND DISLIKES THE DIRECTION OF NEW MFGG





i feel your pain :[
PMEmail PosterMSN
Top
United States
Xgoff
Posted: Oct 6 2009, 06:36 PM
Quote Post


<):|
[*][*][*][*][*]
[*][*]

Group Icon
Group: Members
Posts: 52341
Member No.: 24
Joined: 13-October 03

Status: (0d) [--]


well i did make an smrpg battle example in the first post of the mini-tutorials topic if that helps

otherwise

user posted image

hello


--------------------

This post may contain original research or unverified claims.
Please disregard the above information and contact an administrator.

DISCLAIMER: by sending me (xgoff) a private message, you agree to the directives and their terms specified henceforth:
DIRECTIVE 1 (APPLE): i may or may not reply promptly or at all; and there are no guarantees to the usefulness of the reply. i may not acknowledge whether i have even received your private message
DIRECTIVE 2 (CHILE CON CARNE): as per my view, "private" applies only to the initial transaction, and the material of your message may or may not be made public at my discretion; as this will more than likely be a post in the CCC or IRC, you may not be able to view it
DIRECTIVE 3 (FEATHER DUSTER): you must address me (xgoff) as "Sir Master Xgofficus his Highest and Most Awesome the Third"; failure to comply with this term may invoke one or both of the above directives, and i will leave a burning bag of **** on your doorstep
DIRECTIVE 4 (BOOTSTRAP): if you have read this disclaimer, please private message me promptly, in compliance with the above terms, so i can ensure you are capable of following directions you idiot
this concludes the test of the emergency disclaimer system, your scheduled programming will now continue. satisfaction guaranteed, and 100% cash back available under certain circumstances; restrictions may or may not apply within your place of residence
NOTICE: these directives and their terms may change at any time, without notice; as a private message transaction to myself assumes an understanding and full compliance of the above, you should ensure you are fully aware of the above terms at any point before sending a private message; any message received is assumed to have been sent in compliance with the above

QUOTE
(5:25:58 PM) Mikau: xgoff
(5:26:00 PM) Mikau: guess what
(5:26:04 PM) Xgoff: chicken butt
(5:26:09 PM) Mikau: **** you
PMEmail PosterUsers WebsiteAOLMSN
Top
United States
Glukom
Posted: Oct 6 2009, 06:41 PM
Quote Post


OFF TO JOIN THE NAVY
[*][*][*][*][*]


Group Icon
Group: Members
Posts: 4071
Member No.: 2455
Joined: 6-August 06

Status: (0d) [--]


thats a lot of words

Actually though, I think I would be able to do an SMRPG menu screen on my own. Since I'd be using 4 different keys to determine what type of action I'm doing.

What worries me is something like, if I have 4 choices, and the only way to get to each choice is to move up or down. I think I know a way I could do it though, if I were to make the initial value of a variable 4 and have it add or subtract when I move up or down, and just not let it go any higher than 4 or less then 1.


but if there are any easier alternatives, by all means, clue me in


--------------------
EVERYBODY WHO READS THIS AND DISLIKES THE DIRECTION OF NEW MFGG





i feel your pain :[
PMEmail PosterMSN
Top
Unspecified
Nystre
Posted: Oct 6 2009, 06:42 PM
Quote Post


america is okay i guess sometimes
[*]

Group Icon
Group: Members
Posts: 6806
Member No.: 3012
Joined: 4-December 06

Status: (0d) [--]


QUOTE (Glukom @ Oct 6 2009, 06:41 PM)
thats a lot of words

it's all incredibly simple though


just a ****load of variables to manage


--------------------
 ^ ^
(˚o˚  )) う~ ugh i want to go to bed

because i browse with sigs disabled i cannot even remember what is in mine half the time

 ^  ^
(( ゚ д ゚ ) --- NO. YOU HAVE AN ASSIGNMENT DUE TOMORROW.
  つ つ
PMEmail PosterUsers WebsiteAOLMSN
Top
United States
Xgoff
Posted: Oct 6 2009, 06:46 PM
Quote Post


<):|
[*][*][*][*][*]
[*][*]

Group Icon
Group: Members
Posts: 52341
Member No.: 24
Joined: 13-October 03

Status: (0d) [--]


QUOTE (Glukom @ Oct 6 2009, 05:41 PM)
thats a lot of words

Actually though, I think I would be able to do an SMRPG menu screen on my own. Since I'd be using 4 different keys to determine what type of action I'm doing.

What worries me is something like, if I have 4 choices, and the only way to get to each choice is to move up or down. I think I know a way I could do it though, if I were to make the initial value of a variable 4 and have it add or subtract when I move up or down, and just not let it go any higher than 4 or less then 1.


but if there are any easier alternatives, by all means, clue me in

Upon pressing "Up Arrow" -->Set MenuOption (GV A): min(MenuOption + 1, 4) Upon pressing "Down Arrow" -->Set MenuOption (GV A): max(MenuOption - 1, 1)

or if you want the selection cursor to wrap:

Upon pressing "Up Arrow" -->Set MenuOption (GV A): ((MenuOption + 1) mod 4) + 1 Upon pressing "Down Arrow" -->Set MenuOption (GV A): ((MenuOption - 1) mod 4) + 1


This post has been edited by Xgoff on Oct 6 2009, 06:47 PM


--------------------

This post may contain original research or unverified claims.
Please disregard the above information and contact an administrator.

DISCLAIMER: by sending me (xgoff) a private message, you agree to the directives and their terms specified henceforth:
DIRECTIVE 1 (APPLE): i may or may not reply promptly or at all; and there are no guarantees to the usefulness of the reply. i may not acknowledge whether i have even received your private message
DIRECTIVE 2 (CHILE CON CARNE): as per my view, "private" applies only to the initial transaction, and the material of your message may or may not be made public at my discretion; as this will more than likely be a post in the CCC or IRC, you may not be able to view it
DIRECTIVE 3 (FEATHER DUSTER): you must address me (xgoff) as "Sir Master Xgofficus his Highest and Most Awesome the Third"; failure to comply with this term may invoke one or both of the above directives, and i will leave a burning bag of **** on your doorstep
DIRECTIVE 4 (BOOTSTRAP): if you have read this disclaimer, please private message me promptly, in compliance with the above terms, so i can ensure you are capable of following directions you idiot
this concludes the test of the emergency disclaimer system, your scheduled programming will now continue. satisfaction guaranteed, and 100% cash back available under certain circumstances; restrictions may or may not apply within your place of residence
NOTICE: these directives and their terms may change at any time, without notice; as a private message transaction to myself assumes an understanding and full compliance of the above, you should ensure you are fully aware of the above terms at any point before sending a private message; any message received is assumed to have been sent in compliance with the above

QUOTE
(5:25:58 PM) Mikau: xgoff
(5:26:00 PM) Mikau: guess what
(5:26:04 PM) Xgoff: chicken butt
(5:26:09 PM) Mikau: **** you
PMEmail PosterUsers WebsiteAOLMSN
Top
United States
Glukom
Posted: Oct 6 2009, 06:59 PM
Quote Post


OFF TO JOIN THE NAVY
[*][*][*][*][*]


Group Icon
Group: Members
Posts: 4071
Member No.: 2455
Joined: 6-August 06

Status: (0d) [--]


QUOTE (Xgoff @ Oct 6 2009, 07:46 PM)
Upon pressing "Up Arrow" -->Set MenuOption (GV A): min(MenuOption + 1, 4) Upon pressing "Down Arrow" -->Set MenuOption (GV A): max(MenuOption - 1, 1)

or if you want the selection cursor to wrap:

Upon pressing "Up Arrow" -->Set MenuOption (GV A): ((MenuOption + 1) mod 4) + 1 Upon pressing "Down Arrow" -->Set MenuOption (GV A): ((MenuOption - 1) mod 4) + 1

can you explain this a little

I get the gist of it but there's a few things in it that I don't really know what they mean.


--------------------
EVERYBODY WHO READS THIS AND DISLIKES THE DIRECTION OF NEW MFGG





i feel your pain :[
PMEmail PosterMSN
Top
United States
Xgoff
Posted: Oct 6 2009, 07:16 PM
Quote Post


<):|
[*][*][*][*][*]
[*][*]

Group Icon
Group: Members
Posts: 52341
Member No.: 24
Joined: 13-October 03

Status: (0d) [--]


QUOTE (Glukom @ Oct 6 2009, 05:59 PM)
can you explain this a little

I get the gist of it but there's a few things in it that I don't really know what they mean.

first one:
"min" means it returns the smaller of the two numbers you give to it; what you're doing in this, basically, is adding 1 to MenuOption, comparing it to four, then assigning the final value back into MenuOption. Since you wanted four options, this keeps MenuOption from ever getting higher than 4.

It's similar to doing something like:
MenuOption > 4 --> Set MenuOption: 4

but all in one expression

"max" of course does the opposite, returning the larger value. in this case it keeps MenuOption from getting lower than 1

second one:

"mod" is basically division that returns the remainder instead of the quotient. so doing x mod 4 does this:

1 mod 4 --> 1
2 mod 4 --> 2
3 mod 4 --> 3
4 mod 4 --> 0
5 mod 4 --> 1

and so on. because you want the range from 1 to 4, we have to add 1 to the final result of those equations. part from that, this one works liike the first

EDIT: you should use the first option because the second one tends to be really pissy and the example as provided may not even work correctly

This post has been edited by Xgoff on Oct 6 2009, 07:21 PM


--------------------

This post may contain original research or unverified claims.
Please disregard the above information and contact an administrator.

DISCLAIMER: by sending me (xgoff) a private message, you agree to the directives and their terms specified henceforth:
DIRECTIVE 1 (APPLE): i may or may not reply promptly or at all; and there are no guarantees to the usefulness of the reply. i may not acknowledge whether i have even received your private message
DIRECTIVE 2 (CHILE CON CARNE): as per my view, "private" applies only to the initial transaction, and the material of your message may or may not be made public at my discretion; as this will more than likely be a post in the CCC or IRC, you may not be able to view it
DIRECTIVE 3 (FEATHER DUSTER): you must address me (xgoff) as "Sir Master Xgofficus his Highest and Most Awesome the Third"; failure to comply with this term may invoke one or both of the above directives, and i will leave a burning bag of **** on your doorstep
DIRECTIVE 4 (BOOTSTRAP): if you have read this disclaimer, please private message me promptly, in compliance with the above terms, so i can ensure you are capable of following directions you idiot
this concludes the test of the emergency disclaimer system, your scheduled programming will now continue. satisfaction guaranteed, and 100% cash back available under certain circumstances; restrictions may or may not apply within your place of residence
NOTICE: these directives and their terms may change at any time, without notice; as a private message transaction to myself assumes an understanding and full compliance of the above, you should ensure you are fully aware of the above terms at any point before sending a private message; any message received is assumed to have been sent in compliance with the above

QUOTE
(5:25:58 PM) Mikau: xgoff
(5:26:00 PM) Mikau: guess what
(5:26:04 PM) Xgoff: chicken butt
(5:26:09 PM) Mikau: **** you
PMEmail PosterUsers WebsiteAOLMSN
Top
United States
Glukom
Posted: Oct 6 2009, 07:49 PM
Quote Post


OFF TO JOIN THE NAVY
[*][*][*][*][*]


Group Icon
Group: Members
Posts: 4071
Member No.: 2455
Joined: 6-August 06

Status: (0d) [--]


QUOTE (Xgoff @ Oct 6 2009, 08:16 PM)
first one:
"min" means it returns the smaller of the two numbers you give to it; what you're doing in this, basically, is adding 1 to MenuOption, comparing it to four, then assigning the final value back into MenuOption. Since you wanted four options, this keeps MenuOption from ever getting higher than 4.

It's similar to doing something like:
MenuOption > 4 --> Set MenuOption: 4

but all in one expression

"max" of course does the opposite, returning the larger value. in this case it keeps MenuOption from getting lower than 1

Ah, I've been looking for something that could do that. I wanted to do a similar thing with the health statistic.

What's the "(GV A)"? Is that just the object that MenuOption is in?

QUOTE

second one:

"mod" is basically division that returns the remainder instead of the quotient. so doing x mod 4 does this:

1 mod 4 --> 1
2 mod 4 --> 2
3 mod 4 --> 3
4 mod 4 --> 0
5 mod 4 --> 1

and so on. because you want the range from 1 to 4, we have to add 1 to the final result of those equations. part from that, this one works liike the first

EDIT: you should use the first option because the second one tends to be really pissy and the example as provided may not even work correctly


Yeah I'll probably just stick with the first, it doesn't need to wrap around.


--------------------
EVERYBODY WHO READS THIS AND DISLIKES THE DIRECTION OF NEW MFGG





i feel your pain :[
PMEmail PosterMSN
Top
United States
Xgoff
Posted: Oct 6 2009, 07:59 PM
Quote Post


<):|
[*][*][*][*][*]
[*][*]

Group Icon
Group: Members
Posts: 52341
Member No.: 24
Joined: 13-October 03

Status: (0d) [--]


QUOTE (Glukom @ Oct 6 2009, 06:49 PM)
Ah, I've been looking for something that could do that. I wanted to do a similar thing with the health statistic.

What's the "(GV A)"? Is that just the object that MenuOption is in?



Yeah I'll probably just stick with the first, it doesn't need to wrap around.

global value a

or technically whichever one is available for you


--------------------

This post may contain original research or unverified claims.
Please disregard the above information and contact an administrator.

DISCLAIMER: by sending me (xgoff) a private message, you agree to the directives and their terms specified henceforth:
DIRECTIVE 1 (APPLE): i may or may not reply promptly or at all; and there are no guarantees to the usefulness of the reply. i may not acknowledge whether i have even received your private message
DIRECTIVE 2 (CHILE CON CARNE): as per my view, "private" applies only to the initial transaction, and the material of your message may or may not be made public at my discretion; as this will more than likely be a post in the CCC or IRC, you may not be able to view it
DIRECTIVE 3 (FEATHER DUSTER): you must address me (xgoff) as "Sir Master Xgofficus his Highest and Most Awesome the Third"; failure to comply with this term may invoke one or both of the above directives, and i will leave a burning bag of **** on your doorstep
DIRECTIVE 4 (BOOTSTRAP): if you have read this disclaimer, please private message me promptly, in compliance with the above terms, so i can ensure you are capable of following directions you idiot
this concludes the test of the emergency disclaimer system, your scheduled programming will now continue. satisfaction guaranteed, and 100% cash back available under certain circumstances; restrictions may or may not apply within your place of residence
NOTICE: these directives and their terms may change at any time, without notice; as a private message transaction to myself assumes an understanding and full compliance of the above, you should ensure you are fully aware of the above terms at any point before sending a private message; any message received is assumed to have been sent in compliance with the above

QUOTE
(5:25:58 PM) Mikau: xgoff
(5:26:00 PM) Mikau: guess what
(5:26:04 PM) Xgoff: chicken butt
(5:26:09 PM) Mikau: **** you
PMEmail PosterUsers WebsiteAOLMSN
Top
United States
Glukom
Posted: Oct 6 2009, 08:04 PM
Quote Post


OFF TO JOIN THE NAVY
[*][*][*][*][*]


Group Icon
Group: Members
Posts: 4071
Member No.: 2455
Joined: 6-August 06

Status: (0d) [--]


QUOTE (Xgoff @ Oct 6 2009, 08:59 PM)
global value a

or technically whichever one is available for you

Oh, ok. I was thinking Global Value but I just had to be sure

thanks biggrin.gif


--------------------
EVERYBODY WHO READS THIS AND DISLIKES THE DIRECTION OF NEW MFGG





i feel your pain :[
PMEmail PosterMSN
Top
United States
Xgoff
Posted: Oct 6 2009, 08:05 PM
Quote Post


<):|
[*][*][*][*][*]
[*][*]

Group Icon
Group: Members
Posts: 52341
Member No.: 24
Joined: 13-October 03

Status: (0d) [--]


QUOTE (Glukom @ Oct 6 2009, 07:04 PM)
Oh, ok. I was thinking Global Value but I just had to be sure

thanks :D

which reminds me i don't even know why i specify which one it is because i always end up saying "or whatever" anyway


--------------------

This post may contain original research or unverified claims.
Please disregard the above information and contact an administrator.

DISCLAIMER: by sending me (xgoff) a private message, you agree to the directives and their terms specified henceforth:
DIRECTIVE 1 (APPLE): i may or may not reply promptly or at all; and there are no guarantees to the usefulness of the reply. i may not acknowledge whether i have even received your private message
DIRECTIVE 2 (CHILE CON CARNE): as per my view, "private" applies only to the initial transaction, and the material of your message may or may not be made public at my discretion; as this will more than likely be a post in the CCC or IRC, you may not be able to view it
DIRECTIVE 3 (FEATHER DUSTER): you must address me (xgoff) as "Sir Master Xgofficus his Highest and Most Awesome the Third"; failure to comply with this term may invoke one or both of the above directives, and i will leave a burning bag of **** on your doorstep
DIRECTIVE 4 (BOOTSTRAP): if you have read this disclaimer, please private message me promptly, in compliance with the above terms, so i can ensure you are capable of following directions you idiot
this concludes the test of the emergency disclaimer system, your scheduled programming will now continue. satisfaction guaranteed, and 100% cash back available under certain circumstances; restrictions may or may not apply within your place of residence
NOTICE: these directives and their terms may change at any time, without notice; as a private message transaction to myself assumes an understanding and full compliance of the above, you should ensure you are fully aware of the above terms at any point before sending a private message; any message received is assumed to have been sent in compliance with the above

QUOTE
(5:25:58 PM) Mikau: xgoff
(5:26:00 PM) Mikau: guess what
(5:26:04 PM) Xgoff: chicken butt
(5:26:09 PM) Mikau: **** you
PMEmail PosterUsers WebsiteAOLMSN
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

  Topic Options Topic Options Reply to this topicStart new topicStart Poll

 




[ Script Execution time: 0.0797 ]   [ 13 queries used ]   [ GZIP Enabled ]   [ Server Load: 0.39 ]