Golden Sun Hacking Community
January 24, 2019, 08:29:22 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
  Home   Forum   DC Wiki Help Search Calendar Downloads Login Register  
Pages: 1 [2]   Go Down
  Print  
Author Topic: coding, and using tech in general.  (Read 4333 times)
0 Members and 1 Guest are viewing this topic.
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 0
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2433

« Reply #15 on: January 14, 2014, 04:51:00 AM »

1.)  2-dimensional arrays? Normally, I like to flatten it out to 1-dimensional (Even with maps), but that's just me.

VB.NET = http://msdn.microsoft.com/en-us/library/7ee5a7s1.aspx

Dim variable(rows, columns) as DataType


Java

dataType variable = value;

I think when you do arrays in Java, you also use the new keyword.

Example: int variable[] = new int[number];


2.) In VB.NET, using the Paint handler with e.Graphics.drawrectangle should do. http://www.techotopia.com/index.php/Drawing_Graphics_in_Visual_Basic

I haven't looked into that on Java.


3.) Simple stuff..

VB.NET:

For variable as DataType = number To number Step number

Next

(Step might not be required if its value is 1.)


If condition Then

End If

(Note that End If isn't required if it's only on one line.)


Java:

for (dataType variable = number; condition; operation) {

}

if (condition) {

}


condition example: i<8
operation examples: i++, ++i, i+=1, etc.



If you want to have fewer numbers (or something), consider using for each when appropriate.
« Last Edit: January 14, 2014, 05:00:40 AM by Teawater » Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Remember kids! Before you go on that interview, remember to wash your hands in teawater! *Coughs on hand* (Excuse me, I just coughed up a little teawater, so they're still clean!) You wouldn't want that hiring manager to be unimpressed.

May the force be with you!
Shoo! Why does it smell in here?
Maybe that's the wrong kind of force. *smirk*
View Profile
Thunder-squall
Mercury Clan

Great Member
*

Coins: 0
Offline Offline

Posts: 538

« Reply #16 on: January 14, 2014, 05:14:00 AM »

1.)  2-dimensional arrays? Normally, I like to flatten it out to 1-dimensional (Even with maps), but that's just me.

VB.NET = http://msdn.microsoft.com/en-us/library/7ee5a7s1.aspx

Dim variable(rows, columns) as DataType


Alright, I was overwhelmed by your post, and had no idea what was going on in that link.  I have two options with which to progress:

1) Go off on my own, and start with "Hello World."
2)  If there was enough interest from other forum-members, would you lead a sort of virtual class?
Logged
View Profile
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 0
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2433

« Reply #17 on: January 15, 2014, 07:28:40 AM »

Okay, sorry for such a bad post, but I have a feeling that this is the type of stuff better to do in live chats. (Like texting on Skype.) The reason being is that questions can be answered one at a time with ease.

What exactly did you have in mind when you said virtual class? (Is this something to do with an external website?)

Either way, I suppose it is a good idea to do some of the tutorials like Hello World to start with, since you can learn a thing or two as a beginner.


Usually, I find myself going back to the same websites when I try to learn something about a language, so don't be afraid to scan the docs when visiting notable sites.

