Question

Place for questions and answers for all newcomers and new coders. This is a free for all forum, no question is too stupid and to noob.
Post Reply
PKDemon
Posts: 91
Joined: Tue Nov 15, 2011 5:51 pm

Question

Post by PKDemon »

i play a game online called Conquer Online

i have been playing the game for years now and i came up with an ideal to make like a text based version of the game that would be my own little way of Conquer Online

and the question i was wanting to ask if i would be hard to add certain things into the game like upgrading items (level wise and quaity wise)

the quality wise would be like

Normal Item
Refine Item
Unique Item
Elite Item
Super Item

and a script to be able to make the items plus like this

say you got a StingerSword

and you find say a +1Stone

then be able to take the sword and the +1Stone and combine then into a +1StingerSword and so on

so what u think of something like that being coded
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: Question

Post by Jackolantern »

Honestly, that would be nowhere near the hardest part of a text-based web game. It would probably take you a couple of hours to make the code for it once you have the items all created. I think if you watch Halls' tutorial series (not sure if you have yet), you will see something like that isn't much harder than most of the other things you do with items. The logic would simply be something like this:

1. Player chooses "Upgrade Items" option
2. Item upgrade script lets player select 2 items for upgrade process
3. If one item is +1 Stone, then read name of the 2nd item
4. If +1 version is available for 2nd item, take 2nd item and +1 stone from player
5. Give the player +1 gear piece into their inventory

Not that hard :)
The indelible lord of tl;dr
casino
Posts: 22
Joined: Thu Feb 23, 2012 9:44 pm

Re: Question

Post by casino »

The harder part of a text based game - as I'm finding out - is integrating the chat system into your game with custom commands that query the DB and stuff like that. Your item system would be hard to do at all imo.
Post Reply

Return to “Beginner Help and Support”