Jump to content

  • Log In with Google      Sign In   
  • Create Account


stein102

Member Since 13 Aug 2010
Offline Last Active Jun 24 2014 12:43 PM

Topics I've Started

Quest scripting for 2D RPG

19 June 2014 - 11:31 AM

Hey there, I've been working on a 2D RPG using Java and the LibGDX framework. I have a working quest system right now using XML for quest data but it seems to be fairly inflexible and I want to have more flexibility in my game. I've seen a lot about using scripting langauges such as lua or Python for quest scripting. So I have a few questions.

 

1) How should one scructure a script that describes a quest? For example say you need to collect 10 of some Item and return to a specific NPC to complete the quest. After completion you get some reward.

 

2) What are the pros/cons of using LuaJ/Jython? I'm not familiar with either language so I have no bias towards either of them.

 

3) How difficult would it be for a script to interact with a java object, call Java methods, etc?

 

Any suggestions or links to references would be greatly apprecated.

Thanks.


Making a custom tmx editor

17 June 2014 - 12:18 PM

Hey everyone, I was thinking of building a custom map editor for my game that I'm working on. Currently all the map work is done using the Tiled map editor. I was curious how it would be to make a custom .tmx editor? I don't want to make anything as big as Tiled, but I want to be able to have some custom features to it. For example, I could create custom map tiles for specific things. One might be "Add new house" or something and it would place the correct tiles for a house and add collision properties and a warp where the door would be.

 

Any thoughts?

Thanks.


Deciding to switch to C++

06 June 2014 - 12:44 PM

I've been programming in Java since grade 11 in highschool(Just finished first year university) and I've made some really good progress with the language. I've made a few simple games like the ones recommended on this site. I'm currently working on a 2d RPG in Java using LibGDX and it's going fairly well.

 

My concen is that there really isn't that much support for Java game development... I mean, for the level of programming I'm doing the performance difference is negligible so that really isn't a factor. But it seems that there are WAY more good APIs and engines for C++ than you can find for Java. 99% of the gamedev books I see written are intended for C++. I'm sure the concepts transfer, but it would be better to just have a book in a langauge that you'd know.

 

Another thing I've conisdered is that I'll have to learn C++ eventually anyways if I want to become a professional gamedev after school. Not many AAA games use Java, even runescape has left it for HTML5.

 

Ranting aside, what do you guys think I should do? I was considering ordering C++ Primer, then maybe Game Coding Complete and seeing where that takes me.

 

Any suggestions would be greatly appreciated.

Thanks,

Stein102


Game coding complete (Java)

28 May 2014 - 03:45 PM

Everyone says this book is an amazing read for aspiring game devs. My only issue is that I'm not super familiar with C++, but instead Java. My question is if this book is still worth reading for the concepts alone?

 

Thanks,

Stein102


LibGdx when to use scene2d

31 January 2014 - 04:20 PM

I have a game I've been working on with LibGdx and it's a top-down 2D rpg and I'm not sure if using scene2d would be the right option for me or not. I have a bunch of rendering code as it is and the game works fine, but I feel like I'd be able to get more out of scene2d for some of the features I'm going to implement in the future. I have quite a few classes that render, but I feel like I've done it in an asinine way to begin with.

 

This is my code:

https://bitbucket.org/stein102/rscl/overview

 

You'll have to comment your bitbucket username so that I can invite you to view it(I'm not sure how to make it a public repo).

 

I've got rendering stuff in the following classes:

MapManager
PlayerEquipment
PlayerInventory
PlayerSkills
GameScreen
QuestTrackerUI
TabBar
UIManager

 

Thanks for any help :)


PARTNERS