Any ideas?

This is a discussion on Any ideas? within the C++ Programming forums, part of the General Programming Boards category; Hmm, I wanted to make a small rpg game. How can i make it open a new exe. Example, i ...

  1. #1
    Registered User GamerProduction's Avatar
    Join Date
    Apr 2007
    Location
    http://chillxvillex.miniville.fr/ plzz help my village
    Posts
    9

    Any ideas?

    Hmm, I wanted to make a small rpg game. How can i make it open a new exe.

    Example, i write shop, it will open the shop on a new exe and conect to the other.

    It will look like this:

    ////////////////////////
    GAME /
    /
    /
    / ______>
    /
    /////////////////////


    ////////////////////////
    Shop /
    /
    /
    / ______>
    /
    /////////////////////


    _:_____Conect togueter_____:___

    Example , if you buy an axe, it will shows in the game window.

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    That sounds like a horrible implementation, and like you are far from ready to make an RPG. Sorry.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  3. #3
    Registered User GamerProduction's Avatar
    Join Date
    Apr 2007
    Location
    http://chillxvillex.miniville.fr/ plzz help my village
    Posts
    9
    Hmm, I'm ready, i'm just sorry for my bad english.

    All i want to do, i want the program to open another program.

  4. #4
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    system(), popen(), ShellExecute(Ex)(), fork()/exec*(), CreateProcess(), spawn*(), take your pick. They all have their differences, but in the end they all to the same thing.

    I still think it's a bad idea. Why would the shop be a separate program?
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  5. #5
    Registered User GamerProduction's Avatar
    Join Date
    Apr 2007
    Location
    http://chillxvillex.miniville.fr/ plzz help my village
    Posts
    9
    Example, In a 3d rpg game, when you click on the npc, and click trade,it will open the shop on a new window.

  6. #6
    Registered User
    Join Date
    Apr 2007
    Posts
    27

    I disagree

    You don't really NEED a second program to open a second window. Look at obliviion, half the game (lol) is played in a "second window" that stops gameplay. Do you mean having two completely seperate windows that are minimized (or, not Full Screen)? It seems like it'd be a waste for the person to go to the shop seeing as extra resources would be donated to do something as inanimate as shopping, and the person wouldn't understand why (if they were on minimum requirements) it slows down at the shop and not the battle scenes lol. I agree with the above posts, you need to rethink how you're planning on doing this.
    If you know how to make your starting game menu, I'd make a menu in much the same way that interacts with your character (instead of the game of course), since I'm assuming you'll be able to make a menu to start your game with, which won't be in seperate windows . That'd be my opinion, just have a shop menu, similarly stylized, with a few buttons and a list of stuff, click the stuff it shows you what it does or something.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Ideas, how do you get them? xD
    By Akkernight in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 01-22-2009, 03:53 AM
  2. cool ideas for a game
    By Shadow12345 in forum Game Programming
    Replies: 7
    Last Post: 05-18-2004, 09:37 PM
  3. idea's idea's idea's
    By mithrandir in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 04-29-2002, 01:30 AM
  4. Small app ideas
    By dirkduck in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 02-15-2002, 08:57 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21