Community

The PokéCommunity

We are still working on a better slogan!

Visit Index



Advertise here

Go Back   The PokéCommunity Forums > Creative Discussions > Game Development
Notices

Game Development Your number one stop for anything related to creating games (except ROM hacks). You can even make your own!

Closed Thread
Click here to go to the first staff post in this thread.  
Thread Tools
  #1    
Old September 1st, 2012, 08:25 PM
shadowriver
Beginning Trainer
 
Join Date: Sep 2007
Gender:

Advertise here
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    
Old September 2nd, 2012, 12:03 PM
Umbreon's Avatar
Umbreon
Community Supporter
 
Join Date: Aug 2009
Location: Nearby my feet.
Age: 17
Gender: Male
Nature: Calm
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)
  #3    
Old September 4th, 2012, 03: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
  #4    
Old September 5th, 2012, 06:50 PM
Cilerba
the hearts of lonely people
Community Supporter
 
Join Date: Feb 2010
Location: Massachusetts
Age: 18
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.
A MODEST PROPOSAL
http://www.pokecommunity.com/showthread.php?p=7766537
Closed Thread
Quick Reply

Sponsored Links


Advertise here
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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 09:33 AM.

About Us
© 2002 - 2014 The PokéCommunity™, pokecommunity.com. Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.

Copyright
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 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 generated content remains the property of its creator. Header artwork by Jordanice of deviantART.

Social Media
If you would like to stay up-to-date with us on the go, when we're down, or other such things, follow us on social media sites--most notibly Twitter, Facebook, and Google Plus--by clicking on the links provided.

Design presented by Peitharchia. Special thanks to Hiroshi Sotomura and Ausaudriel.