The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Game Development
Register New Account FAQ/Rules Chat Blogs Mark Forums Read

Notices

Game Development Your number one stop for anything related to creating games (except ROM hacks). You can even make your own!
New threads in this forum are to be approved by a moderator before they are displayed.



Closed Thread
Thread Tools
  #1  
Unread September 2nd, 2012, 04:25 AM
shadowriver
Beginning Trainer
 
Join Date: Sep 2007
Gender:
sorry if this is in the wrong section.

at the moment im only able to edit scripts so my knowledge in scripting is limited, im wanting to learn how to script from scratch i found some tutorials on other sites which have been useful, but little confusing for the tutorials is either for editing the menu screen or making a class selection screen which has helped a little with what i want to do.

the thing i want to start with is to learn how to make a simple selection screen with say ten options that if you have enough points gained (which would be added via script call.) the option chosen would increase a specific variable.

for example my hero just completed a quest, as a reward the hero receives 1 point via script call the hero can then accesses the menu that distributes the points so in the menu would be for example

Cooking
Thievery
smithing
Chemistry

Then if i have enough points the hero can choose a option that will increase a variable predetermined to that option.

( just to be clear i don’t want this script done for me what i would like however is to know were to look/begin or a little mentoring. so it is more specific to what i want to be able to do rather than being confused over a tutorial teaching me how to make a class selection screen which is kind of helpful but confusing since im not too sure what parts are relevant and what are not)

sorry if this is to vague or to much. im just not really to sure were to start.
__________________
V8 Essentials with Ultimate BW Pack and pokemon follow ready to go.
(I had nothing to do with its creation just put it together for genarl use) http://www.mediafire.com/?rtrco39udskdb81
Credits go to
p-Sign
Clowcardruler
Maruno
Venom12
FL .
Help-14
zingzag
rick1234
  #2  
Unread September 2nd, 2012, 08:03 PM
hansiec's Avatar
hansiec
Scripting Genius
 
Join Date: Aug 2009
Location: Somewhere on earth where else?
Age: 16
Gender: Male
Nature: Adamant
Quote:
Originally Posted by shadowriver View Post
sorry if this is in the wrong section.

at the moment im only able to edit scripts so my knowledge in scripting is limited, im wanting to learn how to script from scratch i found some tutorials on other sites which have been useful, but little confusing for the tutorials is either for editing the menu screen or making a class selection screen which has helped a little with what i want to do.

the thing i want to start with is to learn how to make a simple selection screen with say ten options that if you have enough points gained (which would be added via script call.) the option chosen would increase a specific variable.

for example my hero just completed a quest, as a reward the hero receives 1 point via script call the hero can then accesses the menu that distributes the points so in the menu would be for example

Cooking
Thievery
smithing
Chemistry

Then if i have enough points the hero can choose a option that will increase a variable predetermined to that option.

( just to be clear i don’t want this script done for me what i would like however is to know were to look/begin or a little mentoring. so it is more specific to what i want to be able to do rather than being confused over a tutorial teaching me how to make a class selection screen which is kind of helpful but confusing since im not too sure what parts are relevant and what are not)

sorry if this is to vague or to much. im just not really to sure were to start.
Like This:

Code:
def getMenu()
  default=1
  cmdwin=pbListWindow([],200)
  commands= ["Button 1", "Button 2"]
  ret=pbCommands2(cmdwin,commands,-1,default-1,true) 
  cmdwin.dispose
  if ret >= 0
    return commands[ret]
  end
  return -1
end

def function()
  chosen = getMenu()
  if (chosen == 1)
    # button 1 commands
  elsif (chosen == 2)
    # button 2 commands
  end
end
I might got the 1 and 2 wrong (might be 0 and 1)
__________________
My Game:


  #3  
Unread September 4th, 2012, 11:09 PM
shadowriver
Beginning Trainer
 
Join Date: Sep 2007
Gender:
thank you for that, but looking at that im a little confused what does that bit of script do,my gess is that its just the options buttens but im not sure.
__________________
V8 Essentials with Ultimate BW Pack and pokemon follow ready to go.
(I had nothing to do with its creation just put it together for genarl use) http://www.mediafire.com/?rtrco39udskdb81
Credits go to
p-Sign
Clowcardruler
Maruno
Venom12
FL .
Help-14
zingzag
rick1234
  This is the last staff post in this thread.   #4  
Unread September 6th, 2012, 02:50 AM
Cilerba
the hearts of lonely people
 
Join Date: Feb 2010
Location: Massachusetts
Age: 16
Gender: Male
Nature: Quiet
This isn't a tutorial or a resource so I'm going to have to lock this. Post in the Essentials section or the main Game Development section if you need help.
__________________
Closed Thread
Quick Reply

Sponsored Links


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are UTC. The time now is 03:10 PM.


Style by Perdition Haze, artwork by Sa-Dui.
Like our Facebook Page Follow us on TwitterMessage Board Statistics | © 2002 - 2013 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to Pokémon USA, Inc. and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company, Pokémon USA, Inc., The Pokémon Company International, or Wizards of the Coast. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2013 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User posts belong to the user.