Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - lordryan756

Pages: [1] 2
I have decided that I know enough to point the way to fellow Java Programmers. I will only type up the stuff that I know (A trivial amount, really). This amounts to mostly GUI related objects and facts, since I am only currently learning how to animate and create games. Hope you find this useful :P

Note - This is not finished. I will be adding bits of this and that when I recall them. Don't rush :P

1) First off, you need an IDE (Integrated Development Environment). This provides syntax errors and checking your code for you (Be warned, you will still need to de-bug it yourself ;) ). Some very useful IDEs are the Eclipse and Netbeans IDE. These are both different with different approaches. The Eclipse IDE is based FULLY on code. With the Netbeans, it is less code-dependent, as it has a drag-and-drop system, where you just drag the component to where you want it and then code the responses. I use the Eclipse IDE :P

2) You will then need to find a sufficient tutorial (Hopefully mine will suffice. If not, just go to the links at the bottom of this post). I will provide this to you over the coming pages.

3) A notepad (PAPER!!) and/or some note-cards to write down the bits that won't stick in your head! These will also be for fleshing out ideas and drawing/sketching prototype GUI (Graphical User Interface), such as where to put buttons, the text-boxes, etc. These can also be used to draw or visualize the interactions between each button and/or action. This will be very important when dealing with a lot of windows or different components.

Now that you have all of these, lets get going! Just as a note, I will be assuming you are using Eclipse, so you may need to translate to Netbeans :P.

Grammar and Syntax ( Please, for the mother of god, READ THIS PART FIRST):
Syntax in Java is a little funny. It is, however, a little more beginner friendly than the larger/more integrated languages (Depending on what you want to use it for). Here are some examples:

Semicolons ( ; ) - These must end EVERY LINE. I cannot stress this enough. You could write the MOST EPIC program ever, but if there are none of these, then you may as well have never thought of Java in the first-place. The only exception is when you are creating a "Method"(Discussed later). Please remember this!

Tabbing(Indenting) - Java components can be written in a straight, never-indenting line of code. But, guess what? Not everyone can read like this! This is what the tabbing is for. It easily organizes everything in relation to everything else. For example, if there were 2 line of code within a main body, they would be indented from the "Declaration" of that body, but they would both be next to each-other.

Some Sources ( For those cynically-inclined :P ): - Download for the Eclipse IDE mentioned at the beginning of this post - Download for the Netbeans IDE mentioned at the beginning of this post - Great beginners tutorial, but ends rather soon - A rather nice forum for those in need - A good website with plenty of games and ideas

More tutorials will be coming up presently! Right now, just look around and familiarize yourself with the layout and feel. Also, if possible, watch the linked "TheNewBoston" Java tutorials. May take a bit of searching, since he does so many different tutorials :P

General Chatter - The Boozer / My Catapult/Trebuchet!
« on: February 22, 2012, 08:00:53 PM »
So, I was in my "Into to Comp App." class (Which only has 8 people, and is a generally lazy class.). One of my friends had the same teacher for Woodshop, and they were making Catapults. Today was supposed to bring them home, but he didn't want to, and the teacher didn't have any room to keep it in. I said I'd take it. Here are pics :P
Spoiler (click to show/hide)
Spoiler (click to show/hide)
Spoiler (click to show/hide)
Spoiler (click to show/hide)

Sort of a "Woh, that's neat, I want one!" moments, didn't even think of it until I had to wrestle it into the Bus :D

Edit: Hit "URL" instead of "Image" by mistake!

Non-game Programs - The Tinkers' Workshop / Ryan's Java Stuff!
« on: January 07, 2012, 07:56:29 PM »
I shall make a promise with myself. I shall actually USE and UPDATE this "Ryan's Game Thread"! So, now that I have that promise, I shall proceed.

"Kingdom Creator" -Canceled 2/9/12- -Removed from "Attachments" of this post to make some room.
Spoiler (click to show/hide)

Random Encounter(Mini-Game)
Spoiler (click to show/hide)

Random Number Guesser!
Spoiler (click to show/hide)

Text Editor/Reader
Spoiler (click to show/hide)

Spoiler (click to show/hide)

The Box -Cancelled due to lack of experience/knowledge and organization-
Spoiler (click to show/hide)

Generic Top-Down Game (GTDG)
Spoiler (click to show/hide)

Non-game Programs - The Tinkers' Workshop / Ryan's Python Software!
« on: October 24, 2011, 09:45:08 PM »
Hello, Exilian! 'Tis I, Ryan! I'm here to show off some of my Python games/software/stuffz that I've been playing with! (Note, I will be putting "Ref#" in place of links. The links can be found at the bottom of the page)

First off, I need you to download the latest version of "Pygame" for anything to work. Link is here: Ref1!

Okay, moving on. I've been watching Python tutorials for a few days now, after getting "Pushed" into it by SotK(Adam) and his "Township" game (Found here: Ref2). I've been watching "TheNewBoston"(Ref3) on Youtube, so he helps a lot with understanding the code. So, without further adue, here're some of my programs!

