School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 306,961 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,894 people online right now. Registration is fast and FREE... Join Now!




Request a Tutorial

2 Pages V  1 2 >  

Request a Tutorial, What do YOU want to see?

Rating  4
kewlkreator

14 Aug, 2009 - 12:09 PM
Post #1

Total DIC-Wad
Group Icon

Joined: 25 Mar, 2009
Posts: 1,028



Thanked: 16 times
Dream Kudos: 550
My Contributions
Do you have a problem? Think others do too? Request a tutorial here and solve the problem!

Be sure to specify the language and give as many details as possible.

When someone makes your tutorial, make another post here with a link so the user can get help.

Template:
CODE

[b]Tutorial Title[/b]
[i]Language: [/i]
[i]Subject: [/i]
[i]Purpose: [/i]
[i]Comments: [/i]


This post has been edited by kewlkreator: 14 Aug, 2009 - 02:39 PM

User is offlineProfile CardPM
+Quote Post


PsychoCoder

RE: Request A Tutorial

14 Aug, 2009 - 12:11 PM
Post #2

I Code, Therefore I am
Group Icon

Joined: 26 Jul, 2007
Posts: 14,919



Thanked: 517 times
Dream Kudos: 11525
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net, jQuery

My Contributions
You are correct this forum should have one of these (Good thinking). I'm pinning it so it;s easily found smile.gif
User is offlineProfile CardPM
+Quote Post

BetaWar

RE: Request A Tutorial

14 Aug, 2009 - 12:11 PM
Post #3

#include <soul.h>
Group Icon

Joined: 7 Sep, 2006
Posts: 4,777



Thanked: 277 times
Dream Kudos: 1400
My Contributions
Grrr. Psycho beat me to it. biggrin.gif
User is offlineProfile CardPM
+Quote Post

kewlkreator

RE: Request A Tutorial

14 Aug, 2009 - 02:38 PM
Post #4

Total DIC-Wad
Group Icon

Joined: 25 Mar, 2009
Posts: 1,028



Thanked: 16 times
Dream Kudos: 550
My Contributions
Thanks guys!
User is offlineProfile CardPM
+Quote Post

NeoTifa

RE: Request A Tutorial

14 Aug, 2009 - 03:00 PM
Post #5

Yay caek! ZOMG!!!
Group Icon

Joined: 24 Sep, 2008
Posts: 6,525



Thanked: 83 times
Dream Kudos: 150
My Contributions
I r wantz c0d3z 4 2 b 1337 pr0gr4mmr and maek awesum mmorpg plzkthnxbai.


And maybe something explaining servers or something. I see some of those threads.
User is offlineProfile CardPM
+Quote Post

Tom9729

RE: Request A Tutorial

14 Aug, 2009 - 03:33 PM
Post #6

Debian ninja
Group Icon

Joined: 30 Dec, 2007
Posts: 2,143



Thanked: 53 times
Dream Kudos: 425
My Contributions
Just a thought but could we have fewer threads pinned in Game Programming? There are 10 right now and it seems like a new one gets pinned every few weeks...
User is offlineProfile CardPM
+Quote Post

Theaegd

RE: Request A Tutorial

15 Aug, 2009 - 05:38 PM
Post #7

D.I.C Regular
***

Joined: 15 Aug, 2009
Posts: 307



Thanked: 4 times
My Contributions
You should do a tutorial about how to make an isometric RPG in C#. Not a massive RPG, just something simple to show the "pulp" of the idea if you get what I mean. One with a couple missions and inventory and towns with lttle shops. It would be a big tutorial but I think many people would be pleased to see one made, infact I might make this tutorial!

This post has been edited by Theaegd: 15 Aug, 2009 - 05:39 PM
User is offlineProfile CardPM
+Quote Post

SixOfEleven

RE: Request A Tutorial

15 Aug, 2009 - 06:36 PM
Post #8

Code Guru
Group Icon

Joined: 18 Oct, 2008
Posts: 3,050



Thanked: 169 times
Dream Kudos: 775
Expert In: C, C#, XNA, Game Programming, Programming Concepts

My Contributions
QUOTE(Theaegd @ 15 Aug, 2009 - 07:38 PM) *

You should do a tutorial about how to make an isometric RPG in C#. Not a massive RPG, just something simple to show the "pulp" of the idea if you get what I mean. One with a couple missions and inventory and towns with lttle shops. It would be a big tutorial but I think many people would be pleased to see one made, infact I might make this tutorial!


