Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (487)
Games in Android Showcase (112)
games submitted by our members
Games in WIP (553)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  File Loader  (Read 4075 times)
0 Members and 1 Guest are viewing this topic.
Offline Joshua Waring

Senior Member


Medals: 4
Projects: 2



« Posted 2012-10-29 06:07:05 »

I wanted to make something insanely easy to use for those beginners like me, so I made a file loader which I don't if people will find it useful
but I call it RESF and it stands for Really Easy Setting File, it stores values with a name which can be edited with ease.
It reads each line and breaks it down into two parts, the name and a value, both in the form of strings.

I've attached an Example and the output of the example in the link.
this was really me just exploring files to help with there understanding. I would like to add support for reading Vectors and Arrays.

EDIT: -facepalm-
https://github.com/Joshhua5/RESFLoader/tree/master/RESFLoader/src/RESFLoader

just to fit in with the rules.

The world is big, so learn it in small bytes.
Offline Danny02
« Reply #1 - Posted 2012-10-29 09:44:37 »

I guess it was good practice for you, but as always 99% of what you do have already been done^^

http://www.mkyong.com/java/java-properties-file-examples/
Offline Joshua Waring

Senior Member


Medals: 4
Projects: 2



« Reply #2 - Posted 2012-10-29 09:59:59 »

haha, they really are similar. Great minds think alike Grin

The world is big, so learn it in small bytes.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline ReBirth
« Reply #3 - Posted 2012-10-29 14:10:02 »

Don't be afraid to reinventing the wheel. If you find one similar to your, make better than their!

Offline masteryoom

JGO Coder


Medals: 5
Projects: 2


If you look closely, you might see it turning...


« Reply #4 - Posted 2012-11-05 09:21:01 »

Don't be afraid to reinventing the wheel. If you find one similar to your, make better than their!
You know, you might want to change your grammar.  Grin

Smiley
Offline ra4king

JGO Kernel


Medals: 345
Projects: 2
Exp: 5 years


I'm the King!


« Reply #5 - Posted 2012-11-06 02:17:54 »

Don't be afraid to reinventing the wheel. If you find one similar to your, make better than their!
You know, you might want to change your grammar.  Grin
He's foreign Grin

Offline Jimmt
« League of Dukes »

JGO Kernel


Medals: 128
Projects: 4
Exp: 3 years



« Reply #6 - Posted 2012-11-06 03:02:10 »

Don't be afraid to reinventing the wheel. If you find one similar to your, make better than their!
You know, you might want to change your grammar.  Grin
coding skill importance > grammar skill importance
Offline ReBirth
« Reply #7 - Posted 2012-11-06 11:33:28 »

I have heard that so many times (about grammar). Hope you understand that writing an english sentence costs me more calories and neuron stress for me. Here you go, without any help,

Quote
Don't be afraid in reinventing the wheel. If you find one thing similar to yours, make one that better than theirs!

Offline theagentd
« Reply #8 - Posted 2012-11-06 14:52:40 »

I have heard that so many times (about grammar). Hope you understand that writing an english sentence costs me more calories and neuron stress for me. Here you go, without any help,

Quote
Don't be afraid in reinventing the wheel. If you find one thing similar to yours, make one that better than theirs!
10/10

A+

 Grin

Myomyomyo.
Offline Nate

JGO Kernel


Medals: 145
Projects: 4
Exp: 14 years


Esoteric Software


« Reply #9 - Posted 2012-11-06 23:00:36 »

Not quite 10/10... Wink
Quote
Don't be afraid in to reinventing the wheel. If you find one something similar to yours, make one that that better than theirs!
Grin

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline ra4king

JGO Kernel


Medals: 345
Projects: 2
Exp: 5 years


I'm the King!


« Reply #10 - Posted 2012-11-06 23:02:01 »

Still not 10/10!
Quote
Don't be afraid to reinvent the wheel. If you find something similar to yours, make that it better than theirs!

Offline StumpyStrust
« Reply #11 - Posted 2012-11-07 00:58:28 »

Woh!! is English everyone's second language here? I know that I can use proper grammar when it counts but man....like 5 corrections and of all people, ra4king has to lay the smack on the proper correction. I only say that because from what I know of Mr. King, he is from Egypt.

Offline ReBirth
« Reply #12 - Posted 2012-11-07 03:52:18 »

My point is suggesting that you shouldn't afraid in the middle of process creating something by thinking "am I reinventing?" so I picked "reinventing the wheel" and used "in". For second clause of second sentence I prefer ra4king's sense, "it" sounds better.

Offline StumpyStrust
« Reply #13 - Posted 2012-11-07 03:59:05 »

You are actually doing much better then 90% of the professors at my university. You could clarify it even more but at this point it is unnecessary and yes ra4king gave proper grammar.

One thing that many Americans forget is all the Americanisms. Such as, easy as pie, piece of cake, or....y'all.

Offline Nate

JGO Kernel


