Results 1 to 5 of 5

Thread: vb 6, need some input on makin a RTS game

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2003
    Posts
    2

    vb 6, need some input on makin a RTS game

    ok im thinking about making a RTS game (age of empries type thing) and its not gonna be in dx cuz im still learning it (i can make a 3d square!! woohoo!!! :P)
    i have a couple quetions, first
    how would i create the map that would show the user where there screen is, and how would i get the screen synchronized w/ the map location... is there a way to display on the screen only what is being seen instead of a 200 meg image or something that takes 10 mins when u move the mouse cuz its so slow... should i use some sort of back buffer like dx does? i hope u get wut im trying to say...

    the second questions is
    in a RTS game, u make a building, and u put it somewhere
    how would i create an object in runtime and place it at a point on the map, and make it still clickable (have properties)... i have some ideas but they are very dumb, lol

    thx in advance and srry bout the poor wording

  2. #2
    Lively Member
    Join Date
    Jun 2002
    Location
    RI
    Posts
    96

    hmm

    for the map maybe this can help im not sure, but it creates tiled maps, i just started this project so it doesnt have many features but it does the basics for now (save,load,create) ...
    Attached Files Attached Files
    I program in: vb6,vb.net,html,c++,java/script

  3. #3
    Member anjulpa's Avatar
    Join Date
    Aug 2001
    Location
    india
    Posts
    43
    first of all, learn oops and if u do well and good
    use the new keyword to create new object.
    learn dx if possible as it will make things extremely ez for you.
    dont load the entire map but make a digital map and hold it in the memory until you draw only the portion u want to. make say 5X5 squares and let them have properties like terrain type etc, and finally draw the map portion corresponding to the squares properties.
    At least this is how it is done in aoe
    PLZ DONT USE 200 MB BITMAPS.

    ppl saw this
    Die, ***** Die !

  4. #4
    Addicted Member
    Join Date
    Aug 2002
    Location
    Baltimore, MD
    Posts
    230
    If you have to ask these questions, you're not ready to make an RTS. Learn DirectX - www.directx4vb.com, read the tutorials over at Lucky's - http://www.rookscape.com/vbgaming/. Make some small games, try clones of old games like Tetris, and work your way to bigger games. Then you may be ready to do an RTS.

  5. #5
    Frenzied Member Jotaf98's Avatar
    Join Date
    Jun 2000
    Location
    I'm not gonna give you my IP address! Ok... Portugal, South-Western Europe, 3rd rock from the sun (our star is easy to find, a 47 Ursae Majoris in the Milky Way :p )
    Posts
    1,457
    If you're looking for an RTS made in VB with full source code, you might wanna take a look at Jump-Gate: Ion. It's very cool, but it's also kinda old, made in DX4 or something. But it has some neat stuff, it still manages to look like Command & Conquer, it has some particle systems buildings AI and stuff. It's a bit complicated though. About the 200mb image, you should know that you don't need one if you use TILES. Any RPG or Tiles Engine tutorial should give you all you need in this matter. Huh... you'll need to learn LOTS about AI and that's not going to be easy. Maybe you could make something that looks like an RTS, but more like the JPI game I told you about.
    Code:
    Temp = Me.GetIQ()
    'Error 9: Overflow
    'DON'T PANIC! :eek:

    To learn how to use realistic effects in your games like fire, rain, snow and magic effects, read my article on particles systems here.


    Jotaf's Theories!
    "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width