---Line Draw V1---
Spoiler (click to show/hide)
---Line Draw V2---
Spoiler (click to show/hide)

How to play the Software:
Spoiler (click to show/hide)

Note: I will be using Mediafire until the ability to upload a file directly to the forums is re-added. Sorry for the inconvenience :(

Ref1 -
Ref2 -
Ref3 -

General Chatter - The Boozer / My Own Website!!!
« on: September 17, 2011, 11:41:14 PM »
Hey, Exilian! After being inspired a little bit by Jubal ( and also having a bunch of coding experience and thing's I'm proud of, I decided to create my own website. It is hosted at . My actual website is ! Anyways, I've decided to post a linky here for you guys to help me improve it and give me ideas! So, I'll leave you to it!

Extra links without playing Hide and Seek in the text: <--James website (Not sure if still being edited =/) <--My web hoster! <-- (Yah, sucky name, I know. Couldn't think of anything better at the time, so I might change in the distant future)

Oh, and please note that the E-Mail listed there is for stranger visitors, you guys can contact me at since you guys are special =3

Edit: Also, I need some input whether to keep the "Shoutbox" or to place an actual chatroom ( Please give input!

Game & program tutorials / Javascript Tutorial 2 - First Codes
« on: April 30, 2011, 09:57:35 PM »
This is a continuation of my previous tutorial, "Javascript Tutorial 1 - Beginner's Guide".

---Chapter 1---
~~Code Structure~~
Code,specifically Javascript code, uses an easily memorized structure. The structure comes in 4 general parts:
<html> - This goes first, so that you can write in HTML (Hyper Text Markup Language)
<head> - This goes below <html> and is used for off-screen stuff (CSS, JSS, HTML, Etc)
<body> - Most of the writing will be done in here
<script type="text/javascript"> - This is the most important tag for Javascript coding, since it lets the computer/browser know that everything following this is Javascript related.

Drum these tags into your thick skulled head, since these are the most important parts.

---Chapter 2---
~~Advanced Commands~~
Some of the more advanced commands will be listed and explained here:
Math.random()*Number Here - This is a slightly lengthy line of code that picks a random number. It will pick any number between 0 and "Number Here"

Math.floor() - This is an addition to "Math.random" that rounds the number down to the nearest whole number. Take the number you want and add 1

Math.ceiling() - This is an addition to "Math.random" that rounds the number up to the nearest whole number. Take the number you want and subtract 1

Code: [Select]
var randomnumber = Math.floor(Math.random()*11);

Break it down: This generates a random number between 0-10 and then writes it in your browser.

<img src=\"Enter image URL here"> - This line of code makes the selected picture appear.
Code: [Select]
document.write("This is me!")
<img src=\"URL for a picture of me">

---Chapter 3---
~~Making a code~~
One example of a code is:

Code: [Select]
<script type="text/javascript">
var variable=5

document.write("Variable is equal to 5!")

This specific piece of code contains almost all of the points discussed in my last tutorial (Excluding the "else" statement). Now to break it down:

The "openers", or the <html>,<head>,<body>, and <script type="text/javascript"> let your browser/computer know what is going to happen (Re-read Chapter 1, Code Structure).
var variable=5 - Creates a variable, or "shortcut" that is the number 5.

if(variable==5) - This is part of an "if/then" statement. IF the variable (5) is equal to (==) 5....

{document.write("Variable is equal to 5!")} - THEN it writes this.

Then "enders" or </script>,</body>,</head>, and </html> means that the program/code is done, and that it has to stop.

This may seem like a lot, but after only 2 or so weeks, I can write this without thinking about it.

Various Google sources

Coding Tools:
Notepad++ (Over 40 different code languages!)
Other items all over the internet

As always, corrections and comments are appreciated.

Edit 1: Fixed some errors

Game & program tutorials / Javascript Tutorial 1 - Beginner's Guide
« on: April 30, 2011, 06:09:47 PM »
Hello. I'm Ryan (obviously), and I write in Javascript. It's a fun, flexible system and I thought you guys should try it.

---Chapter 1---
Javascript uses different "commands" that tell different sections to do something. I'll give you a condensed/cut-down version.

document.write() - As the command says, it writes stuff. You can either write a variable(Covered later) or text (Within quotation marks) within the parentheses.
Spoiler: click to toggle

var  - This is used to set a variable (For those of those who skipped Science and Math, it's a type of "object" that can have any meaning) that can be called upon later on.
Spoiler: click to toggle

if - This is part of an "If/Then" statement. If you skipped Language Arts, an If/Then statement is like Dominoes. IF you knock down the first domino, THEN the rest will fall down too.
Spoiler: click to toggle

else - This command is related to the "if" statement. For example, IF variable is equal to (==) 5, document.write(Whatever), but, what if "variable" is NOT equal to (!=) 5? That is where "Else" comes in. It gives a second option.
Spoiler: click to toggle

---Chapter 2---
Syntax is like Grammar. It is key to the Javascript language. Syntax is what keeps "Else" and "else" apart, just like having "too" and "to" seperate.

{Curly Braces} - These are used to contain command reactions.
Spoiler: click to toggle

(Parentheses) - This shows the parameters (the "boundaries" of the command) of what the command is to do.
Spoiler: click to toggle

;Semicolon; - Most people prefer to put these at the end of lines, to make it easier to tell where the line starts and ends.
Spoiler: click to toggle

~Various Google Resources

---Thanks to---
~Jubal - For helping me learn Javascript in the first place
~Dimos - For ideas and comments - For making that site in the first place and supplying precious knowledge

~~Corrections appreciated~~

Second tutorial to come soon.

Hey, coders, I'ma let you finish, but I make the best Javascript Scripts of all time.... Of all time!

Other than that, I'm going to upload my (Fairly Simple) Javascript scripts :P.

So Far:
-Random Number Generator - Only needed 2 lines of actual Code, but 5 minutes to fix basic stuff I forgot about  :$ (Thanks to Jubal for "Spell" checking it.)
-Lottery - It provides a random number. If you get a 1, you win. Anything else (2-10) you lose! Have fun ;) ! Took 7 lines of actual coding. (Thanks again to Jubal for helping to fix a problem!)
-Battle Script - Slightly similar to the "Raiders and Traders" combat script. -UPGRADED WITH FUNNEH-
-Donated Battle Script - So fuking freaking complex that I could only add a data table for what it means. Might fiddle with later on :P

Trying to Fix:

Working On:
Adding an iframe for my Battle Script

Note: Ideas and constructive comments are always appreciated :D

4/30/2011 - I have updated my Battle Script with a 3rd option, "Stalemate" and new pictures!


For some reason the thing isn't working, so here's a link for my Mini-Site:

Computer Game Development - The Indie Alley / Ryan's Games
« on: July 29, 2010, 08:46:05 PM »
Hello! I am making some small games, although fun. I'll not be making anything big until I can get this whole thing down. So far I have made a "Fruit Frenzy", and I'm now working on "Explosive Extinction". If any of you have ideas, give them here.

Fruit Frenzy

I will put them at the bottom, so click those.

Please give me opinions, ideas, etc.

Credits to:
Game Maker (Program)
Private Clark (Telling me about Game Maker)


General Gaming - The Arcade / Haven & Hearth ~Pictures~
« on: June 20, 2010, 01:01:42 AM »
Hey guys! I know it may seem like a Spam-Thread, but I thought we could use a thread to show our establishments and buildings and everything without cluttering the H&H Forums, or the other thread! So, I'll post mine first. It'll be of my Barcania Out-Of-Town farm. I just spent about 2-3 Hours buffing it out :D  :knight:  :D

Spoiler (click to show/hide)

M&B Mods - The Explorer's Society / Favorite Faction(s)
« on: May 26, 2010, 08:14:39 PM »
Ladies and Gentlemen! I have come today, for a Public Opinion! Please choose your favorite faction, or factions. Choose honestly. If you choose a Faction that is a different Mod, then list the Mod Name, and the Faction or Factions. Thanks you!

Here are some Stats of the Factions:

Swadia: Focuses on Heavy Cavalry, decent crossbowmen
Vaegir: Focuses on fast, light troops. Have low armor, but best bowmen
Norse: Have the best Footmen in the game, focus on Melee and high damage
Khergit Khanate: Totally mobile, uses bows on horse-back
Other: N/A

I was visiting, and saw this here... What does it do/help us with?

Forum Games - The Beer Cellar! / The Game Game
« on: May 02, 2010, 04:38:18 AM »
Ok, so, I have made up my OWN  game, for you all to play. Here is how it goes. Someone posts a forum game they know of, the person below finds some way to make it suck, and posts his own game, etc. etc. etc. Here's an example:

King of The Hill
King of the Hill is violent, and is there-for banned from all forums (except black market)

Indigo Room
Etc, etc etc etc

Now, the first one is....

Indigo Room

M&B Mods - The Explorer's Society / Advertisement Company
« on: April 11, 2010, 03:21:15 AM »
Hello, I have taken this time to make a useful (if not spammy ) thread. Here, You can make a post about services, Proficiencies, and etc. I will then post it on the "Home Post" and others can see who they must contact if they need a mod member. So, I know that I am posting a crap-load of threads, but i hope they're useful :P

Computer Game Development - The Indie Alley / Need Gaming Advice
« on: April 06, 2010, 09:55:26 PM »
I want to be able to make a Tower Defense Version of....*Suspense*.. MOUNT & BLADE  B)  :)  :knight:
Only one thing.. I don't know crap about scripting a GAME. I can change some basic lines on some things, but I can't do anything form scratch. Anyone think they can help?

Pages: [1] 2