I'm in the process of writing a tutorial series on creating an RPG with C#, with XNA 3.0 specifically. I have already 100+ printed pages on the subject and over 2500 lines of code(and line count is everything) and I have only covered a layered tile engine, screen management, a very simple character generator. I haven't covered the character class system, combat, quests, inventory, towns, shops, animating sprites, a collision layer for the tile engine and much more that I plan to add to the game.

Creating an RPG, even a simple one like the one you suggested, takes a lot of code and time to write. Actually writing the tutorials on how to do it takes even more time. Books have been written on the subject. I'm not saying this to discourage you. I'm just trying to be realistic. The amount of work required is more than you might think. If you would like to try then be all means do. It would be a great learning experience and a definite feather in your cap. If you feel you have the time and ability then go a head and do it!
User is offlineProfile CardPM
+Quote Post

Fib

RE: Request A Tutorial

17 Aug, 2009 - 05:41 AM
Post #9

D.I.C Head
**

Joined: 12 Mar, 2009
Posts: 78



Thanked: 7 times
My Contributions
I think a tutorial on showing a background image to the screen with a little bit of collision, and a character or object that can be moved around on the screen would be very helpful. The background doesn't have to scroll or anything, just a single bmp that fits the screen. Maybe the character or object could have one or two different animations. This can be shown using C++ with DirectX.

I feel that it would be very helpful to me, and a lot of other people to be able to see some of these basic concepts of games shown in a tutorial (displaying backgrounds and sprites, collision, animation, keyboard input). Plus I think it would be relatively short, I may be wrong.

I am currently trying to figure these concepts out in a small game, so If there is no tutorial on this when I finish, I may write one myself.
User is offlineProfile CardPM
+Quote Post

Core

RE: Request A Tutorial

17 Aug, 2009 - 06:01 AM
Post #10

The .NET Dude
Group Icon

Joined: 8 Dec, 2008
Posts: 3,033



Thanked: 217 times
Dream Kudos: 900
Expert In: C#, VB.NET, WPF, .NET Framework

My Contributions
QUOTE(Tom9729 @ 14 Aug, 2009 - 06:33 PM) *

Just a thought but could we have fewer threads pinned in Game Programming? There are 10 right now and it seems like a new one gets pinned every few weeks...


I cleaned up the list of pinned topics. I merged several topics (two created by SixOfEleven and one that is mine) with Martyr2's thread. It is now called Game Development Careers - Tips. There are five pinned as of now and I hope that those ones are providing the most relevant first-hand information on the topic. I also unpinned gabehabe's Want to make a MMO? thread and created a link to it in a permanent announcement in the Game Programming forum.

Hope this will make things a bit more organized.
User is online!Profile CardPM
+Quote Post

Tom9729

RE: Request A Tutorial

17 Aug, 2009 - 06:11 AM
Post #11

Debian ninja
Group Icon

Joined: 30 Dec, 2007
Posts: 2,143



Thanked: 53 times
Dream Kudos: 425
My Contributions
QUOTE(Core @ 17 Aug, 2009 - 09:01 AM) *

Hope this will make things a bit more organized.

Much better, thanks!
User is offlineProfile CardPM
+Quote Post

SixOfEleven

RE: Request A Tutorial

17 Aug, 2009 - 11:12 AM
Post #12

Code Guru
Group Icon

Joined: 18 Oct, 2008
Posts: 3,050



Thanked: 169 times
Dream Kudos: 775
Expert In: C, C#, XNA, Game Programming, Programming Concepts

My Contributions
The forum looks much better organized. Good job Core. icon_up.gif
User is offlineProfile CardPM
+Quote Post

Theaegd

RE: Request A Tutorial

17 Aug, 2009 - 12:17 PM
Post #13

D.I.C Regular
***

Joined: 15 Aug, 2009
Posts: 307



Thanked: 4 times
My Contributions
QUOTE(SixOfEleven @ 15 Aug, 2009 - 06:36 PM) *

QUOTE(Theaegd @ 15 Aug, 2009 - 07:38 PM) *

You should do a tutorial about how to make an isometric RPG in C#. Not a massive RPG, just something simple to show the "pulp" of the idea if you get what I mean. One with a couple missions and inventory and towns with lttle shops. It would be a big tutorial but I think many people would be pleased to see one made, infact I might make this tutorial!


I'm in the process of writing a tutorial series on creating an RPG with C#, with XNA 3.0 specifically. I have already 100+ printed pages on the subject and over 2500 lines of code(and line count is everything) and I have only covered a layered tile engine, screen management, a very simple character generator. I haven't covered the character class system, combat, quests, inventory, towns, shops, animating sprites, a collision layer for the tile engine and much more that I plan to add to the game.

