The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.

Reply
 
Thread Tools
  #1    
Old October 7th, 2012, 12:55 AM
Elyssia's Avatar
Elyssia
 
Join Date: Nov 2010
Location: The Netherlands
Age: 24
Gender: Female
Nature: Gentle
I've been wondering if someone knows a way of learning how to script in a bit more advanced way? (looking at scripts won't work for me -.-)
Like as example I have no idea how to make those Commands boxes such as in the mainmenu as example in PokemonLoad script.
I am just a beginner at all this stuff, and wants to learn it from known scripters.
Maybe anyone has tips, website or anything that makes scripting much less complicated than it is for me already?
Much appreciated :3
Reply With Quote
  #2    
Old October 7th, 2012, 06:23 AM
IceGod64's Avatar
IceGod64
My imagination.
 
Join Date: Oct 2008
Location: Castelia City
Age: 26
Gender: Male
Nature: Naive
The best method for learning about scripting honestly is looking at pre-existing scripts. When I was new, I thought I would never understand scripting at all either, just by looking at them.

Nowdays, I can make much better sense of scripts than I used too, and minus a few questions I asked some better scripters along the way, it's all self-learned.

So for now, I recommend you try tinkering around with some stuff, and seeing what they do; that's how I learned.
__________________

Reply With Quote
  #3    
