Pretty neat text-based RPG that I made. Currently my first game.

Member Avatar
Member Avatar
+0 forum 18

Hello Everyone, So I've begun a new project, in an attempt to show off my progress with Javascript. I'm making a little text-based RPG. However, I would like for it to permanently save your character and their progress. Thus, I need a MySQL database. I won't lie, I've only used MySQL very sparingly in the past and I am very much a beginner. Thus, I'm still struggling whats the best way to even format the database and tables. Here's my idea, 3 tables: **Users:** userid **Item Description:** | Name | Type | Attack | itemid **Player Inventory:** | itemid | …

Member Avatar
Member Avatar
+0 forum 8

I accidentally posted a lower version of the game that had more flaws, and a few less features. This one has a few more minor bugs fixed, and a power attack instead of a normal attack.

Member Avatar
Member Avatar
+0 forum 14

So i'm making an rpg game in xna. I can move my player around the screen, however it can also move off the screen. How can I implament a simple camera that will follow the player and prevent them from moving off of the screen? I only need it to follow, not zoom or rotate or anything like that. Any responses will be greatly appreciated!

Member Avatar
Member Avatar
+0 forum 2

Hey guy I'm wondering if there is a tutorial or example code for a C++ RPG inventory system. I've surfed the website and I only discovered to make two classes, item and inventory and to use each of them for item's detail and holding the items in a linked list. I'm hoping my long search for such a tutorial can end.. Thank you.

Member Avatar
Member Avatar
+0 forum 5

I'm having trouble with a couple of things in my program. I want to create 3 different players and then record their scores to a file called highScores.txt I need to also come up with another game that features an array in it (i would put this in the place that says //ARRAY GAME WITH point values here)...this game should just like the other two games have point values. Also, I tried creating one of the players and I get a compiling error that says: project2.cpp:131: error: ‘x’ was not declared in this scope project2.cpp:169: error: ‘x’ was not declared …

Member Avatar
Member Avatar
+0 forum 1

Hey! I am an experienced programmer (php, javascript, mysql, some ajax) who is looking for an experienced and competent graphic and/or web designer with whom to create a text-based RPG. I will assume the financial risk and the programming responsibilities. I need someone to make the banners, logos, icons, and the layout for the game possibly including the CSS. Also looking for someone creative to help with content development (brainstorm with me to design the game). You will recieve a percentage of the profits once the game becomes profitable. If you meet this criteria and are interested please email me …

Member Avatar
Member Avatar
+0 forum 1

Hi there. I'm looking to create a textbased browser game based on my old favorite anime. I figured out the basic structure of the data, but i've got one problem. is there a way to set the data up where a single user can have several of one item, each one upgradable seperately? I would appreciate any help.

Member Avatar
Member Avatar
+0 forum 7

Hi guys, I was making a text based game in javascript.. Here it is: <!doctype html> <script type="text/javascript"> //Experimental Code - Text Based RPG function error() { alert(+choice+ "is not a recognised command") maingame() } function maingame() { choice = prompt('You find yourself in a dark room...do you\n[1]Eat cheese\n[2]Do stuff') if (choice==2) { next() } else { error() } } </script> <body onload="javascript: maingame()"> </html> Ok. And here is the faulty part of the code (if you could not find it above) function error() { alert(+choice+ "is not a recognised command") maingame() } It should give an alert box returning …

Member Avatar
Member Avatar
+0 forum 3

Hi guys, I am having a problem with the following code: #Health set here def win(): import time print "You win!" print "Thanks for playing" time.sleep(10) quit() def lose(): import time print "You lose!" print "Thanks for playing" time.sleep(10) quit() from random import randint pos_damage = randint(15,472) en_health = 1000 pl_health = 1000 #Define Caves cave_p1 = "This part of the cave seems quite, strange, it is rather dark too." cave_p2 = "There is not much here, quite....blank." cave_p3 = "Rocky area, i'm afraid you might not make it without something" #Use modules import os, random from time import sleep …

Member Avatar
Member Avatar
+0 forum 3

Hi guys, I've been a longtime reader here for a while, but this is my first post. I just submitted a game I've been working on for the past month, called Labyrinth of Zarus, to the Pokki HTML 5 game contest. I'm in the running to win a laptop and potentially more prizes, so I'm hoping you guys can try out my game and let me know what you think. Labyrinth of Zarus is a retro-themed adventure/dungeon crawler video game. You play as a treasure hunter searching for the lost treasures inside the labyrinth. Collect treasure, explore levels and fend …

