Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

how do I code RTS game?

Name: Anonymous 2009-04-25 14:26

ok so I want to code my own RTS game like Starcraft or AoE or some other ancient 2D RTS.

I know C/C++ (although I suck at understanding OOP so I will basically just code it in C).  And I have a lot of coding experience at making random shit but have never successfully finished a decent project (mostly from lack of patience but also I suck at structuring my programs correctly so they eventually become hard to manage).

So, how do I learned to stop sucking and figure out how to code something like this properly?

Name: Anonymous 2009-04-25 14:31

Read SICP.

Name: Anonymous 2009-04-25 15:01

>>1
Huh?  Just do it.  If you have a specific question you may ask here.

Name: Anonymous 2009-04-25 15:42

And I have a lot of coding experience at making random shit
No silly, you have zero coding experience. Enjoy your unemployment.

Name: Anonymous 2009-04-25 18:35

>>1
If you're going to "basically" code in C, just code in C. Safer to forget you ever heard of anything called Sepples.

With that said, don't write something like this in C. It will just be a headache you don't need.

Also start with a simple prototype that exhibits one facet of the desired behaviour, such as little guys that can be instructed to walk to a place or shoot.

Name: Anonymous 2009-04-25 19:07

What the hell is Sepples.

Name: Anonymous 2009-04-25 19:08

>>5
Safer to forget you ever heard of anything called Sepples.
>>6
What the hell is Sepples.
Exactly.

Name: Anonymous 2009-04-25 19:58

>>6
/prog/'s "funny" way of saying C++

Name: Anonymous 2009-04-25 20:34

>>8
DON'T HELP HIM!!

Name: Anonymous 2009-04-25 20:51

HELPmy anus

Name: Anonymous 2009-04-25 23:19

>>1
OK, you've picked one of the hardest genres to start off with if you're unfamiliar with OOP. You really want to learn C++(also how to program from the sound of things) for this project and I mean learn well, while you can code the entire game in C you'll have a hard time. Also, you're going to need to understand OOP, and embrace it.

You don't have any programming experience, never completing a project is like saying "I have lots of sexual experience by getting to second base, then I lose interest as the girl gets too hard to manage". You need to complete entire projects!

Name: Anonymous 2009-04-25 23:50

>>5 prototyping
what this faggot said. also, use oop (for the prototyping). do and understand as many related tutorials as you can find, and by the time you are through you will have a lot of base components that should be very apparently and readily adaptable into game components. then prototype like >>5 said, with simple cool things (mouse input, units moving, whatever you feel like at the moment and goes towards the end goal). and then eventually you have the product.

Name: Anonymous 2009-04-27 20:11

>>12
Alright, where can I find OOP tutorials that will help me understand structuring my programs properly & using OOP?

Name: Anonymous 2009-04-27 20:12

[b]>>9

Name: Anonymous 2009-04-27 20:41

>>11
You really want to learn C++
No.

Name: Anonymous 2009-04-27 21:00

Why not use smalltalk?

Name: Anonymous 2009-04-27 21:18

>>16
Because Smalltalk is stupid.

Name: Anonymous 2009-04-27 21:30

>>17
You're probably the same guy who posted Sepples as if it were a serious choice for programming computers.

Name: Anonymous 2009-04-27 21:45

>>13
google. there are countless great free c++ tutorial websites. you have to have SOME self-motivation!

Name: Anonymous 2009-04-28 6:21

Name: Anonymous 2009-04-28 7:51

Read Simple and Direct Media of Computer Programs.

Name: Anonymous 2009-04-28 19:33

>>9
>>14


You are why /prog/ is worthless

Name: Anonymous 2009-04-28 19:42

>>22
I lol'd

Name: Anonymous 2009-04-28 20:07

>>22
You fucked up referencing, you forgot the [spoiler] tags, and you denounced a perfectly valid use of a perfectly valid meme, all in defense of a Sepples faggot.
The problem here is not >>9,14.

Name: Anonymous 2009-04-28 20:25

>>22
Back to /lounge/, please.

Name: Anonymous 2009-04-28 20:48

TAoCP, Volume 5, Fascicle 2: Real Time Strategy Games

Name: OP 2009-04-28 21:51

>>19
Alright, I guess I'll try to find something good to work on and hope I figure this shit out lol


>>20
I've been using SDL.  It's not bad.  Is Allegro better than SDL or something?

>>26
I can't immediately find that on Google but I'll search harder later.
What is it, BTW?

Name: Anonymous 2009-04-28 22:25

What is it, BTW?
The Tao of CP

Name: Anonymous 2009-04-29 6:04

>>9
No, the problem is the people that persist in these stupid fucking catchphrases.

Name: Anonymous 2009-04-29 7:09

>>29
Sepples [o]
Stupid
Your an moran.

Name: Anonymous 2009-04-29 10:32

A fatal error occured!
Please post threads less often!Zach Beane posts on 4-ch /prg/, is he too good for /prog/?

Name: Anonymous 2009-04-29 11:14

code it in asm for the cool hax [i]my anus[i/]

Name: Anonymous 2009-04-29 11:17

>>32
You should have spent more time in BB Code school

Name: Anonymous 2009-04-29 14:58

Also, what language do you guys think Starcraft was coded in?

Name: Anonymous 2009-04-29 15:20

>>34
LISP.

Name: Anonymous 2009-04-29 15:20

>>34
Ruby on Rails

Name: Anonymous 2009-04-29 15:20

>>34
Either Game Maker or INSTANT.EXE, I'm leaning towards INSTANT.EXE because they probably made their own tools inhouse.

Name: Anonymous 2009-04-29 16:03

>>34
Common Lisp because it's the industry standard and additional pylons can be conveniently obtained via asdf-install.

Name: Anonymous 2009-04-29 16:07

>>38
The Protoss are most likely coded in Lisp, the Terrans in C++, and the Zerg in a mix of Visual Basic and Ruby on Rails.

Name: Anonymous 2009-04-29 16:37

marine.shootAt( new ZergRush(9001) );

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List