Questions tagged [rpg]

Role playing game. A game where the player assumes a character or role, that evolves through story or character development.

Filter by
Sorted by
Tagged with
1 vote
2 answers
388 views

Can I have keyboard controls in an MMO and still do movement calcuation in the server?

I'm trying to decide between keyboard and mouse movement controls for a web-based multiplayer. It would be quite resource-intensive to use the WASD-keys and AJAX the server with controls every second. ...
user avatar
0 votes
2 answers
329 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 ...
user avatar
3 votes
1 answer
558 views

storing user data for rpg

I'm creating a single player Web rpg that will store a decent amount of information about the player, items, map, npcs, etc. I have been developing html5, javascript, php, and the mysql database ...
user avatar
  • 1,035
1 vote
2 answers
377 views

How do you account for zoom in a top down viewport?

I've been stumped on this for days so please forgive me if this question is in bad-form. I have a generic top-down RPG structure, and I want to create a zoomable Canvas viewport for it. I've read ...
user avatar
20 votes
1 answer
31k views

How to edit key-value pairs (like a Dictionary) in Unity's inspector?

I have a spell system I am creating, the principle is as follows: Each spell is an autonomous prefab. It contains a script with some properties (base damage, duration...) that can be modified in the ...
user avatar
  • 890
0 votes
2 answers
522 views

In a multiplayer game, should I store the list of character names on the Player class?

I am writing a multiplayer game that has account system and character creation system like standart MMORPGs. I have a question about name creating issue. I think that I can create a static variable on ...
user avatar
1 vote
2 answers
201 views

Different ways to load/select characters in a RPG game [closed]

I am brand new here, and have been designing a two player card game where from tens of thousands of cards each player selects up to 80 cards DECK, and then fights with those cards. For reference Yu ...
user avatar
1 vote
1 answer
2k views

How can I simulate shadows for a 2D top-down game? [duplicate]

I'm trying to simulate shadows for a 2D top-down RPG (in Python), but I can't think of the best way to do this So far I've tried making copies of the original game entities and turning all opaque ...
user avatar
  • 238
1 vote
1 answer
727 views

Rotating image around a given point

Im trying to simulate shadows in a 2d RPG, So far I can make the shadows but i cant blit them properly, Im trying to rotate them according to where the "sun" is (just a position) I have looked at ...
user avatar
  • 238
9 votes
3 answers
2k views

How can I handle versioning changes when saving assets?

I've been working on an RPG now for a while and I use two of different serialization techniques. Enemies, Weapons, items are as saved as XML. Maps and events are saved as "controlled binary" (every ...
user avatar
1 vote
2 answers
225 views

How to figure out a users earnt exp based upon calculating the difference by user and player by x?