Creating an RPG, even a simple one like the one you suggested, takes a lot of code and time to write. Actually writing the tutorials on how to do it takes even more time. Books have been written on the subject. I'm not saying this to discourage you. I'm just trying to be realistic. The amount of work required is more than you might think. If you would like to try then be all means do. It would be a great learning experience and a definite feather in your cap. If you feel you have the time and ability then go a head and do it!


I totally agree with you on that, and im looking forward to reading your tutorial! I am personally using XNA Game Studio 3.1 and will be submiting one of my own games to Xbox Live Arcade.
User is offlineProfile CardPM
+Quote Post

SixOfEleven

RE: Request A Tutorial

17 Aug, 2009 - 02:54 PM
Post #14

Code Guru
Group Icon

Joined: 18 Oct, 2008
Posts: 3,050



Thanked: 169 times
Dream Kudos: 775
Expert In: C, C#, XNA, Game Programming, Programming Concepts

My Contributions
QUOTE(Theaegd @ 17 Aug, 2009 - 02:17 PM) *

I totally agree with you on that, and im looking forward to reading your tutorial! I am personally using XNA Game Studio 3.1 and will be submiting one of my own games to Xbox Live Arcade.


Good luck with your games. smile.gif
User is offlineProfile CardPM
+Quote Post

Ferrin

RE: Request A Tutorial

19 Aug, 2009 - 02:17 AM
Post #15

New D.I.C Head
*

Joined: 18 Aug, 2009
Posts: 23


Tutorial Title text-based rpg inventory and/or shop
Language: c++ (i use code::blocks with mingw, if that helps)
Subject: adventure style rpg store and inventory.
Purpose: great to learn for folks like me..?
Comments: i think this will also help people (like me) learn more about structures, as i can't find any relative tutorials out there (meaning structures for rpg stuff) and so forth.
User is offlineProfile CardPM
+Quote Post

NeoTifa

RE: Request A Tutorial

19 Aug, 2009 - 05:30 AM
Post #16

Yay caek! ZOMG!!!
Group Icon

Joined: 24 Sep, 2008
Posts: 6,525



Thanked: 83 times
Dream Kudos: 150
My Contributions
....So basically you want action events with interaction with an invetory, which could be an array or a database?
User is offlineProfile CardPM
+Quote Post

Ferrin

RE: Request A Tutorial

19 Aug, 2009 - 10:41 AM
Post #17

New D.I.C Head
*

Joined: 18 Aug, 2009
Posts: 23

QUOTE(NeoTifa @ 19 Aug, 2009 - 05:30 AM) *

....So basically you want action events with interaction with an invetory, which could be an array or a database?

yes. i made a poor attempt myself, here:

CODE

#include <fstream>
#include <iostream>
#include <string.h>
#include <windows.h>

using namespace std;

