Page 1 of 2

Open Source RPG

PostPosted: 22 Sep 2011, 14:10
by Sebastian_Troy
EDIT: now with a github https://github.com/SebastianTroy/OpenSourceRPG

Hello!

I am working on an open source RPG game. It is in extremely early development at the moment, here is a link to my blog : http://troygamedev.blogspot.com/

I will continually update the blog with all of the source code, past and present. It is not a serious game project, I am making it up as I go along, it is meant to be an example of how the code for a game grows and develops with time. Hopefully people who are just learning to code (I still am myself) can use the project to learn and help them on their way to making their own games.

It is completely written in Java, there is a built jar in the download link: http://dl.dropbox.com/u/31739883/OpenSourceRPG.jar

The download should take moments and its ready to go with a double click!

WARNING: I have done all the artwork so far (and I'm colourblind :S)

AIM: (actually you can do whatever you want with your very own branch)

The map will be randomly generated each game;
There will be certain structures within the map which are carefully generated to allow for a fixed storyline each game;
The player will be able to level up skills, as opposed to having 100 different types of, for example sword, they can find or buy;

IF YOU WANT TO HELP:

Do as you wish, edit the code to your hearts desire, draw as many weapons, tools, map tiles as you want.

The artwork should be light and cartoony, without too much detail. Think pokemon/minecraft/zelda(gameboy version)

Thanks for the interest :D

Sebastian Troy

Re: Open Source RPG

PostPosted: 22 Sep 2011, 14:38
by charlie
Hi Sebastian. Welcome to the community!

It is early days for you game, I see, but everything starts somewhere. :)

Any particular reason you're not using source control and a project host such as Google Code or Sourceforge or Github that provides this service for free for you?

Re: Open Source RPG

PostPosted: 22 Sep 2011, 14:43
by qubodup
The menu font looks good.

Needs a "loading" screen/info

Needs a way to get back to the main menu perhaps.

Hm. When pressing space while having a pickaxe selected and standing in front of rock I assumed it would break the rock... I guess I can only walk around now. Thanks for doing animations by the way ^^

... thinking of http://www.kingdomofloathing.com/ ...

Thanks for not using ripped zelda sprites or copying item icons from minecraft etc :)

You might want to try to use http://github.com for this project. It could save some time in the long run (no time wasted making zips and easier to undo mistakes). Although this will only be useful if you can provide a build script I suppose.

Image
Image

Re: Open Source RPG

PostPosted: 22 Sep 2011, 17:30
by Sebastian_Troy
charlie {l Wrote}:Any particular reason you're not using source control and a project host such as Google Code or Sourceforge or Github that provides this service for free for you?

Hello :D

:? I am a complete noob, and this is my first project, I didn't really know there was source control, and I'm not spending any money anyway???

Also how can I get emails every time somebody posts on this topic?

Thanks for the advice

Re: Open Source RPG

PostPosted: 22 Sep 2011, 17:34
by charlie
There is a 'subscribe topic' option at the topright of the page and also at the bottom of the page. Just click one of those links.

Sign up for Google Code, its easiest I think.

http://code.google.com/hosting/

Re: Open Source RPG

PostPosted: 22 Sep 2011, 17:35
by Sebastian_Troy
qubodup {l Wrote}:The menu font looks good.

Needs a "loading" screen/info

Needs a way to get back to the main menu perhaps.

Hm. When pressing space while having a pickaxe selected and standing in front of rock I assumed it would break the rock... I guess I can only walk around now. Thanks for doing animations by the way ^^

... thinking of http://www.kingdomofloathing.com/ ...

Thanks for not using ripped zelda sprites or copying item icons from minecraft etc :)


Hi Qubodup,

Thanks :D, I was just wondering why you have such a low FPS... my laptop is pathetic and handles the program with ease!

also you should be able to break rocks and cut down trees already, unless you are using some of the older source code :)

press the 'm' key to return to the menu!

Thanks for the interest in my project :D

Re: Open Source RPG

PostPosted: 22 Sep 2011, 18:06
by charlie
Hi Sebastian,