Member Avatar
Member Avatar
+0 forum 2

Right, i'm REALLY new to this whole thing, coding and everythiong. But for my first proper project I've decided to make a Text Based RPG. I've got most of it done now, but am having problms working out how to make random damage from the enemies. At the moment, each Enemy does a set ammount of damage, and I want to be able to have aa set of two or three ammounts of dammage per enemy. here's the code for my battles: [CODE] #include <stdlib.h> #include <iostream> using namespace std; int healthpotion = 5; int magicpotion = 5; int firespell; …

Member Avatar
Member Avatar
+0 forum 2

can someone help me make my code more simple. i uploaded the source to my website in a zip file with all the images because i used pygame and if you want to test it you will need the images. you can download everything here [url]http://2nh.co/Tk[/url] or here is the code. [CODE]import sys, random, time, pygame, os, threading from pygame.locals import * def print_text(font, x, y, text, color=(255,255,255)): imgText = font.render(text, True, color) screen.blit(imgText, (x,y)) #main program begins pygame.init() screen = pygame.display.set_mode((600,500)) pygame.display.set_caption("Critter") white = 255,255,255 red = 220, 50, 50 yellow = 230,230,50 black = 0,0,0 white = 255,255,255 …

Member Avatar
Member Avatar
+0 forum 5

I just decided that I wanted to make one with C++, but I'm not really sure what I should put in it. Any ideas? I don't just want it to be some boring thing where you have to "Press enter to continue" all the time.

Member Avatar
Member Avatar
+0 forum 11

I'm a first timer with RPG-IV and am trying to write a D-spec. I don't know what the source type should be... tried PF, DSPF, D, DS.... I try to compile the file and it gives me an error involving DDS. Any advice would be great... if I knew what information I should give you I would but the only experience I've had in the past with structured programing is COBOL...

Member Avatar
Member Avatar
+0 forum 3

Hi fellow daniwebs, I was wondering are there any people who play online RPG's not in the sense of WOW or any other MMORPG I mean as in games such as Dungeons and Dragons pen and paper style. If anyone does do they know of a PbP(play by post) group's that are looking for an extra player. Or are there enough people on Daniweb that want to start a game. Or even organising to play over skype,mumble,vent or TS2 or what ever people use these days once a week or what ever. I'm not just talking about Dungeons and Dragons …

Member Avatar
Member Avatar
+1 forum 7

I bought this cheap computer game the other day, called I of the dragon. I was STOKED. It's an adorable RPG where you can play as a dragon and build a town to protect. nerdy, i know... I didn't read the spex, unfortunately, and popped it into my PC to find that I need windows 2000 or xp to run it. I'm using Vista. I'm thinking of running parallels with my vista AND windows 2000. Sounds dumb, but i REALLY want to play this game. Does anyone have any other suggestions? How can I get this game running?

Member Avatar
Member Avatar
+0 forum 3

i'm doing a rpg for fun but this one function is giving me problems. it compiles without problems, but when i test it, the hp stats done change. this is the code for the function. [CODE=c]void attack(dragon *d1, dragon *d2) { if(d1->getdef() < d2->getatk()) { d1->changehp(- ( d2->getatk() - d1->getdef() ) ); }else if(d2->getdef() < d1->getatk()) { d2->changehp(- (d1->getatk() - d2->getdef() ) ); } if(d1->gethp() == 0) d1->setout(true); /* set to unconscious */ }[/code] and this is the code for the dragon class [code=c]class dragon { private: string name; int atk, def, acc; int type, lvl, hp, hpmax, exp, expmax; …

Member Avatar
Member Avatar
+0 forum 15

This is a simple game that I am bringing to a close. It is called Slash and Smash. The goal is to defeat the last opponent, who is a champion of the arena. In the game player can use potions for health and energy,go to sleep, heal up, eat and drink, gamble, beg for money, improve level, use magic, get perks and many other things. In the final stage of programing I'll add more perks and magic, complete all 22 enemys and I will put buy and sell system for items. But before that, I ask you to help me …

Member Avatar
Member Avatar
+0 forum 10

