Author Topic: TI Starcraft???  (Read 7032 times)

0 Members and 1 Guest are viewing this topic.

Offline jsj795

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1105
  • Rating: +84/-3
    • View Profile
TI Starcraft???
« on: January 04, 2010, 09:42:14 pm »
I had an idea about starcraft for TI83+/84+/SE, using xLib. It will be Turn-based tho, and more like RPG tactics and such.
So each player starts with a base and 4 workers. When the worker is on the mineral or gas extractor, you have an option to 'mine' which will mine whatever price balancing requires. You can make a total of about 5 moves each turn, and once the unit moves/takes action, it cannot be used again. You may group up to 3 attacking units of same kind and move them around and attack as a group, and count as one action (workers can be grouped and moved around but only 1 will mine/build each action). Attacking happens like the usual RPG tactics, and the defending unit will be able to attack back if it is possible (within range). The building/unit will cap at around 30~50 for the memory sake.

I don't know, it's just an idea I got thinking about TLM's tactics battle,
http://ourl.ca/360950#lastPost
and will not work on it right at this moment, but what do you guys think?


Spoiler For funny life mathematics:
1. ROMANCE MATHEMATICS
Smart man + smart woman = romance
Smart man + dumb woman = affair
Dumb man + smart woman = marriage
Dumb man + dumb woman = pregnancy
2. OFFICE ARITHMETIC
Smart boss + smart employee = profit
Smart boss + dumb employee = production
Dumb boss + smart employee = promotion
Dumb boss + dumb employee = overtime
3. SHOPPING MATH
A man will pay $2 for a $1 item he needs.
A woman will pay $1 for a $2 item that she doesn't need.
4. GENERAL EQUATIONS & STATISTICS
A woman worries about the future until she gets a husband.
A man never worries about the future until he gets a wife.
A successful man is one who makes more money than his wife can spend.
A successful woman is one who can find such a man.
5. HAPPINESS
To be happy with a man, you must understand him a lot and love him a little.
To be happy with a woman, you must love her a lot and not try to understand her at all.
6. LONGEVITY
Married men live longer than single men do, but married men are a lot more willing to die.
7. PROPENSITY TO CHANGE
A woman marries a man expecting he will change, but he doesn't.
A man marries a woman expecting that she won't change, and she does.
8. DISCUSSION TECHNIQUE
A woman has the last word in any argument.
Anything a man says after that is the beginning of a new argument.

Girls = Time * Money (Girls are a combination of time and money)
Time = Money (Time is money)
Girls = Money squared (So, girls are money squared)
Money = sqrt(Evil) (Money is also the root of all evil)
Girls = sqrt(Evil) squared (So, girls are the root of all evil squared)
Girls = Evil (Thus, girls are evil)
*Girls=Evil credit goes to Compynerd255*

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: TI Starcraft???
« Reply #1 on: January 05, 2010, 07:45:37 am »
Mhmm that would be interesting. There's another SC game on Calcg.org using xLIB but I never really tried if it was any good:

http://calcg.org/cgi-bin/files.cgi?id=1123
http://calcg.org/cgi-bin/files.cgi?id=1155