Medals: 145
Projects: 4
Exp: 14 years


Esoteric Software


« Reply #14 - Posted 2012-11-07 05:09:11 »

Yeah "it" is good. Smiley I guess "afraid of reinventing the wheel" would be closer to the original intent (just "of" instead of "in").

As a coder, most spelling and grammatical errors stick out for me, especially stuff Like arbitrary capitalization. I'm really shite at other languages though, so kudos to you if you have passable English as a second language, even if your English grammar sucks. Smiley

Offline Joshua Waring

Senior Member


Medals: 4
Projects: 2



« Reply #15 - Posted 2012-11-07 05:26:48 »

Little English lesson here.

The world is big, so learn it in small bytes.
Offline masteryoom

JGO Coder


Medals: 5
Projects: 2


If you look closely, you might see it turning...


« Reply #16 - Posted 2012-11-07 05:29:24 »

As a coder, most spelling and grammatical errors stick out for me, especially stuff Like arbitrary capitalization. I'm really shite at other languages though, so kudos to you if you have passable English as a second language, even if your English grammar sucks. Smiley
Yes, I salute you if you have English as a second language (because apparently English is the hardest language!  Smiley)
So, if you have English as a second language,  Wink
(Even though I am a native English speaker)

Smiley
Offline ra4king

JGO Kernel


Medals: 345
Projects: 2
Exp: 5 years


I'm the King!


« Reply #17 - Posted 2012-11-07 05:35:03 »

I'm trilingual, being fluent in English, French, and Arabic. I'm good at grammar Smiley

Offline Joshua Waring

Senior Member


Medals: 4
Projects: 2



« Reply #18 - Posted 2012-11-07 06:44:50 »

I'm native English, but I never really took much interest into it at school and now I'm paying the price with university entrance requirements. (I have a way to bypass the system!)

The world is big, so learn it in small bytes.
Offline matheus23

JGO Kernel


Medals: 106
Projects: 3


You think about my Avatar right now!


« Reply #19 - Posted 2012-11-07 15:29:37 »

As this turned out to be a "what is your primary language thread" Grin :

I'm german and partly russian...

this my enklisch its...

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Offline Kryel

Senior Newbie





« Reply #20 - Posted 2012-11-07 16:38:08 »

Quote from: NeverHappened
What is your primary language thread.
I'm french  Grin
Offline StumpyStrust
« Reply #21 - Posted 2012-11-07 17:47:43 »

well....English is my native language and I still suck balls at it. Most people suck balls though. Funny thing is some of the best writing mechanics I have seen come from foreigners.

Offline matheus23

JGO Kernel


Medals: 106
Projects: 3


You think about my Avatar right now!


« Reply #22 - Posted 2012-11-07 17:49:13 »

well....English is my native language and I still suck balls at it. Most people suck balls though. Funny thing is some of the best writing mechanics I have seen come from foreigners.

But I think we are more talking about Grammar skills then writing skills Wink

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Offline Ultroman

JGO Knight


Medals: 25
Projects: 1


Snappin' at snizzes since '83


« Reply #23 - Posted 2012-11-07 20:56:03 »

"Oi! You find anythin' sort o' like yours, you make your one be'er!"

Proper british

- Jonas
Offline BoBear2681

JGO Coder


Medals: 18



« Reply #24 - Posted 2012-11-08 04:06:00 »

Still not 10/10!
Quote
Don't be afraid to reinvent the wheel. If you find something similar to yours, make that it better than theirs!

Isn't this still technically wrong?  I can't remember what it's called, dangling modifier maybe?  Here quite literally, "it" is referring to the "something similar to yours" that you found, when the *intent* was for "it" to refer to your own stuff.
Offline ra4king

JGO Kernel


Medals: 345
Projects: 2
Exp: 5 years


I'm the King!


« Reply #25 - Posted 2012-11-08 04:11:32 »

FIIINE

Quote
Don't be afraid to reinvent the wheel. If you find something similar to yours, make yours better!

Happy?

Offline ReBirth
« Reply #26 - Posted 2012-11-08 04:14:30 »

@ra4king
now you know my feel Grin

Offline Riven
« League of Dukes »

JGO Overlord


Medals: 783
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #27 - Posted 2012-11-08 21:20:59 »

Moved to Shared code Pointing

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

TehJavaDev (12 views)
2014-08-28 18:26:30

CopyableCougar4 (24 views)
2014-08-22 19:31:30

atombrot (37 views)
2014-08-19 09:29:53

Tekkerue (30 views)
2014-08-16 06:45:27

Tekkerue (29 views)
2014-08-16 06:22:17

Tekkerue (18 views)
2014-08-16 06:20:21

Tekkerue (28 views)
2014-08-16 06:12:11

Rayexar (65 views)
2014-08-11 02:49:23

BurntPizza (41 views)
2014-08-09 21:09:32

BurntPizza (33 views)
2014-08-08 02:01:56
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!