I recommend this tileset:
http://opengameart.org/content/the-mana ... st-tileset

dambf5.png


Also there's lots of great fantasy icon packs:
http://opengameart.org/content/420-pixe ... antasy-rpg
http://opengameart.org/content/fantasy- ... -ravenmore

Animated character sprites are a bit harder to come by but some unanimated ones could be a good placeholder:
http://opengameart.org/content/knights- ... tairs-more

Saying that, this might be useful:
http://opengameart.org/content/pixel-ar ... style-base

male armor and hair_0.gif

Re: Open Source RPG

PostPosted: 22 Sep 2011, 18:56
by Sebastian_Troy
I updated the textures a bit,

So far you should be able to:

Break rocks
Cut down Trees
kill Mobs (only a few around) - my computer can handle 10,000 of them with loop time to spare but I only set the number to 100 for the built jar
collect small stones

I wonder if the keyCode for space bar on different computers is different? maybe that's why it wasn't working for you :?

Re: Open Source RPG

PostPosted: 07 Nov 2011, 20:50
by shirish
Dear sebastian,
I would also encourage you to use source control. They have numerous advantages both to you as a developer and me as a user :-

a. Most of the source control makes it easy to change individual files so the diffs between two commits is small. Its much easier for guys like me to use source control then to download each release from some unknown place each time.

b. I see you use dropbox which again makes it possible for users/gamers to get an older copy. If you have source control then users do not need to come to your blog each time to see where the copy is and would probably mail you or something if something comes across. At least I do in case if a website or a forum is not there.

c. At times real life can get busy. With the way you have set up things, you could lose motivation, you could get bored and that would be it, in a source control you can invite people and they could hack on your stuff (easily) fork it or do whatever. The ability of using wisdom of the crowds is more possible here then in the workflow you have. In long term it helps.

A side benefit of using source control is you would understand how open development really works.

Now its upto you.
I do hope you would consider trying it out. There is much to learn and have fun.

Re: Open Source RPG

PostPosted: 10 Nov 2011, 22:00
by shirish
something more, the instructions should be explicit. There would be people like me who don't know how to play it.

{l Code}: {l Select All Code}
$java -jar TwoDee.jar


Btw I don't know you cut down the stones, or maybe its not playable at its current stage/place ?

Re: Open Source RPG

PostPosted: 11 Nov 2011, 02:29
by qubodup
shirish {l Wrote}:
{l Code}: {l Select All Code}
$java -jar TwoDee.jar

Back in the days (during my first two years of blogging for freegamer) I so often gave up on testing java and pygame projects because there were no run instructions (simple stuff like `python Game.py` and `java -jar Game.jar`) and I couldn't figure out how to run the games. :)

Re: Open Source RPG

PostPosted: 11 Nov 2011, 14:27
by Sebastian_Troy
Yeah, I'm sorry about the sloppiness of the project, I was in a rush to post it online before I started uni, and since then I haven't paid a huge amount of attention to it.

Just quickly, controls are arrow keys to move and the space bar to interact with the tile in front of you. You can select an item from your inventory by clicking on it or cycle through your inventory using the WASD keys. :)

thanks for the interest, I am sure I will be back on this project in a few weeks time and I will sort out source control and add a small wiki :)

Re: Open Source RPG

PostPosted: 04 Dec 2011, 20:47
by shirish
Sebastian, any update on this ? Meanwhile you can see the help section of github to see how to use git, for e.g. if you are on GNU/Linux try this http://help.github.com/linux-set-up-git/

Re: Open Source RPG

PostPosted: 05 Dec 2011, 05:07
by DangerOnTheRanger
See how a version control system would help here, Sebastian? People could check how often you modified the source code of your game, so they could see how often you're working on it (or whether the game itself is dead).

Re: Open Source RPG

PostPosted: 07 Dec 2011, 01:56
by Sebastian_Troy
I am still planning to work on this project, I am currently being confused by google project hosting, and am being inundated by life right now, but I am going to be back on this project soon, the guide on the google code site reads like it was written for experienced users, or maybe I'm just that dumb... Thanks for the continued interest, I promise I'll sort it out soon :D