And there were the two ASM projects, one in 2003 and one in 2007, but both authors stopped them :(

Offline jsj795

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1105
  • Rating: +84/-3
    • View Profile
Re: TI Starcraft???
« Reply #2 on: January 05, 2010, 09:45:49 am »
yeah i played them before (the protoss one, anyway) and found a way to kill the computer all the time, so I stopped playing (the key was to build as many nexus and tech up to build reavers and mass them, with an observer or two.)
However, it would be awesome to get the sprites from their games... I guess I'll contact the author if I decide to do this project :/


Spoiler For funny life mathematics:
1. ROMANCE MATHEMATICS
Smart man + smart woman = romance
Smart man + dumb woman = affair
Dumb man + smart woman = marriage
Dumb man + dumb woman = pregnancy
2. OFFICE ARITHMETIC
Smart boss + smart employee = profit
Smart boss + dumb employee = production
Dumb boss + smart employee = promotion
Dumb boss + dumb employee = overtime
3. SHOPPING MATH
A man will pay $2 for a $1 item he needs.
A woman will pay $1 for a $2 item that she doesn't need.
4. GENERAL EQUATIONS & STATISTICS
A woman worries about the future until she gets a husband.
A man never worries about the future until he gets a wife.
A successful man is one who makes more money than his wife can spend.
A successful woman is one who can find such a man.
5. HAPPINESS
To be happy with a man, you must understand him a lot and love him a little.
To be happy with a woman, you must love her a lot and not try to understand her at all.
6. LONGEVITY
Married men live longer than single men do, but married men are a lot more willing to die.
7. PROPENSITY TO CHANGE
A woman marries a man expecting he will change, but he doesn't.
A man marries a woman expecting that she won't change, and she does.
8. DISCUSSION TECHNIQUE
A woman has the last word in any argument.
Anything a man says after that is the beginning of a new argument.

Girls = Time * Money (Girls are a combination of time and money)
Time = Money (Time is money)
Girls = Money squared (So, girls are money squared)
Money = sqrt(Evil) (Money is also the root of all evil)
Girls = sqrt(Evil) squared (So, girls are the root of all evil squared)
Girls = Evil (Thus, girls are evil)
*Girls=Evil credit goes to Compynerd255*

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: TI Starcraft???
« Reply #3 on: January 05, 2010, 10:43:13 am »
You would be the perfect one to do it!

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: TI Starcraft???
« Reply #4 on: January 05, 2010, 11:21:28 am »
You beat the ai?!?! Wow, props to you!
/e

Offline jsj795

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1105
  • Rating: +84/-3
    • View Profile
Re: TI Starcraft???
« Reply #5 on: January 05, 2010, 11:26:44 am »
yeah, after few trials and error, massing the nexus and probe for the resource and teching up fast to get a lot of reaver proved to be the invincible strategy. There's no need to build any cannons, and if you have excess money, building some zealots or dragoons helped in defense early in the game too.


Spoiler For funny life mathematics:
1. ROMANCE MATHEMATICS
Smart man + smart woman = romance
Smart man + dumb woman = affair
Dumb man + smart woman = marriage
Dumb man + dumb woman = pregnancy
2. OFFICE ARITHMETIC
Smart boss + smart employee = profit
Smart boss + dumb employee = production
Dumb boss + smart employee = promotion
Dumb boss + dumb employee = overtime
3. SHOPPING MATH
A man will pay $2 for a $1 item he needs.
A woman will pay $1 for a $2 item that she doesn't need.
4. GENERAL EQUATIONS & STATISTICS
A woman worries about the future until she gets a husband.
A man never worries about the future until he gets a wife.
A successful man is one who makes more money than his wife can spend.
A successful woman is one who can find such a man.
5. HAPPINESS
To be happy with a man, you must understand him a lot and love him a little.
To be happy with a woman, you must love her a lot and not try to understand her at all.
6. LONGEVITY
Married men live longer than single men do, but married men are a lot more willing to die.
7. PROPENSITY TO CHANGE
A woman marries a man expecting he will change, but he doesn't.
A man marries a woman expecting that she won't change, and she does.
8. DISCUSSION TECHNIQUE
A woman has the last word in any argument.
Anything a man says after that is the beginning of a new argument.

Girls = Time * Money (Girls are a combination of time and money)
Time = Money (Time is money)
Girls = Money squared (So, girls are money squared)
Money = sqrt(Evil) (Money is also the root of all evil)
Girls = sqrt(Evil) squared (So, girls are the root of all evil squared)
Girls = Evil (Thus, girls are evil)
*Girls=Evil credit goes to Compynerd255*

Offline simplethinker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 695
  • Rating: +16/-5
  • snjwffl
    • View Profile
Re: TI Starcraft???
« Reply #6 on: January 05, 2010, 01:16:12 pm »
Sounds like a good idea :)  The battle system sounds similar to Civilization (though each individual unit had a certain number of moves instead of the player having a set total number of moves), so you might want to look at that to see how they handled some things (I'm just guessing that, while programming, you might run into some situations that aren't straght-forward).
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." -- Professor Robert Silensky



Chip's Challenge: ħ%

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: TI Starcraft???
« Reply #7 on: January 05, 2010, 07:39:27 pm »
I would like better sprites than the xLIB SC game, tho. I like them, but they just don't look like Starcraft to me :/

I would go 16x16 for large buildings
« Last Edit: January 05, 2010, 07:40:02 pm by DJ Omnimaga »

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: TI Starcraft???
« Reply #8 on: January 05, 2010, 07:41:44 pm »
You should totally use my Isometric engine (^^,)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: TI Starcraft???
« Reply #9 on: January 05, 2010, 07:52:01 pm »
that could be an idea actually.  You would most likely need to explain to him how to use it, though, it seemed a bit complicated x.x

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: TI Starcraft???
« Reply #10 on: January 05, 2010, 07:54:06 pm »
Yeah, it works in a very unorthodox way to preserve speed.   But i think this would be a very good application for the engine.  :)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: TI Starcraft???
« Reply #11 on: January 05, 2010, 07:55:16 pm »
Is collision detection in your engine easy to handle? Sometimes, an engine may be very easy or small to use, like string-based tilemaps compared to matrices ones, but collision detection may slow down the engine a lot more than in matrices tilemaps

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: TI Starcraft???
« Reply #12 on: January 05, 2010, 08:01:08 pm »
It would actually be very fast, using only a single matrix access.  The only difficult part would be setting up the code to handle the offset variable.  The weirdest thing is that the cells relative to your cell are not constantly defined inside the matrix, they are dependent on your position.  (What i mean to say is that if you are at 1,1 inside the matrix, the cell below you graphically does not have any set offset inside the matrix :( )

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: TI Starcraft???
« Reply #13 on: January 05, 2010, 08:26:42 pm »
do you mean like how if a matrix would be

111111
222222
333333
444444
555555
666666

Your map would look like
Code: [Select]
          1
        2   1
      3   2   1
    4   3   2   1
  5   4   3   2   1
6   5   4   3   2   1
  6   5   4   3   2
    6   5   4   3
      6   5   4
        6   5
          6

?

If that's the case, collision detection shouldn't be that hard. The only issue would be for key detection. You would need to assign different arrow keys or different arrow key combinations to each directions a character or cursor can move to
« Last Edit: January 05, 2010, 08:28:24 pm by DJ Omnimaga »

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: TI Starcraft???
« Reply #14 on: January 05, 2010, 10:12:44 pm »
That actually would be pretty easy, unfortunately, its a bit harder than that :(

Matrix:
[111111]
[222222]
[333333]
[444444]
[555555]
[666666]

Your map would look like:

Code: [Select]
1   1   1   1   1   1
  2   2   2   2   2   2
3   3   3   3   3   3
  4   4   4   4   4   4
5   5   5   5   5   5
  6   6   6   6   6   6

See what it does?  This was used to get speed from the xLib tilemapper, as each row could be mapped all at once.

(I never thought of using graphics to explain it, silly me :P)