For Visual Basic, it's msdn. For Java, I believe it's oracle. But then there are general programming help sites like stackoverflow.
« Last Edit: January 15, 2014, 07:36:15 AM by Teawater » Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Remember kids! Before you go on that interview, remember to wash your hands in teawater! *Coughs on hand* (Excuse me, I just coughed up a little teawater, so they're still clean!) You wouldn't want that hiring manager to be unimpressed.

May the force be with you!
Shoo! Why does it smell in here?
Maybe that's the wrong kind of force. *smirk*
View Profile
Thunder-squall
Mercury Clan

Great Member
*

Coins: 0
Offline Offline

Posts: 538

« Reply #18 on: January 15, 2014, 08:31:50 AM »

I say you should make a thread and let people 'sign' up.  And if enough people sign up, then you'll know it's worth it for you to put in the effort.

Basically, I imagine you'd just give us small weekly assignments, and we'd then work together to get them done.  Sort of like an apprenticeship.  And you could basically groom us to help you with what you're doing.
Logged
View Profile
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 0
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2433

« Reply #19 on: January 15, 2014, 08:53:29 AM »

Done. How many people do you suggest would be enough to be worth it for me to put in the effort?

Hmm.... Any ideas about how small these weekly assignments would be? Would it be like making a checkers or chess game? Or a bit simpler than that?
Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Remember kids! Before you go on that interview, remember to wash your hands in teawater! *Coughs on hand* (Excuse me, I just coughed up a little teawater, so they're still clean!) You wouldn't want that hiring manager to be unimpressed.

May the force be with you!
Shoo! Why does it smell in here?
Maybe that's the wrong kind of force. *smirk*
View Profile
Thunder-squall
Mercury Clan

Great Member
*

Coins: 0
Offline Offline

Posts: 538

« Reply #20 on: January 15, 2014, 10:09:37 AM »

I have no idea, my friend. So I'm just going to learn by doing, too.
Logged
View Profile
Pages: 1 [2]   Go Up
  Print  
 
Jump to:  

Cbox
January 20, 2019, 06:29:27 PM
Fox: That would be cool to have, yes. Where the text in the ROM is uncompressed. - The huffman compression used in the gba games is not used in the nds game, so perhaps that may be one reason it wasn't done. I think it is some generic compression thingy. If someone did do it (and make the entire ROM uncompressed), perhaps I would be more inclined to work on my dark dawn editor. Hm?
January 15, 2019, 05:38:01 PM
KyleRunner: Could someone please create a GSTOOLKIT compatible with Dark Dawn? I'll try to translate that one to my language as well (as I did with the first two games).
January 09, 2019, 02:39:00 PM
Luna_blade: I wonder when true death will strike
January 08, 2019, 03:00:02 PM
Misery: That is true
January 07, 2019, 06:08:38 PM
JamietheFlameUser: so this place is pretty inactive
December 17, 2018, 06:43:36 AM
Salanewt: Okay, minor announcement I guess. We just looked over some pre-release footage of GS1, and noticed that one of the unused and unlisted animations we discovered in GS2 (and GS1) plays in that footage. "Brine" is actually an early Fizz.
December 15, 2018, 01:06:23 AM
Fox: :D https://www.youtube.com/watch?v=MFmr_TZLpS0
December 15, 2018, 12:58:01 AM
Fox: A banana for you, a banana for me, a banana to your face. Your face is mine! A face for you, a face for me. A face for the banana too. Who wants to feed the banana?
December 09, 2018, 07:43:31 PM
Fox: A banana for you, a banana for me, let's all open a banana and enjoy!
December 08, 2018, 09:48:52 PM
Drake baku: ba... ba.... bana.... bana.... banana.... nanananananananana..... and now back to doing normal, kinda
December 07, 2018, 05:43:02 PM
Luna_blade: Hey I forgot the christmas theme
November 29, 2018, 09:01:09 AM
zman9000: ded
November 19, 2018, 11:05:28 AM
Drake baku: Good day to ya all
October 30, 2018, 09:45:58 PM
Atrius: There used to be where I got the battle sprites for Kraden, but that site doesn't exist any more.
October 26, 2018, 01:31:40 PM
Infitek: Do you know if there any custom Alex battle sprites available on the internet ?
October 26, 2018, 01:31:01 PM
Infitek: Hey everyone
October 13, 2018, 03:23:06 AM
Salanewt: Updated it to provide more info that I forgot to mention.
October 13, 2018, 03:16:48 AM
Salanewt: I'm still trying to iron out IQ 2 but I'm pretty sure it's entirely random targeting.
October 13, 2018, 03:16:29 AM
Salanewt: Oh yeah, I posted some more info about enemy IQ.
October 12, 2018, 09:51:27 PM
FoxThe HTML5 project is too small to count

Affiliates
Temple of Kraden Golden Sunrise
Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.074 seconds with 22 queries.