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
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) ...
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.
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.
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.
To learn how to use realistic effects in your games like fire, rain, snow and magic effects, read my article on particles systemshere.
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."