
-----------------------------------
Martin
Wed May 28, 2003 10:21 pm

My final project, thus far.
-----------------------------------
This is a screenshot of my civilization clone. A work in progress as of yet. I'll add stuff to this post as it comes up (this is about a week into making the game). It's Solo and I doing it. (Solo did the town menu)

-----------------------------------
Homer_simpson
Wed May 28, 2003 10:24 pm


-----------------------------------
looking awesome... specially the keys and pictures... really nice... if u werem't a mod i'd donate somebits to u

-----------------------------------
Homer_simpson
Wed May 28, 2003 10:26 pm


-----------------------------------
but it'd be better if u replace yer picture with this one... jk =Ãž

-----------------------------------
Martin
Wed May 28, 2003 10:31 pm


-----------------------------------
Lol so far more people have looked at my naked picture than at my actual game.
 MOD EDIT: Looking good so far, +100 bits 

-----------------------------------
Homer_simpson
Wed May 28, 2003 10:37 pm


-----------------------------------
no really the game looks awesome....

-----------------------------------
Martin
Wed May 28, 2003 10:42 pm


-----------------------------------
Thank you very much...but this is nothing compared to what it's going to be a week from now.

-----------------------------------
Tony
Wed May 28, 2003 11:05 pm


-----------------------------------
yeah, really... I went from nothing to amazing in a week for my compsci project... Preaty cool... I'll upload final version monday as thats the last day to present... technically its suppost to be thursday, but since the other group didnt finish yet, we're all getting an "extension"...

oh well, I can use the time to give my program a bit of a makeover... change the colors, add help screens, etc.

And yeah... Darkness... awesome stuff

-----------------------------------
Mazer
Thu May 29, 2003 6:39 am


-----------------------------------
Lol so far more people have looked at my naked picture than at my actual game.

i didn't even look at what the link said, i thought it was safe to assume that it would be a screenshot of your game! damn you! you tricked me!

 Ah well, it looks good so far anyways. +8 bits, you deserve it!

-----------------------------------
Homer_simpson
Thu May 29, 2003 2:06 pm


-----------------------------------
lol mazer u just added 8 bits to an unlimited source of bits....
HE'S A MOD!!!

-----------------------------------
Tony
Thu May 29, 2003 4:35 pm


-----------------------------------
hey, easier for me then, dont have to repopulate mod's bits pool as often  :lol:

-----------------------------------
Mazer
Thu May 29, 2003 4:57 pm


-----------------------------------
lol mazer u just added 8 bits to an unlimited source of bits....
HE'S A MOD!!!

he is?! oh shit, i never noticed! NEVER EVER! Darkness why didn't you warn me about you being a mod?

man, who would have thought? i for one never suspected that Darkness was a mod. not when he gave me bits... not even when he edits people's posts. and i ESPECIALLY didn't realize that his rank (Lamer Mod) had anything to do with being a mod.

oh dear me, i've wasted my bits...
now i'll never save enough bits to buy a corvette...





 :roll:  :roll:  :roll:  :roll:  :roll:  :roll:  :roll:  :roll:  :roll:  :roll:  :roll:  :roll:  :roll:  :roll:  :roll:  :roll:  :roll:  :roll:  :roll:  :roll:  :roll:  :roll:  :roll:  :roll:  :roll: 

(sorry for the emoticon spam, but in my humble yet highly important opinion it was VERY necessary).

-----------------------------------
Tony
Thu May 29, 2003 5:09 pm


-----------------------------------
well, if someone has a word MOD in their rank... it might sujest that they are indeed a mod... :?

heh, maybe Darkness will give you more bits for you programs from now on  :lol:

-----------------------------------
Mazer
Thu May 29, 2003 5:41 pm


-----------------------------------
maybe he will, tony, maybe he will....

+6 bits to you! :wink: 

-----------------------------------
Martin
Thu May 29, 2003 5:52 pm


-----------------------------------
Sweet Tony, we're rich. Let's go buy new computers. Thanks Mazer ;)

-----------------------------------
FwuffyTheBunny
Thu May 29, 2003 7:44 pm


-----------------------------------
Looks Great man!!!

-----------------------------------
Martin
Sun Jun 01, 2003 10:47 am


-----------------------------------
Today I finished movement and my pathfinding algorithm. The pathfinding's really neat, because, for example say that you're in the bottom left corner of the map and you want to get to the top right, it would go left one and down one (Because the entire game is wrappable north/south and east/west)

-----------------------------------
Catalyst
Sun Jun 01, 2003 4:09 pm


-----------------------------------
can it maneuver around obstacles too?

-----------------------------------
Mazer
Sun Jun 01, 2003 8:17 pm


-----------------------------------
pathfinding? brilliant! clearly you aren't as lazy as i am!

+8 bits, keep it coming!

-----------------------------------
Martin
Sun Jun 01, 2003 9:00 pm


-----------------------------------
Yeah, it can go around obstacles too. What kind of half-assed programmer do you think I am, eh Catalyst?

-----------------------------------
Martin
Sun Jun 01, 2003 9:01 pm


-----------------------------------
Don't like bits, eh Mazer?

I can't wait till you post evasive maneuvers... :D

-----------------------------------
Martin
Sun Jun 01, 2003 9:03 pm


-----------------------------------
Here's the pathfinding, if anyone cares.

loop
  playerx += Rand.Int (-1,1)
  playery += Rand.Int(-1,1)
  exit when playerx = destx and playery = desty
end loop

Lol, just kidding.

    %Procedure to generate a path from (x1,y1) to (x2,y2)
    var smallest : int := 240
    var path : string := ""
    var finalPath : string := ""
    proc generatePath (x1, y1, x2, y2, count : int, movementType : string (1))
        if x1 < 1 then
            generatePath (intMapSize, y1, x2, y2, count, movementType)
            return
        end if
        if x1 > intMapSize then
            generatePath (1, y1, x2, y2, count, movementType)
            return
        end if
        if y1 < 1 then
            generatePath (x1, intMapSize, x2, y2, count, movementType)
            return
        end if
        if y1 > intMapSize then
            generatePath (x1, 1, x2, y2, count, movementType)
            return
        end if
        if count > smallest or count > (2 * intMapSize) then
        elsif strPathMarker (x1, y1) = "m" then
        elsif movementType not= "f" and troopstack (x1, y1).tile < 48 then

        elsif x1 = x2 and y1 = y2 then
            smallest := min (count, smallest)
            if count = smallest then
                finalPath := path
            end if
        elsif strPathMarker (x1, y1) not= "m" then %Tile not marked
            strPathMarker (x1, y1) := "m"
            path += "e"
            generatePath (x1 + 1, y1, x2, y2, count + 1, movementType)
            path := path (1 .. * -1)
            path += "w"
            generatePath (x1 - 1, y1, x2, y2, count + 1, movementType)
            path := path (1 .. * -1)
            path += "n"
            generatePath (x1, y1 + 1, x2, y2, count + 1, movementType)
            path := path (1 .. * -1)
            path += "s"
            generatePath (x1, y1 - 1, x2, y2, count + 1, movementType)
            path := path (1 .. * -1)
        end if
    end generatePath

You can't run it, but when I post the finished version of my game, I'll attach the source files for people to mess around with.

-----------------------------------
JSBN
Sun Jun 01, 2003 9:46 pm


-----------------------------------
your game is looking pretty sweet. Cant wait to see the full product!

-----------------------------------
paintball_guy
Sun Jun 01, 2003 11:19 pm

coo
-----------------------------------
that looks wicked d00d, keep it up..