How would I figure out a users earnt EXP based upon calculating the difference by user and player by x using this format? If the user is 60 levels less than me, I would get 0 exp (as that's just ...
user avatar
  • 41
0 votes
1 answer
342 views

Developing a browser-based RPG: Loading user data

I'm writing a browser-based RPG in JavaScript, HTML5 with Canvas, EaselJS, etc... I'd like to develop the back end data saving/user profile aspect now. This is a single player RPG where the player ...
user avatar
  • 1,035
2 votes
1 answer
530 views

How can I control how quickly a character levels up in an RPG? [duplicate]

I am working on an RPG and I've mostly followed formulas from the Dragon Quest series and they've all been fairly simple. (For example, dmg = (Attack/2 - Defense/4),...
user avatar
  • 21
3 votes
0 answers
516 views

How do you deal with loot in an RPG where all mosters drop their full inventory? [closed]

I currently have a system where both players and monsters in an RPG use equipment. This means that when an enemy is killed, I can technically drop everything they have. These are armor and weapons ...
user avatar
4 votes
3 answers
4k views

Algorithm for game difficulty/pacing curve generation in single player RPG

I'm looking at this article about pacing in entertainment and games. It suggests that all good entertainment roughly follows a pacing/engagement curve like Star Wars(below). I'm interested in how I ...
user avatar
2 votes
1 answer
507 views

How to centralize stat/feat/equipment related changes in an RPG?

I have a game with an RPG system where derived stats, like HP,armor, etc depend on a variety of components: armor, stats and feats. I'm running into an issue where the code to change derived metrics ...
user avatar
2 votes
0 answers
175 views

What should the data structure of a flexible ability system look like? [duplicate]

Hi guys I am currently working on a turn-based RPG that will require me to create numerous abilities with little overlap. I've been looking to other games to see how their ability and combat system is ...
user avatar
  • 786
-1 votes
1 answer
1k views

Can an RPG Leveling System be simulated on MS Excel?

I'm interested in seeing quickly if my leveling system still makes sense at level 60. Is there a quick way to do this on Excel?
user avatar
11 votes
1 answer
10k views

How to balance experience gain in an RPG

I am currently developing an RPG game with a classic experience-points and levelup mechanic. The player kills monsters, gains experience points, levels up when they collect enough and become stronger. ...
user avatar
  • 112k
2 votes
2 answers
1k 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 ...
user avatar
8 votes
2 answers
926 views

How to implement "identify item" feature in RPG

In many games there is an approach that you can't use item that hasn't been identified. And usualy you can't identify it by just using it. While this approach simplifies a lot of things it just doesn'...
user avatar
  • 281
4 votes
1 answer
796 views

Web single player 2d top-down RPG - background image, sprites, and new level loading

I'm making a web single player 2D top-down rpg using JavaScript (create js library) and have a couple questions. For the background image, I've currently loaded a 1000x1000 bitmap to represent the ...
user avatar
  • 1,035
4 votes
2 answers
47k views

RPG level-experience formula [closed]

I want to make an RPG game and I would like an advice on how should I create my level-experience formula. I saw this formula http://rsdo.net/rsdonline/guides/Experience%20formula.html#PHP and I ...
user avatar
  • 61
-1 votes
1 answer
878 views

How would I make an event option change after an event is used on RPG MAKER VX ACE?

I am trying to make my first RPG, and I am trying to make someone say something talking to someone once, but then when talking them to a second time, they something else. How would I do that?
user avatar
1 vote
1 answer
6k views

How to make an event appear after one event has been activated on RPG MAKER VX ACE?

I am trying to create my first RPG, and I having some difficulty to make an event appear after an event had been activated, and then disappear later, only to reappear after the player activated an ...
user avatar
2 votes
3 answers
1k views

How complex should enemy AI be in a dnd-alike?

I'm writing a text-mode (python + ncurses), turn-based rpg based loosely on 3rd edition D&D and Neverwinter Nights (the PC game) rules. It's not going to be a full implementation, but 'in the ...
user avatar
1 vote
1 answer
722 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. ...
user avatar
11 votes
2 answers
5k views

When should I use skill trees versus skill lists in an RPG? [closed]

What are the pros and cons of skill trees versus flat skill lists in role playing games? In what situations is one more appropriate than the other? Here is an example of a skill list, taken from ...
user avatar
6 votes
2 answers
2k views

How to balance hybrid classes?

In RPGs sometimes there will be hybrid-classed characters, ie, characters that can fill the roles of multiple characters. Sometimes they're really weak and useless because despite filling out many ...
user avatar
  • 1,119
5 votes
2 answers
1k views

AI for a mixed Turn Based + Real Time battle system - Something "Gambit like" the right approach?

This is maybe a question that's been asked 100 times 1,000 different ways. I apologize for that :) I'm in the process of building the AI for a game I'm working on. The game is a turn based one, in the ...
user avatar
  • 487
6 votes
1 answer
3k views

What underlying character stats would you put into your "character" object in an RPG engine

basically I'm making my own RPG/TBS engine named Uruk (making an rpg themed about the epic of gilgamesh) and I am thinking of a combat system similar to the Disgaea franchise or the Super Robot Wars ...
user avatar
1 vote
3 answers
436 views

How to properly handle equipment enchants

In my game, the player starts with a set of equipment and unlike many other hack-and-slash RPG's, this base set of stuff never changes - the player never acquires a new weapon or armor. The only way ...
user avatar
  • 383
-1 votes
3 answers
2k views

MMORPG with level system like The Elder Scrolls [closed]

Why arent there any MMORPS with a leveling system like the elder scrolls? (Leveling skills/stats by using them and upgrading your character level at X skill lvlups) And what are the Pros and Cons of ...
user avatar
  • 115
-1 votes
1 answer
268 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 ...
user avatar
1 vote
1 answer
11k views

RPG Logarithmic leveling formula?

I'm working on a RPG game, however, I am not the amazing person at math that I wish I was, although someone suggested a logarithmic equation would work well. My current idea is for this: You start ...
user avatar
-1 votes
1 answer
992 views

How was traditional 2D collision detection/resolution being done? [closed]

Just out of pure curiosity, I'm wondering how classic 2D games of the 80s/90s (The Legend of Zelda, Super Mario, Warcraft, ...) approached collision detection/resolution. For some reason I can't ...
user avatar
  • 1,457
0 votes
3 answers
853 views

Python mini RPG enemy movement. (how to have two infinite loops running at the same time)

I have a problem with my RPG. I want enemies to wander randomly. So I put: enx_speed = random.randint(-2, 2) eny_speed = random.randint(-2, 2) in the main ...
user avatar
1 vote
1 answer
5k views

How do I determine if one value is within a certain range of another in Python

I've been working on the attacking in my RPG. The problem I have recently encountered is, I have to be in Exactly the same x coordinate as the Enemy. When I want to attack the enemy this is what ...
user avatar
-1 votes
1 answer
2k 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 monsters....
user avatar
5 votes
1 answer
1k views

Working principle of an RPG map

I am currently thinking of building a basic browser-based 2D(that would eventually become 2.5D) RPG. I have planned everything and I think that would be able to accomplish the current goals, but it ...
user avatar
3 votes
2 answers
520 views

How Does Ultima 7 manage different floors in 2d

In U7, you can move among floors without the function "tranport" the player to another place, as for example the first ff ones. How can it tell whenever the character is moving from floor z to floor ...
user avatar
6 votes
3 answers
1k 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 ...
user avatar
2 votes
4 answers
4k views

RPG Chance to Dodge formula

A friend and I are trying to develop a “chance to dodge” formula that will scale from level 1-1000. I would like to see if one formula can be utilized, using a difference ratio between Character A’s ...
user avatar
  • 29
6 votes
3 answers
542 views

How should we determine which portions of the game to develop first? [closed]

We are developing an action RPG and have listed out the following modules/subsystems that we're going to need to make: HUD(Heads-up Display) System EXP/Leveling System Combat and Navigation System ...
user avatar
1 vote
0 answers
448 views

iOS cocos2d - sprite gets stuck in collision detection

I'm developing a top down game in cocos2d and I have collision code that checks collisions between enemies and the player so that they don't go through each other. The code seems to work but the ...
user avatar
  • 185
5 votes
1 answer
2k 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 ...
user avatar
  • 153
5 votes
4 answers
689 views

Calculating a RPG character's wages based off their attributes?

I am programming a Mafia RPG where you can hire people with attributes. The attributes are the same for everyone, and are ranked from 1 to 10 (although this might change to 1 to 20) I want to keep the ...
user avatar
  • 241
20 votes
5 answers
4k views

Tricks in game mechanics to avoid dealing with network lag compensation?

Implementing network lag compensation is hard, how to avoid it? Maybe it's possible to use tricks and build game mechanics in such a way that lag would be percieved as a non critical or even as a ...
user avatar
2 votes
1 answer
5k views

Pygame 2D Scrolling Map

I have currently a pygame program that stores tiles in a 2d list like [[1,1,1] [1,1,1] [1,1,1]] where the 1 is a tile object. I have the character centered in ...
user avatar
  • 45
3 votes
1 answer
2k views

Storing items in external data files

My project, in its current state, keeps all of the info for each inventory item in script files. That means, inventory items and their properties are part of the codebase. This works well, but I'm ...
user avatar

1
3 4
5
6 7