Re: Open Source RPG

PostPosted: 08 Dec 2011, 12:17
by shirish
Sebastian_Troy {l Wrote}:I am still planning to work on this project, I am currently being confused by google project hosting, and am being inundated by life right now, but I am going to be back on this project soon, the guide on the google code site reads like it was written for experienced users, or maybe I'm just that dumb... Thanks for the continued interest, I promise I'll sort it out soon :D


Whenever you can, having more RPG's is definitely fun. You will find any number of subversion or mercurial or git tutorials, just depends on what you feel for.

A good suggestion would be to go is to go for git as it has local history which as a user I find easier to do things, also the commands are very simple.

A good URL to find about why git is http://whygitisbetterthanx.com/ , it will blow your mind :P

Here's a handy tutorial to get you started whenever you want/can.

http://www.thinkplexx.com/learn/article ... sion-users

If you do not like command-line for any reason then would recommend you try/use Tortoise's products. They have GUI front-ends for almost all the version control systems in play today.

A handy tutorial for the GUI Front-end http://software.krimnet.com/windows-xp/ ... -guide.htm if you are going to be using MS Windows

There is also git-cola which is also a GUI for use in GNU/Linux (Debian for sure, Ubuntu not sure)

http://git-cola.github.com/screenshots.html
)

Re: Open Source RPG

PostPosted: 19 Dec 2011, 22:17
by Sebastian_Troy
The complexity of any of these options seems ludicrous for such a seemingly simple task, if only i could set up an open source project that could fix that... XD

Re: Open Source RPG

PostPosted: 20 Dec 2011, 18:42
by farcodev
"Sorry, the blog at troygametwodee.blogspot.com has been removed."

damn :(

Re: Open Source RPG

PostPosted: 20 Dec 2011, 22:16
by Sebastian_Troy
Updated the link, thanks for the heads up :D

Re: Open Source RPG

PostPosted: 21 Dec 2011, 00:17
by farcodev
no problems, thank you too ;)

Re: Open Source RPG

PostPosted: 21 Dec 2011, 02:19
by DangerOnTheRanger
Sebastian_Troy {l Wrote}:The complexity of any of these options seems ludicrous for such a seemingly simple task, if only i could set up an open source project that could fix that... XD


Neither Git or Mercurial are all that hard to learn; I advise you to take a week or so to learn the basics of one (or both) - your source code will thank you :)

Re: Open Source RPG

PostPosted: 21 Dec 2011, 12:44
by Sebastian_Troy
DangerOnTheRanger {l Wrote}:Neither Git or Mercurial are all that hard to learn; I advise you to take a week or so to learn the basics of one (or both) - your source code will thank you :)


Yeah, a week... surely it should be as simple as selecting the source files and clicking on a nice little upload button? There really should be a program to do that, if it is apparently so simple :p

I really don't have a week to dedicate to this right now, maybe an hour here and there, and so far that has been impeding my progress greatly :(

Re: Open Source RPG

PostPosted: 21 Dec 2011, 20:53
by Crendgrim
Sebastian_Troy {l Wrote}:
DangerOnTheRanger {l Wrote}:Neither Git or Mercurial are all that hard to learn; I advise you to take a week or so to learn the basics of one (or both) - your source code will thank you :)


Yeah, a week... surely it should be as simple as selecting the source files and clicking on a nice little upload button? There really should be a program to do that, if it is apparently so simple :p

Well, both Git and Mercurial are console programs, but there actually are GUIs for them. Just look around and you'll surely find something. If you happen to use KDE, btw, just install the respective service menu for Dolphin and you'll have transparent integration of git/hg and Dolphin.

Re: Open Source RPG

PostPosted: 13 Apr 2012, 22:37
by Sebastian_Troy
This project now has a github, check it out! https://github.com/SebastianTroy/OpenSourceRPG

Re: Open Source RPG

PostPosted: 15 Apr 2012, 03:31
by KIAaze
Any plans on joining the liberated pixel cup? An RPG seems strangely appropriate. :)