[B]Ah! Never mind! I forgot you could embed classes such as:[/B] [code]class Heroes(): class Lords(): class Phill(): hp = 25 >>> Heroes.Lords.Phill.hp 25[/code] ------------------------------------------------------ I am attempting to write an RPG in Python. I am not worrying about the battle system or mapping quite yet, and am more focused on the internal variable handling. My biggest concern is not how to set each variable, but how to format my code to make this as efficient as possible. Is it better practice to create a class for the heroes and then a function for each hero? Or is a class for …

Member Avatar
Member Avatar
+0 forum 7

I want to Develop a 2d rpg game with java,how do i start and what do i need to know? I have been using java for two years.my team consists of two programmers and one graphic artists

Member Avatar
+0 forum 0

Hi guys!! I made a simple RPG where the player can move along the x and y coordinates, choose a class and meet opponents. I accept any suggestions on how to improve game. [ATTACH]17738[/ATTACH]

Member Avatar
+0 forum 0

[code] c = new Console (); int lvl = 1; double exp = 0; int x = 1; double monsterhp; int monslvl = 1; int a = 1; while (a == 1) { int lvlup = 10 + (lvl * 40); if (exp >= lvlup) { lvl = lvl + 1; exp = 0; } double maxhp = 50 + (lvl * 5); double maxmp = 5 + (lvl); double hp = maxhp; double mp = maxmp; hp = Math.rint (hp); double hpbar; double mpbar; a = 0; double monsgen = Math.random () * 10; monsgen = Math.round (monsgen); String …

Member Avatar
Member Avatar
+0 forum 5

The father of Gordon's love interest the HalfLife 2 series is in one of the picture phone adds (he is the grandfather seeing his grandchild for the first time). I was in the kitchen when I heard that voice - I have played so much HL2 that I could not miss it. Then I saw him and the rendering was perfect - down to the beard. I love that game and drift back to it occasionally - I just wish they would release another episode.

Member Avatar
Member Avatar
+0 forum 2

I'm a fairly advance Python programmer. I'm am making a text based RPG which is easy for my skill but I've been wanting to learn XML for my C# project especially. My RPG is HEAVILY inspired by fallout 3. I love the dialogue options and I want to write an xml file to store the dialouge for each NPC. So basically a giant If statement in an XML file. FOR "Too Long Did not Read" How can I make a XML file that holds a big if statement and how can you incorporate it into python.

Member Avatar
+0 forum 0

So, as a project for funzies, I decided to make a basic game where you run around the screen and get into fights when you encounter skeletons. However, I'm nowhere near the fighting parts yet. So far, the main character only appears when he moves (no idle animation), erases rocks he passes over, and can escape the grid he's on. Here is the code for his motion. The commented out section makes pictures of the character standing pop up in places of the screen faaaar away from his location. [code] void movePlayer() { tempX = x; tempY = y; /* …

Member Avatar
Member Avatar
+0 forum 1

Hi, Im in bit of a jam here and I can't seem to figure this out. Ive been looking for a little over a few hours for an answer to this but I can't seem to find a straight answer. Well Im in my advanced portion of my class and we have this assignment that requires we load a pre-compiled table then use the table to calculate how much a call costs. Well my book it covers the subject of how to do it but it doesn't explain how it works [CODE]FGTCLSP IT F 10 DISK DTABCHARGE S 10 DIM(X) …

Member Avatar
Member Avatar
+0 forum 1

HI everyone! I'm Darkwing. Me and a crew of ppl, mostly teens :D, are willing to create an RPG named "Phoenix Dream". The thing is, i'm still learning, really, just starting to learn to program, so i'd need help from someone experienced enough to deal with 3D rendering and creation and programming. If anyone of you is willing to help me, PM me! I'll be glad for any help!

Member Avatar
Member Avatar
+0 forum 5

You might not have heard of [URL="http://en.wikipedia.org/wiki/Dave_Arneson"]Dave Arneson[/URL], but if you have ever played any game which is even loosely affiliated to the Role Playing Game genre then you owe him a huge debt of gratitude. The 61 year old, who died this last week following a lengthy battle with cancer, was the co-creator of the first RPG. Yes, David Lance Arneson invented Dungeons and Dragons. Along with the late Gary Gygax, Arneson developed the hugely popular fantasy game which is generally accepted as being the first RPG to get published way back in 1974 and which established many of …

Member Avatar
+0 forum 0

The End.