int main()
{
        HANDLE hConsole;
    hConsole = GetStdHandle (STD_OUTPUT_HANDLE);

int buyinput [0];
int choice [2];
int num_items = 0;
int potion = 0;
bool glov01 = 0;
bool belt01 = 0;
bool vest01 = 0;
bool shoe01 = 0;
bool pant01 = 0;
bool whip01 = 0;
int proj01 = 0;
int bloo01 = 0;
int poti01 = 0;
int anti01 = 0;
const int max_items = 10;



// list of items for user to pick//
cout<< "Items for sale:\n";
cout<<"0. a leather belt with pouches 15G\n";
cout<<"1. a pinstripe vest 15G\n";
cout<<"2. suede boots 10G\n";
cout<<"3. durable cargo pants 20G\n";
cout<<"4. warm knitted gloves 5G\n";
cout<<"5. a plain leather whip 50G\n";
cout<<"6. throwing knives [5] 30G\n";
cout<<"7. a vile of blood 30G\n";
cout<<"8. a healing potion 20G\n";
cout<<"9. an antidote potion 20G\n";

// player asked if they want to buy something
printf( "Would you like to buy an item?\n1=Yes\n0=No");
fgets(buyinput);
if (buyinput){
printf( "please pick an item to add to your inventory\n");
printf("The ammount of weight you can hold will drop 5 points for every item you have.\n\n");
fgets(choice);
     if numitems < max_items
{

if (choice, "0" ) == 0 )
//add item '0' to inventory
{
     printf ( belt01 "has been added to your inventory.");
     numitems = +1;
     belt01 = +1;
}
else if (choice, "1" ) == 0 )
//add item '1' to inventory
{
     printf ( vest01 "has been added to your inventory.");
          numitems = +1;
          vest01 = +1;
}
(choice, "2" ) == 0 )
//add item '2' to inventory
{
          printf ( shoe01 "has been added to your inventory.");
               numitems = +1;
               shoe01 = +1;

}
(choice, "3" ) == 0 )
//add item '3' to inventory
{
          printf ( pant01 "has been added to your inventory.");
               numitems = +1;
               pant01 = +1;

}
(choice, "4" ) == 0 )
//add item '4' to inventory
{
          printf ( glove01 "has been added to your inventory.");
               numitems = +1;
               glove01 = +1;

}
(choice, "5" ) == 0 )
//add item '5' to inventory
{
          printf ( whip01 "has been added to your inventory.");
               numitems = +1;
               whip01 = +1;

}
(choice, "6" ) == 0 )
//add item '6' to inventory
{
          printf ( proj01 "has been added to your inventory.");
               numitems = +1;
               proj01 = +1;

}
(choice, "7" ) == 0 )
//add item '7' to inventory
{
          printf ( bloo01 "has been added to your inventory.");
               numitems = +1;
               bloo01 = +1;

}
(choice, "8" ) == 0 )
//add item '8' to inventory
{
          printf ( poti01 "has been added to your inventory.");
               numitems = +1;
               poti01 = +1;

}
(choice, "9" ) == 0 )
//add item '9' to inventory
{
          printf ( anti01 "has been added to your inventory.");
               numitems = +1;
               anti01 = +1;

}
else printf( "That is not a valid option." );
}}
if (numitems = max_items)
{
printf( "You cannot buy this--\nYou are carrying the maximum ammount of items for your level.");
{
cout << inventory[i] << endl;
// get data from player's inventory.txt file and list it.
cout << "Your items:\n";


cout<< "The ammount of items you may now carry is\n";
cout<< x-10<<endl;
}
else
cout << "You have too many items and can't carry anymore weight.";
// get data from player's inventory.txt file and list it.
cout << "\nYour items:\n";

getchar ();

return 0;
}
cout<<"Would you like to buy an item?\n1=Yes\n0=No"
cin>> buyinput;
return 0;}




which is failing terribly-- mainly (so i'm told) because i made the mistake of defining the items, which ended up replacing the bool names (ie. glove01 is 'warm knit gloves', so bool glove01 = 0 is now bool 'warm knit gloves' = 0) which i somehow need to change, while making it so that if you 'look' or 'buy' the gloves, it will show the defined version. such as, "'warm knit gloves' has been added to your inventory", rather than "'glove01' has been added to your inventory."

i can't find a decent inventory or store tutorial out there, and i think that such a tutorial would help a lot with developing other aspects of the game, too.
User is offlineProfile CardPM
+Quote Post

NeoTifa

RE: Request A Tutorial

19 Aug, 2009 - 11:47 AM
Post #18

Yay caek! ZOMG!!!
Group Icon

Joined: 24 Sep, 2008
Posts: 6,525



Thanked: 83 times
Dream Kudos: 150
My Contributions
Console rpg? .... yuck. I don't know anything about C++ and GUI, but I'm sure some type of button or something would be easier I'd imagine....
User is offlineProfile CardPM
+Quote Post

SixOfEleven

RE: Request A Tutorial

19 Aug, 2009 - 12:02 PM
Post #19

Code Guru
Group Icon

Joined: 18 Oct, 2008
Posts: 3,050



Thanked: 169 times
Dream Kudos: 775
Expert In: C, C#, XNA, Game Programming, Programming Concepts

My Contributions
QUOTE(NeoTifa @ 19 Aug, 2009 - 01:47 PM) *

Console rpg? .... yuck. I don't know anything about C++ and GUI, but I'm sure some type of button or something would be easier I'd imagine....


Creating a nice GUI with C++, with out using something like MFC or other libraries, can be a pain in the a**. It is not as easy as Java and .NET languages.
User is offlineProfile CardPM
+Quote Post

NeoTifa

RE: Request A Tutorial

19 Aug, 2009 - 06:39 PM
Post #20

Yay caek! ZOMG!!!
Group Icon

Joined: 24 Sep, 2008
Posts: 6,525



Thanked: 83 times
Dream Kudos: 150
My Contributions
JOptionPane.ShowMessageDialog(null, "Java is 1337 shit when it comes to easy GUI!");
User is offlineProfile CardPM
+Quote Post

2 Pages V  1 2 >
Fast ReplyReply to this topicStart new topic

Time is now: 11/21/09 04:20AM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month