0
votes
0answers
5 views

Recommended approach for event system in Java

What are the recommended approaches for an event system of a turn-based RPG's battle engine? The system I'm currently working on has a runEvent method that sorts the actions queue based on their ...
0
votes
1answer
46 views

Enemy spawning problem [closed]

I've been trying to get my characters to spawn at random points through out the map. I have a camera which is following my main character (2D RPG Style) around the screen, but I want these "enemies" ...
0
votes
2answers
99 views

What design pattern should I employ for validating character movement?

I'm developing a RPG in Java and have a Map class, which will contain all the MapObjects (the Player, Enemies, Walls, etc.): Map.java public class Map { private int width; private int height; ...
2
votes
2answers
424 views

Database vs classes in a rpg character sheet app for android [closed]

i'm trying to develop an android app to handle character sheets in roleplay games like D&D and Pathfinder. My target is to avoid calculations of bonuses by the player who only cares to set which ...
1
vote
1answer
229 views

Collision detection with entities/AI

I'm making my first game in Java, a top down 2D RPG. I've handled basic collision detection, rendering and have added an NPC, but I'm stuck on how to handle interaction between the player and the NPC. ...
-1
votes
1answer
169 views

How would you program sprite movement in a 2-D ariel view rpg game? [duplicate]

I'm relatively new to programming and I have recently programmed an RPG game in java. Any tips on character movement with animations? I would like it to be similar to those of other rpg games such as ...
-2
votes
1answer
449 views

MVC pattern for turn-based RPG [closed]

I'd like to make a 2D game in Java using the Model-View-Controller (MVC) pattern, but I have some issues concerning the battles. There are two groups of characters in each battle: heroes and ...
4
votes
2answers
279 views

Inventory Grid Detection

I'm working on creating an inventory system for a game. The inventory system will use cells and 2D images to represent items, like Minecraft, Diablo, or WoW. I've hit a bit of a snag when trying to ...
5
votes
1answer
784 views

RPG game engine. Skill application calculations

Short preface I am a part of a small team which is entering game development. We're creating a new RPG setting with custom game system and mechanics based on dice rolls. I'm server-side java ...
2
votes
1answer
196 views

OpenGL and Java user interface architecture/comunication [closed]

I'm working on the UIs for a turn based tactical rpg made with Java and LWJGL. I'd like to make a set of "dynamic" UIs similar to those of the game Torchlight 2. I would like to know if there are any ...
1
vote
1answer
83 views

Variable Visibility Class Interaction

I have a very general question about how game classes interact with eachother in a growing RPG game project I'm working on. (Writing it in java/Slick2D, not that is matters because the question is ...
0
votes
1answer
163 views

Java: Standing Animation

I've been working on a top-down, and the player already has animations for moving left and right. However, if I move a certain distance and stop, it will stop on the walking animation, which isn't ...
0
votes
2answers
542 views

Collision Detection/Map Management in RPG

I'm making an rpg game. I have a Grid class which takes a char[][] to create tiles. The way I'm currently doing collision detection is by creating a Player and assigning it the grid it should be ...
2
votes
3answers
588 views

Movement in RPG

I want to make an RPG game in which I move tile by tile. So when I hit up, the tile row that I am on decreases by one for example. Also, it's supposed to be a slow movement so that I can see the ...
2
votes
1answer
604 views

2D RPG - Character sprite size bigger than tile size

Ok so I'm trying to make a nice little RPG game in Java & Slick2D engine, the tiles are 16x16, so the collision array is also 16x16, how ever my character sprite is 16x20 What would be the best ...
-5
votes
1answer
470 views

Java ~ RPG Game Qs: Music, Inventory, Inv Checker, Array of Weapon List and Calculations [closed]

I am here again to ask how to implement these things on my rpg game...but before that, have you ever heard of the game engine called Legendary Tales? It is like Inform but there is a better GUI and ...
1
vote
2answers
459 views

Level Creating Help

I am making a little 2d overhead RPG type game just for fun. I have almost all the basic stuff set up, but I just need a little help on level creation. I can already make a level and place each tile ...
6
votes
1answer
923 views

Method of terrain in a 3d RPG

I am working on a RPG using the JMonkey engine. While I was conceptualizing the map, I realized I would have a problem with the terrain. My problem is this: I want to have a click to move interface, ...
6
votes
3answers
2k views

Java enum pairs / “subenum” or what exactly?

I have an RPG-style Item class and I stored the type of the item in enum (itemType.sword). I want to store subtype too (itemSubtype.long), but I want to express the relation between two data type ...
9
votes
2answers
3k views

How do I tackle top down RPG movement?

I have a game that I am writing in Java. It is a top down RPG and I am trying to handle movement in the world. The world is largely procedural and I am having a difficult time tackling how to handle ...
3
votes
4answers
1k views

How to properly multi thread an RPG

I am working on an RPG type game in Java and I would like to know a few things relating to threading, What is the best way to implement a "wait for this then do this" without hanging the whole ...