Jump to content

Recommended Posts

Posted

Ok, just to say, I got this idea from GreenWolf13. I want to make a game that has multiple quest paths, exponential leveling in different skills, and an inventory tracker, while having the quests add such points and loot. The only issue is that the only programming language I have any knowledge in is lua, and I'm wondering if this would be possible.

(I have vim and the lua binaries on my computer.

Posted

You called?

THis is vey possible, and was one of the ways I thought about programming it. Unfortunately I don;t have time to do it as MageCraft is taking up a lot of time. I'd be willing to give you pointers though, if you need any help. Also, while Lua is java based, I suggest using java instead, as it is a bit more flexible.

Posted

You called?

THis is vey possible, and was one of the ways I thought about programming it. Unfortunately I don;t have time to do it as MageCraft is taking up a lot of time. I'd be willing to give you pointers though, if you need any help. Also, while Lua is java based, I suggest using java instead, as it is a bit more flexible.

I'd rather lua it first, as I understand it very well. (Direwolf20 is a good teacher.)

Posted

Dude, this is your lucky day! Computer craft have exactly that as one of it's default programs, and they're all open source, so I'd tip you to go to their forum and look for it!

If you want to try it by yourself, just go into a CC computer and type "adventure".

Posted

Dude, this is your lucky day! Computer craft have exactly that as one of it's default programs, and they're all open source, so I'd tip you to go to their forum and look for it!

If you want to try it by yourself, just go into a CC computer and type "adventure".

That isn't exactly the same thing..

Posted

That isn't exactly the same thing..

"Exactly" is an hyperbole, I have to admit, sorry. But a text-based adventure game is a pretty good start toward an RPG, and probably more helpful than starting to learn from scratch.

Posted

"Exactly" is an hyperbole, I have to admit, sorry. But a text-based adventure game is a pretty good start toward an RPG, and probably more helpful than starting to learn from scratch.

True point, but it really isn't structured anywhere near the idea I have.

Posted

Java is very similar to Lua (they are basically the same thing) nut with the advantage of having an IDE. I suggest you go get Java JDK and Eclipse.

Ok then. Would you recommend installing it on OSX, or windows?

Posted

It's up to you. I use windows, but that's because I have a PC. Eclipse is handy tool for Java development. It allows you to test out your prgrams and compile them into a java executable file. It also has tutorials on how to use Java, and it shows when you make syntax errors by highlighting them (forgetting quotes, misplacing a colon).

Posted

It's up to you. I use windows, but that's because I have a PC. Eclipse is handy tool for Java development. It allows you to test out your prgrams and compile them into a java executable file. It also has tutorials on how to use Java, and it shows when you make syntax errors by highlighting them (forgetting quotes, misplacing a colon).

Ok, I'll look into it tomorrow.

Posted

One great way I learned to program in Lisp was with a book that teaches you how to make a text based adventure. I will try to find the book and post a link here.

EDIT: Here you go http://landoflisp.com/

Watch the "ad" for the book, it is hilarious.

Posted

If it compiles, it can probably make a text-based game. If it does object-orientation (with object inheritance, polymorphism and the whole nine yards) and file parsing, it can probably make a very robust/easily maintained/easy-to-modify text-based game. If it has functional programming capabilities on top of that, then it will probably be easy to make a super-flexible core engine.

Posted

If it compiles, it can probably make a text-based game. If it does object-orientation (with object inheritance, polymorphism and the whole nine yards) and file parsing, it can probably make a very robust/easily maintained/easy-to-modify text-based game. If it has functional programming capabilities on top of that, then it will probably be easy to make a super-flexible core engine.

And if you use Java, it has everything he just said, -and- it's immediately cross-compatible. LWJGL+Slick is an easy bet, open-source and licensable to free or commercial. Or, you could go the wxWidgets route. You can't really do a true straight-to-console textual game anymore, unless you care only about running it on Un*x, and even then, ncurses is better.

Also, what you describe sounds like a singleplayer MUD.

Posted

If it has functional programming capabilities

I'm trying to think of a language without at least some form of functional programming other than assembly (which isn't a language so much as a transcoding), and I'm not succeeding. Even LISP has functions of a sort. Maybe I'm just not going back far enough...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...