Posts: 117
Threads: 6
Joined: Mar 2012
Imma try to make up a project thread here about my Rain in January soon.
Just trying to get together an impressive amount of actual content to show off instead of placeholders and cheap lookin' menus. ¦P
Posts: 325
Threads: 9
Joined: Feb 2016
(06-04-2016, 08:17 PM)DerVVulfman Wrote: Well, some things right... Some things wrong. General math symbols of +(add) -(minus) /(divide) *(multiply) are used almost universally between coding formats. However, one can use the / in various ways such as filenames and directory paths. And the '$' symbol is used to create what WE call global variables. That is, it is a variable which can be used throughout your entire game... hopping from script to script (like $game_actor or $game_system).
I've been toying with the idea of penning a sorta cheat-sheet help file or booklet on scripting. While you may not have heard of something called the RMXP SDK, the creators of that script package had a set of guidelines for scripters that was pretty choice.
In the forum's TUTORIAL board, you can find a RUBY help file that ntzrmtthihu777 converted from a website. Very detailed.
so / means divide? not %?
and multiply IS the *
THANK YOU!
??? I had NO idea! I hunted around the forums and never found anything like that!
I'm gonna look for that thread in SP now! thank you!
Posts: 4,607
Threads: 543
Joined: Dec 2009
{ } can enclose all key values pairs of any hash, Siletrea.
An instance variable is a variable only available to the class script involved but each copy of it will own one of its own, if it's Game_Player then it's only supposed to be available for it unless you add specific methods to get access to them or modify them. A second copy of Game_Player would hold its default values.
Class variables work in a different way, one of them is shared with all copies of that class script, so only one of them with the same name might ever exist in all of them at the same time.
Instead of subclass we prefer to call them child classes as if there were a mother-daughter relationship between classes involved.
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9
Maranatha!
The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.
My Original Stories (available in English and Spanish)
List of Compiled Binary Executables I have published...
HiddenChest & Roole
Give me a free copy of your completed game if you include at least 3 of my scripts!
Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Posts: 937
Threads: 101
Joined: May 2009
There is Ruby-Doc and the Ruby Forum, but you might want to pick up a book first. There's nothing wrong with learning online, it's all about your personal preference, but I learned from paper media. Here are some books you might find useful.
These are the books I've learned from and they've each got their own merits. The first three, more or less, break down the basics of the language and how each particular concept works; I would get any one of them, you definitely don't need all three, but it wouldn't hurt if you can check them out each for free at a public library. Yukihiro Matsumoto, the creator of Ruby, co-wrote the first one so you already know he knows best. On the other hand, I really enjoy Why's breakdown of how Ruby works, he's a bit more clear and descriptive in his example syntax. Either way, it's a win-win situation.
The Ruby Cookbook is great but you may want to wait on that one until you're comfortable with programming as it's a little more advanced. Then again, honestly, it's never too early or too late to pick up the Ruby Cookbook as it contains so many abstract concepts beyond being just a vanilla how-it-works book. Seriously good stuff, there is a lot of interesting things to learn from it. If you have the money, I'd definitely purchase a copy and never let go of it.
Best of Ruby Quiz has some similarities to the Ruby Cookbook, a list of challenging and advanced concepts with source code. You can visit the author's website here but you might want your own copy if it ever goes down. Again, definitely worth checking out, might be another "worth your dollar, don't let go of it" books.
There is way more literature on Ruby nowadays VS when I was booking, but most of them I haven't read or I would make some recommendations. You might want to double check to make sure you find the latest edition, some of these have been re-released 3 or 4 times by now.
Posts: 117
Threads: 6
Joined: Mar 2012
I really wish my job didn't require me to get up at 4am. D¦
I've learned a lot about ruby since working on RiJ. I mean, my script is probably the least optimized thing you've ever seen, but it works at least. Hopefully soon I'll be able to put out a demo of the battle system for you all to tear to shreds. ¦P
Posts: 11,238
Threads: 649
Joined: May 2009
*Resident werewolf gets out his emery board to work on his claws*
As I like to say, "we learn by doing."
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)
Above are clickable links
Posts: 325
Threads: 9
Joined: Feb 2016
(06-05-2016, 10:42 PM)kyonides Wrote: { } can enclose all key values pairs of any hash, Siletrea.
An instance variable is a variable only available to the class script involved but each copy of it will own one of its own, if it's Game_Player then it's only supposed to be available for it unless you add specific methods to get access to them or modify them. A second copy of Game_Player would hold its default values.
Class variables work in a different way, one of them is shared with all copies of that class script, so only one of them with the same name might ever exist in all of them at the same time.
Instead of subclass we prefer to call them child classes as if there were a mother-daughter relationship between classes involved.
ok so....? in laymans terms the { } will only affect the script your using it in and clones whatevers in it?
and subclasses are like dogs and puppies ...the puppies following the dog and the dog leading the puppies?
sorry about my translations...A: this is the only way my brain memorizes stuff and B: my highschool years werent filled with actual learning due to my autisum
I really appreciate the help though!
Posts: 325
Threads: 9
Joined: Feb 2016
(06-06-2016, 01:45 AM)Kain_Nobel Wrote: There is Ruby-Doc and the Ruby Forum, but you might want to pick up a book first. There's nothing wrong with learning online, it's all about your personal preference, but I learned from paper media. Here are some books you might find useful.
These are the books I've learned from and they've each got their own merits. The first three, more or less, break down the basics of the language and how each particular concept works; I would get any one of them, you definitely don't need all three, but it wouldn't hurt if you can check them out each for free at a public library. Yukihiro Matsumoto, the creator of Ruby, co-wrote the first one so you already know he knows best. On the other hand, I really enjoy Why's breakdown of how Ruby works, he's a bit more clear and descriptive in his example syntax. Either way, it's a win-win situation.
The Ruby Cookbook is great but you may want to wait on that one until you're comfortable with programming as it's a little more advanced. Then again, honestly, it's never too early or too late to pick up the Ruby Cookbook as it contains so many abstract concepts beyond being just a vanilla how-it-works book. Seriously good stuff, there is a lot of interesting things to learn from it. If you have the money, I'd definitely purchase a copy and never let go of it.
Best of Ruby Quiz has some similarities to the Ruby Cookbook, a list of challenging and advanced concepts with source code. You can visit the author's website here but you might want your own copy if it ever goes down. Again, definitely worth checking out, might be another "worth your dollar, don't let go of it" books.
There is way more literature on Ruby nowadays VS when I was booking, but most of them I haven't read or I would make some recommendations. You might want to double check to make sure you find the latest edition, some of these have been re-released 3 or 4 times by now.
I read ruby cookbook last year online and couldent grasp anything at all but I will go back and check the others out thanks!
Posts: 325
Threads: 9
Joined: Feb 2016
(06-06-2016, 05:30 AM)DerVVulfman Wrote: *Resident werewolf gets out his emery board to work on his claws*
As I like to say, "we learn by doing."
yes Der but how do you "do" scripting without knowing what things are in layman terms?
I don't even know if @ is used in scripting let alone what it could do
but I still try
one of these days I think I may have to actually describe my situation as to why I legit can't understand the terminology
but I'm fearful as to the backlash and respect loss I would probably get...along with pity that I don't want at all...
I still overly appreciate the help I'm recieving in these situations!
I'm actually taking huge iniciative by trying to convert theo's animated bust script for ACE to XP
I got the language to english from indonesian so far ..but I need to know what things DO in order for me to start converting and going hands on
Posts: 1,097
Threads: 11
Joined: Jan 2015
I played Red Faction: Armageddon, because my friend insisted on me playing it to finish off the Red Faction series.
I have to say, I can see why it was signed under Syfy Games... IT FELT LIKE I WAS WATCHING A SYFY MOVIE!
Syfy channel movies aren't exactly known for their originality or storytelling, and are especially known for their massive amount of cliches... and Red Faction: Armageddon was PLAGUED with cliches.
Long story short, and so I don't get into a full review here... TERRIBLE GAME.
IT RIPPED OFF RESOURCES OF THE PREVIOUS GAME, THE STORY BARELY CONNECTS TO PREVIOUS GAMES, THE STORY IS REALLY PREDICTABLE AND STUPID, YOU MEET LIKE 20 PEOPLE THROUGHOUT THE GAME, 99% OF THE CHARACTERS ARE BALD DUDES... SO MUCH MORE I COULD CAPS-LOCK ABOUT!
But yeah, the game was done in about 10 hours of gameplay time... It was super linear, basically Final Hallway 13 revamped... Honestly, I give the game a 4/10.
I felt like they gave more time animating the farting unicorn weapon and making the game look nice, and not enough making it a Red Faction game.
At least the previous installment allowed free-roaming in the map, and let you have a little fun getting yourself thrashed by enemies in places you aren't supposed to be yet.
|