Old October 7th, 2012, 08:23 AM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
The best website for learning about how to code in Ruby would have to be Google. Seriously, search for tutorials yourself. If you cannot (or won't) learn from playing with the code in Essentials, then just read as many tutorials as possible. Although I would have to say that if you're incapable of learning at least a little something from just looking at the code, then you're definitely not cut out to be a coder anyway.

I've mentioned before that the two easiest sections of Essentials are the Trainer Card and the Pokégear menu. You don't need to understand every single command; just see what's in there and see if you can figure out which parts do what.

It makes sense to start with the actual code you want to play with, rather than reading some generalised tutorials which won't actually explain anything about how Essentials actually works. There are no tutorials on the coding in Essentials.
__________________
Reply With Quote
  #4    
Old October 7th, 2012, 10:35 AM
the__end's Avatar
the__end
Pixel Artist
 
Join Date: Apr 2010
Gender: Male
well if i had time to learn ruby i would start with the basics...
these links could be useful:
http://pine.fm/LearnToProgram/
http://www.troubleshooters.com/codec...ictutorial.htm
http://www.tutorialspoint.com/ruby/

after you learned the basics you need to learn how to use Ruby in RMXP...
its called RGSS (Ruby Game Scripting System)
as much as i know its the same as Ruby but there is the bar on the left side...
the bar contains the individual lines of code for each part of your game or something like that...
here are some tutorials for RGSS:
http://www.rpgrevolution.com/tutoria...pter-1_21.html
http://www.rpgrevolution.com/tutoria...pter-2_20.html
http://www.rpgrevolution.com/tutoria...pter-3_19.html

http://www.rpgrevolution.com/tutoria...basics_25.html
http://www.rpgrevolution.com/tutoria...iables_26.html
http://www.rpgrevolution.com/tutoria...l-flow_27.html
http://www.rpgrevolution.com/tutoria...ethods_28.html
http://www.rpgrevolution.com/tutoria...d-more_29.html
http://www.rpgrevolution.com/tutoria...ng-101_30.html
http://www.rpgrevolution.com/tutoria...ummies_31.html

http://www.rpgrevolution.com/tutoria...ng-system.html

and i have some tutorials where the websites aren't online anymore...
here is the download link:
http://www.mediafire.com/download.php?v39c9h4bjl454em

hope the links are helpful...
i still didn't learned ruby but i plan to...
and that's how i would start...
__________________
Reply With Quote
  #5    
Old October 7th, 2012, 08:05 PM
zingzags's Avatar
zingzags
Creator or Pokemon Serenity
 
Join Date: Jan 2009
Location: Boston
Age: 20
Nature: Adamant
Honestly, I learned how to program a bit in Ruby by just looking at each method, and what is going on in the methods. With simple programming knowledge (Not coding it, but understanding) you will be able to survive. Right now I am doing hardcore C++, and java. These two languages are very similar, but they are not the same, and they require a great understanding of what is going on, and how to program everything in each function. To know what I am talking about better look some basic terminology for programming. Start simple first, then work your way up.

Some definitions to look for:
Compiler
Interpreter
Function
Method
Variables
Constants
Operators
Data Types
Array

Trust me it may seem stupid at first, but they help in the long run. Here is a link so some tutorials.
__________________
Pokemon Serenity is my fangame name.
name decided 12/15/09
Currently helping:
Pokemon ebony
and
Xenotime:
Reply With Quote
  #6    
Old October 8th, 2012, 02:13 AM
Elyssia's Avatar
Elyssia
 
Join Date: Nov 2010
Location: The Netherlands
Age: 24
Gender: Female
Nature: Gentle
First of all, this topic wasn't meant to bash eachother into the grounds.
(Reffering to post #3 and post #4(KirakonGxi has sneaky deleted his post))

From Post #3(Deleted Post):
Quote:
Originally Posted by KirakonGxi
U Want To Make a new Pokemon right?
Hermmm
er... what else is there to say about this post?
In my eyes, someone who's got bored and probably willing to post such a non-sence message like this... (something that doesn't inspire anyways, or not even helping Coders in common.)

From Post #4 (Now set as post number #3 since the original Post #3 has been deleted probably by the user himself):
Quote:
Originally Posted by Maruno
Seriously, search for tutorials yourself. If you cannot (or won't) learn from playing with the code in Essentials, then just read as many tutorials as possible. Although I would have to say that if you're incapable of learning at least a little something from just looking at the code, then you're definitely not cut out to be a coder anyway.
^also not a nice thing to say, atleast from a Lead Developer.
I have tried to play with the existing codes, but instead of learning I was only making the bug worse followed up by crashes.
If you find my PMs about coding questions "annoying", say it in the PM instead of in public.
I kinda lost your respect in this post to be honest...

Atleast there are some 'kind' users that keeps themself into the topic and gives atleast tiny hints/tips how to learn it a bit better.
And as last notice: I only know VB/VB.net in quite an advanced way by learned via Google + Youtube videos that does makes things clear since it's Drag and Drop work and some small coding here in there. (but is a looooooot different than any other languages)
Outside of that, I am still a beginner at scripting in Ruby yes... But that's not a reason of derailing a Topic + bashing Beginner scripters into the grounds. Atleast i am trying to make scripts myself, but didn't come out as i wanted it to do. That is the main reason why I was asking others(In the hope of kind coders) for some tips...

Thank you so much for making me willing to stop with PKMN Essentials


To Mods: May I can ask a Moderator to close this, before it's getting even more derailed? (I don't care of things such as bans could follow by this post, but it's quite logical that i am a bit of pissed/not amused at these 2 posts, (in my eyes) attempting to derail the whole topic)

Last edited by Elyssia; October 8th, 2012 at 04:56 AM. Reason: Post #3 has been deleted, probably by the User himself
Reply With Quote
  #7    
Old October 8th, 2012, 05:09 AM
IceGod64's Avatar
IceGod64
My imagination.
 
Join Date: Oct 2008
Location: Castelia City
Age: 26
Gender: Male
Nature: Naive
Quote:
Originally Posted by Elyssia View Post
^also not a nice thing to say, atleast from a Lead Developer.
I have tried to play with the existing codes, but instead of learning I was only making the bug worse followed up by crashes.
If you find my PMs about coding questions "annoying", say it in the PM instead of in public.
I kinda lost your respect in this post to be honest...
There's a difference between being bluntly honest, and mean. Maruno was being honest. In order to make it at all as a coder, it requires a certain type of mindset. You can't just read a bunch of tutorials and know everything, you have to experiment a little. And sometimes, you will make mistakes, that's exactly what I did. I made mistakes, and learned how to fix them. I don't believe I've ever read a single to tutorial (I rarely learn that way anyway).

Oh, an while I'm at it:

Quote:
I have tried to play with the existing codes, but instead of learning I was only making the bug worse followed up by crashes.
The first step to learning how to fix it is learning how to break it.
__________________

Reply With Quote
  #8    
Old October 8th, 2012, 06:13 AM
the__end's Avatar
the__end
Pixel Artist
 
Join Date: Apr 2010
Gender: Male
Quote:
Originally Posted by Elyssia View Post
^also not a nice thing to say, atleast from a Lead Developer.
I have tried to play with the existing codes, but instead of learning I was only making the bug worse followed up by crashes.
If you find my PMs about coding questions "annoying", say it in the PM instead of in public.
I kinda lost your respect in this post to be honest...

Thank you so much for making me willing to stop with PKMN Essentials
imo you overreact...
maruno didn't "bashed" you...
he just told you the truth but well sometimes honest words tend to sound rude...
and that you want to stop working with essentials because of one post and one spam message is not really mature...
if you cant deal with such matters at the beginning of your game development how have you planned to deal with it later when there are much more serious problems?
sry if this post offends you as well but you shouldn't overreact about each post that don't help you or support you as you wish...
its the internet after all so chill a little bit and dont take anything so serious... :D
__________________
Reply With Quote
  #9    
Old October 8th, 2012, 07:25 AM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
My comments were made in the manner IceGod64 and the__end suggested: simple honesty, not rudeness.

I've never followed tutorials while learning Ruby (although I have of course looked up information when I needed to). My learning was due to playing around with the code in Essentials, and having the kind of mind that let me comprehend it. Ruby is an easy-to-read language, and I maintain that if you can't understand anything about some code after looking at it (e.g. even something as simple as how the Trainer Card decides which background picture to use), you don't have the kind of intuitive mind required to be a good coder. You may not know everything about RGSS syntax, but you should be starting with the basic ideas behind the code, and learning to recognise some of the often-used commands (pbMessage, pbDrawTextPositions, etc.) even if you don't know exactly how they work. You can only do that by reading/playing with the code in Essentials itself.

You implied that I didn't offer any advice in my post. I told you about two simple scripts you could start with, told you that the best way of learning Essentials is to use Essentials, and that there are no coding tutorials specifically for Essentials.

And to be honest, Google is easy to use. You're bound to find something useful with a five second search. If you're looking for basic information, then you should be looking for as many tutorials as possible to read, in order to get as much information as possible - no one tutorial tells you everything in the best way (plus reading the same things over and over helps them to stick). If you're looking for how to apply this knowledge to Essentials, then as I (and others) have said, the best way is to play. I think that's something any good coder knows.


Quote:
Originally Posted by Elyssia View Post
If you find my PMs about coding questions "annoying", say it in the PM instead of in public.
I have never described any of your (or anyone's) questions as annoying. I have always answered you and provided help and advice, and even made suggestions if appropriate. If you don't want my help in future, that's your business. I will answer any question asked of me to the best of my ability, even yours after your tirade.
__________________
Reply With Quote
  #10    
Old October 8th, 2012, 06:32 PM
jim42's Avatar
jim42
 
Join Date: Jul 2009
Gender: Male
Just in case thie trainwreck of a thread is still being observed by the OP, let me second Maruno's advice about the Trainer Card and Pokégear. Well, moreso the former than the latter, as I've not worked with the Pokégear stuff much.

But anyway, with a little advice from the guys here, and a fair amount of frustration, I managed to redefine the Trainer Card to have two sides (one with the standard details and what HMs the player has access to, and the other as an effective Badge Case with the dates they were originally obtained).

Furthermore, I then went on the use that as a base to define my own Start Selection screen. It's not perfect (and not very pretty haha) but it works well enough. I'm still not at the level of creating my own superclasses and game-defining scripts, but I'm getting there. Slowly.

Just experiment with things. If you're worried about breaking something, create a duplicate of a fresh Essentials, and work from there until it's all good, then copy it over. It's really not that hard. It just requires a lot of patience and a bit of luck.
Reply With Quote
  #11    
Old October 9th, 2012, 03:38 PM
FL's Avatar
FL
Pokémon Island Creator
 
Join Date: Sep 2010
Gender: Male
Try to do several examples of each RGSS themes (like if/else, while, etc...). Script/programming is a practical thing. After you learning the basic, take a look in this guide: http://www.pokecommunity.com/showthread.php?t=286554

Remember also that scripting isn't vital to make a game.
__________________
Reply With Quote
  #12    
Old November 6th, 2012, 05:13 PM
thor348's Avatar
thor348
That's Oak to You
 
Join Date: Nov 2012
Location: Albion
Gender: Male
Nature: Calm
Hey i've made my own script for an Item called the Codec. I put it in the Scripts.rxdata and made the item in the Items PBS. It was all made and I clicked 'Save'. It acted as if it saved. When I took out my flash drive containing both my RPG maker xp and Pokemon essentials stuff, then put it into another computer, my scripts.rxdata reverted back to the original info from the starter kit. What happened to my modified scripts? Please help

using version 10 btw
Reply With Quote
  #13    
Old November 6th, 2012, 06:57 PM
Yamiidenryuu's Avatar
Yamiidenryuu
 
Join Date: Oct 2011
That might just be a problem with your flashdrive. I've had this happen sometimes when I pull out a flashdrive before it's actually done saving data. Check and see if there's a "safely remove hardware" thing on the taskbar of your computer (it might be hidden with the inactive icons) and use that to make sure your flashdrive can be disconnected. If nothing else, wait a few seconds after saving data to the drive before you pull it out.

Oh, and you probably should open your own thread for your own questions.
__________________

Cheren Comic is a comic about Cheren! Go read it.
Reply With Quote
  #14    
Old November 6th, 2012, 07:13 PM
thor348's Avatar
thor348
That's Oak to You
 
Join Date: Nov 2012
Location: Albion
Gender: Male
Nature: Calm
Quote:
Originally Posted by Yamiidenryuu View Post
That might just be a problem with your flashdrive. I've had this happen sometimes when I pull out a flashdrive before it's actually done saving data. Check and see if there's a "safely remove hardware" thing on the taskbar of your computer (it might be hidden with the inactive icons) and use that to make sure your flashdrive can be disconnected. If nothing else, wait a few seconds after saving data to the drive before you pull it out.

Oh, and you probably should open your own thread for your own questions.
Thank you for replying so fast.
I safely remove it every time since a loss of data accident a while back haha
I'm sorry for not opening my own thread, I just thought it might be an essentials issue.
I was just trying it again in different ways and came to the conclusion that I need to save it like 20 or so times repeatedly for it to be able to transfer haha

Again sorry for not opening my own thread, but thanks Yamiidenryuu
Reply With Quote
Reply
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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 06:41 AM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 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.
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.