Jump to content


Photo

X-com For The Ti-86


  • Please log in to reply
101 replies to this topic

#1 SupSuper

SupSuper

    Programming Department

  • Xenocide Programming Department
  • 2,418 posts

Posted 23 October 2003 - 03:42 AM

well, bored to heck when i couldn't access my computer (eg. school, being grounded, etc.) i decided to tinker around with drawing and programming on my graphics calculator, TI-86, and try to make a version of x-com for my calculator.
obviously, that's an all out crazy idea, but that's just the fun of it :P

here's some screenshots of the main menu (title not centered correctly since i would have to redraw it all just to "push it" back some pixels. it's a calculator!), geoscape (globe still not drawn. timer works) and base view (base not fully drawn).
the screenshots may look small but i can't resize'em or they'll look worse, and they look right on the calculator.

so... any comments?

Attached Thumbnails

  • xcom_ti.GIF

too bad, now you will never know the ancient secrets of supsupers long gone avatar ;)

Posted Image


#2 Guest_Jim69_*

Guest_Jim69_*
  • Guests

Posted 23 October 2003 - 04:16 AM

You are at v.5 already :huh?:

#3 soundman

soundman

    Captain

  • Forum Members
  • PipPipPipPip
  • 134 posts

Posted 23 October 2003 - 05:21 AM

Nice.

#4 SupSuper

SupSuper

    Programming Department

  • Xenocide Programming Department
  • 2,418 posts

Posted 23 October 2003 - 06:33 AM

You are at v.5 already :huh?:

that's just a placeholder, specially since i won't publish the game until it actually reaches v0.5 ;)

too bad, now you will never know the ancient secrets of supsupers long gone avatar ;)

Posted Image


#5 Breunor

Breunor

    Creative Text Department

  • Xenocide Inactive
  • 3,234 posts

Posted 23 October 2003 - 06:37 AM

I'm guessing the TI-86 has more memory than my old TI-81? I believe mine had 2.4K, cutting edge new back in high school. We made choose your own adventures with them...

#6 SupSuper

SupSuper

    Programming Department

  • Xenocide Programming Department
  • 2,418 posts

Posted 23 October 2003 - 06:44 AM

I'm guessing the TI-86 has more memory than my old TI-81? I believe mine had 2.4K, cutting edge new back in high school. We made choose your own adventures with them...

the TI-86 has 128k of memory :P

and look, Funding screen with randomly generated values (like in the game). lots of work to get it all to fit in the screen.

Attached Thumbnails

  • funding.gif

too bad, now you will never know the ancient secrets of supsupers long gone avatar ;)

Posted Image


#7 LordT

LordT

    Captain

  • Forum Members
  • PipPipPipPip
  • 715 posts

Posted 23 October 2003 - 07:15 AM

You're not doing that in TI-BASIC i hope? :)
Take your time and submit a name to the Names Database.

Resistance is futile! (if < 1 ohm)

#8 stewart

stewart

    Programming Department

  • [Xenocide Senior Members]
  • 10,528 posts

Posted 23 October 2003 - 08:41 AM

GFL! :blink:
Posted Image
I'm starting to like the heavy cannon more and more.

#9 Micah

Micah

    Colonel

  • [[Administrators]]
  • PipPipPipPipPip
  • 2,290 posts

Posted 23 October 2003 - 08:46 AM

It would have to be done in assembly to make it past just the pictures that you've made so far, SupSuper. Any chance I can get a beta copy from you to test on my 85? :)

#10 Guest_Jim69_*

Guest_Jim69_*
  • Guests

Posted 23 October 2003 - 09:03 AM

You are at v.5 already :huh?:

that's just a placeholder, specially since i won't publish the game until it actually reaches v0.5 ;)

Fair enough, if I had this Ti-86 then I would play it occasional trips I have to take to other places for work, I get so bored and X-Com would sure settle that :)

Edit: What does GPL stand for :huh?

Edited by Jim69, 23 October 2003 - 09:06 AM.


#11 j'ordos

j'ordos

    Alien Concept Task Force

  • Xenocide Artwork Department
  • 5,059 posts

Posted 23 October 2003 - 09:04 AM

well, I only have access to a regular ti83, and I don't see xcom running on a calc with 27Kb memory :) . Oh well...
Seems cool tho :beer:
"You can't trust your eyes if your imagination's out of focus" - Mark Twain
"The mind is like an umbrella, it functions best when open" - Walter Gropius
Posted Image
SNEKK BLOG U-LAR MEKHH! GAHGHH! RK!
GRRGH RGGHH SNORRTT GHACKHGG

Now presented in DoubleVision™ (where drunk)

#12 mikker

mikker

    Artwork Department

  • Xenocide Artwork Department
  • 2,211 posts

Posted 23 October 2003 - 10:11 AM

calculator? i know that it all is programmed in 0's and 1´s, but isnt that just a tad too extreme?????? :P

Edited by mikker, 23 October 2003 - 10:12 AM.

Some people say that dreams are a portal to the subconscious. If that is so, I am a very disturbed person.

the truth about scientology

#13 LordT

LordT

    Captain

  • Forum Members
  • PipPipPipPip
  • 715 posts

Posted 23 October 2003 - 10:13 AM

well, I only have access to a regular ti83, and I don't see xcom running on a calc with 27Kb memory :) . Oh well...
Seems cool tho :beer:

I have a Ti83+ :P
Take your time and submit a name to the Names Database.

Resistance is futile! (if < 1 ohm)

#14 LordT

LordT

    Captain

  • Forum Members
  • PipPipPipPip
  • 715 posts

Posted 23 October 2003 - 10:17 AM

calculator? i know that it all is programmed in 0's and 1´s, but isnt that just a tad too extreme?????? :P

Not 1's and 0's. With TIs calculators you get to play with BASIC and Assembly :)
Take your time and submit a name to the Names Database.

Resistance is futile! (if < 1 ohm)

#15 Puasonen

Puasonen

    Creative Text Department

  • Xenocide Inactive
  • 2,911 posts

Posted 23 October 2003 - 10:23 AM

Nice! I have TI-89 So I think it'll work on my calc.. So is it about the same as the flash version ufo? Battles end randomly? Can you put your best soldiers to battle and they have better luck gettin' it through than rookies? Or has commander better chances to survive than rookie?

Or are you just fuc*ing with us and all the others understood but me? :D

Edited by Nyyperoid, 23 October 2003 - 10:24 AM.

There's no need for a sig..

#16 Breunor

Breunor

    Creative Text Department

  • Xenocide Inactive
  • 3,234 posts

Posted 23 October 2003 - 10:49 AM

Wasn't somebody making an xcom game for the Palm or PocketPC? Handy for school, when the class is boring, eh? I could sit in meetings, "dilligently taking notes"... ^_^

#17 Guest_Jim69_*

Guest_Jim69_*
  • Guests

Posted 23 October 2003 - 11:37 AM

calculator? i know that it all is programmed in 0's and 1´s, but isnt that just a tad too extreme?????? :P

I think all computer stuff is done in 1s and 0s, it's just compilers change whatever language into 1s and 0s. Which is why one day, when computers are really advanced, you will be able to ask a computer what it is thinking and it will tell you. Unfortunatly the answer will always be "Oh nothing"

#18 stewart

stewart

    Programming Department

  • [Xenocide Senior Members]
  • 10,528 posts

Posted 23 October 2003 - 12:08 PM

I've still got my old HP-28S. RPN you gotta love it!

That's GFL.
Posted Image
I'm starting to like the heavy cannon more and more.

#19 LordT

LordT

    Captain

  • Forum Members
  • PipPipPipPip
  • 715 posts

Posted 23 October 2003 - 01:38 PM

We still would like to know what GFL means :)
Take your time and submit a name to the Names Database.

Resistance is futile! (if < 1 ohm)

#20 Micah

Micah

    Colonel

  • [[Administrators]]
  • PipPipPipPipPip
  • 2,290 posts

Posted 23 October 2003 - 04:57 PM

Good Freaking Luck :)

#21 SupSuper

SupSuper

    Programming Department

  • Xenocide Programming Department
  • 2,418 posts

Posted 24 October 2003 - 02:40 AM

woo, this thread's getting hot in just one day. to reply to you all:

- yes, i am doing the game in TI-BASIC. Assembler is simply something i can't cope with no matter how much i try, and only managed to crash my calculator with it :P
however, BASIC has big possibilities unlike most of you think. check out the lots of downloads from where i get cool games and stuff for my calculator: http://www.ticalc.org/pub/
- it should only work with ti-86 or above, since the ti-85's menu system only allows up to 5 options, while in the ti-86 you can have up to 15 options. however, i'll see what i can do to adapt it.

anyways, more screenshots: completed base view and an ufopedia screen

Attached Thumbnails

  • bah.gif

too bad, now you will never know the ancient secrets of supsupers long gone avatar ;)

Posted Image


#22 mikker

mikker

    Artwork Department

  • Xenocide Artwork Department
  • 2,211 posts

Posted 24 October 2003 - 08:53 AM

oh my :o


cant wait for battlescape ;) *hint hint*

Some people say that dreams are a portal to the subconscious. If that is so, I am a very disturbed person.

the truth about scientology

#23 Micah

Micah

    Colonel

  • [[Administrators]]
  • PipPipPipPipPip
  • 2,290 posts

Posted 24 October 2003 - 09:31 AM

I believe the 85 supports three screens of worth of menu, by pressing the more key. The most obvious example of this would be the custom menu, which has three screens worth of menu available. I've never tried it in a program, though. I just always made submenues.

#24 LordT

LordT

    Captain

  • Forum Members
  • PipPipPipPip
  • 715 posts

Posted 26 October 2003 - 12:14 PM

I don't know how fast the TI-86 is but with the TI-83 and its Z80 processor, TI-BASIC driven games are to be avoided :)
Take your time and submit a name to the Names Database.

Resistance is futile! (if < 1 ohm)

#25 j'ordos

j'ordos

    Alien Concept Task Force

  • Xenocide Artwork Department
  • 5,059 posts

Posted 26 October 2003 - 01:37 PM

I don't know how fast the TI-86 is but with the TI-83 and its Z80 processor,  TI-BASIC driven games are to be avoided :)

at least if they're graphical <_<
"You can't trust your eyes if your imagination's out of focus" - Mark Twain
"The mind is like an umbrella, it functions best when open" - Walter Gropius
Posted Image
SNEKK BLOG U-LAR MEKHH! GAHGHH! RK!
GRRGH RGGHH SNORRTT GHACKHGG

Now presented in DoubleVision™ (where drunk)

#26 Micah

Micah

    Colonel

  • [[Administrators]]
  • PipPipPipPipPip
  • 2,290 posts

Posted 26 October 2003 - 01:41 PM

I don't know how fast the TI-86 is but with the TI-83 and its Z80 processor,  TI-BASIC driven games are to be avoided :)

The calcs use the same processor, the Zilog 80, same as the original Game Boy's.

#27 Cpl. Facehugger

Cpl. Facehugger

    Creative Text Department

  • Xenocide Inactive
  • 3,749 posts

Posted 26 October 2003 - 01:48 PM

Thats intresting. Hmm, so if I gut a gameboy I could make a graphing calcuator? :P
I'm only partially inactive. :P I can still be reached at cpl.facehugger@gmail.com, and via PM. Preferably the former.

*Coming back? Avast! Facehugger, finish your assignments!*

Posted Image

#28 Micah

Micah

    Colonel

  • [[Administrators]]
  • PipPipPipPipPip
  • 2,290 posts

Posted 26 October 2003 - 05:37 PM

Ah, if you're up for writing the operating system, yeah, sure.

#29 LordT

LordT

    Captain

  • Forum Members
  • PipPipPipPip
  • 715 posts

Posted 27 October 2003 - 02:11 AM

Wasn't the 83+'s operating system downloadable?. I did upgrade mine at least.
Take your time and submit a name to the Names Database.

Resistance is futile! (if < 1 ohm)

#30 SupSuper

SupSuper

    Programming Department

  • Xenocide Programming Department
  • 2,418 posts

Posted 27 October 2003 - 03:59 AM

latest updates on X-Com 86 (its new name):
- did new, fancier logo for the main menu
- did Base Info screen
- did some bug fixing on the way to open menus
- improved UFOpedia

unfortunately, my calculator's batteries ran out thus erasing its memory, so i'm down to my last backup, which doesn't have all the updates i've done besides the logo :crying:
oh well, back to the drawing board ;)

edit: 90 boring minutes of English gave me enough time to redo all the work i lost. so, here's screenshots of the new logo and Base Info (part 1 - it doesn't fit all in one screen) for your pleasure.
next i should work on completing the geoscape.

Attached Thumbnails

  • more.gif

Edited by SupSuper, 27 October 2003 - 07:54 AM.

too bad, now you will never know the ancient secrets of supsupers long gone avatar ;)

Posted Image


#31 mikker

mikker

    Artwork Department

  • Xenocide Artwork Department
  • 2,211 posts

Posted 27 October 2003 - 09:55 AM

unfortunately, my calculator's batteries ran out thus erasing its memory

Doesnt it use solar batteries?

Some people say that dreams are a portal to the subconscious. If that is so, I am a very disturbed person.

the truth about scientology

#32 LordT

LordT

    Captain

  • Forum Members
  • PipPipPipPip
  • 715 posts

Posted 27 October 2003 - 12:21 PM

unfortunately, my calculator's batteries ran out thus erasing its memory

Doesnt it use solar batteries?

Mikker, :) we're talking four AAs here for the 83, the 86 must have at least that many :)
Take your time and submit a name to the Names Database.

Resistance is futile! (if < 1 ohm)

#33 Breunor

Breunor

    Creative Text Department

  • Xenocide Inactive
  • 3,234 posts

Posted 27 October 2003 - 12:45 PM

I expect the battlescape would be done with auto fight mode, just have it calculate the results for you. I doubt you'd ever make a battlescape portion you'd be happy with, but maybe you could?

#34 SupSuper

SupSuper

    Programming Department

  • Xenocide Programming Department
  • 2,418 posts

Posted 27 October 2003 - 01:41 PM

unfortunately, my calculator's batteries ran out thus erasing its memory

Doesnt it use solar batteries?

Mikker, :) we're talking four AAs here for the 83, the 86 must have at least that many :)

the 86 uses 4 AAA ;)

I expect the battlescape would be done with auto fight mode, just have it calculate the results for you. I doubt you'd ever make a battlescape portion you'd be happy with, but maybe you could?

it depends on my patience or my skills, whichever comes first :P

too bad, now you will never know the ancient secrets of supsupers long gone avatar ;)

Posted Image


#35 LordT

LordT

    Captain

  • Forum Members
  • PipPipPipPip
  • 715 posts

Posted 28 October 2003 - 02:43 AM

unfortunately, my calculator's batteries ran out thus erasing its memory

Doesnt it use solar batteries?

Mikker, :) we're talking four AAs here for the 83, the 86 must have at least that many :)

the 86 uses 4 AAA ;)

So I missed one A, well shoot me! :)
Take your time and submit a name to the Names Database.

Resistance is futile! (if < 1 ohm)

#36 SupSuper

SupSuper

    Programming Department

  • Xenocide Programming Department
  • 2,418 posts

Posted 30 October 2003 - 04:04 AM

well, currently i'm working on the Facility Managament system which is almost completed. Basically, now you can add and remove facilites from the base easily without needing a cursor. however, since all facility data is stored in a TI matrix, constantly loading it kinda slows down the game. although i'm quite happy with my progress so far. i'll post a screenshot as soon as i finish implementing everything on the FM.

too bad, now you will never know the ancient secrets of supsupers long gone avatar ;)

Posted Image


#37 Deathskull

Deathskull

    Captain

  • Forum Members
  • PipPipPipPip
  • 439 posts

Posted 31 October 2003 - 08:42 PM

How do you write a program on a graphing calculator?!?!?!
USA Today has come out with a new survey: Apparently three out of four people make up 75 percent of the population.
- David Letterman

#38 LordT

LordT

    Captain

  • Forum Members
  • PipPipPipPip
  • 715 posts

Posted 31 October 2003 - 09:01 PM

http://www.ticalc.or...amming/columns/
Take your time and submit a name to the Names Database.

Resistance is futile! (if < 1 ohm)

#39 Deathskull

Deathskull

    Captain

  • Forum Members
  • PipPipPipPip
  • 439 posts

Posted 01 November 2003 - 11:54 AM

All this is to complicated for for me :huh?: . Can you post the program code for us when your done?
USA Today has come out with a new survey: Apparently three out of four people make up 75 percent of the population.
- David Letterman

#40 SupSuper

SupSuper

    Programming Department

  • Xenocide Programming Department
  • 2,418 posts

Posted 01 November 2003 - 12:01 PM

all Basic programs are open-source (anyone can open them for editing). still, here's the bigger and fully uncommented code of the Base View program (which still isn't completed):

:Lbl START
:ClDrw
:RcPic XBASE
:Text(18,64,"$",FUNDS)
:0üA
:While (A÷35)==1
:A+1üA
:If (FACILITY(A,3)==2) and (FACILITY(A,4)==ú1)
:Then
:((FACILITY(A,1)-1)*10)+1üX
:63-((FACILITY(A,2)-1)*10)üY
:LIVAVAIL+50üLIVAVAIL
:MAINTNCE+10000üMAINTNCE
:PtOn(X+1,Y-1)
:Line(X+3,Y-1,X+3,Y-3)
:Line(X+1,Y-3,X+3,Y-3)
:Line(X+5,Y-1,X+5,Y-3)
:Line(X+5,Y-3,X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(A,3)==7) and (FACILITY(A,4)==ú1)
:Then
:((FACILITY(A,1)-1)*10)+1üX
:63-((FACILITY(A,2)-1)*10)üY
:DEFENCE+500üDEFENCE
:MAINTNCE+5000üMAINTNCE
:Line(X+2,Y-1,X+2,Y-9)
:Line(X+4,Y-2,X+4,Y-8)
:Line(X+6,Y-2,X+6,Y-8)
:Line(X+8,Y-1,X+8,Y-9)
:Line(X+1,Y-2,X+9,Y-2)
:Line(X+2,Y-4,X+8,Y-4)
:Line(X+2,Y-6,X+8,Y-6)
:Line(X+1,Y-8,X+9,Y-8)
:PtOn(X+5,Y-5)
:StPic XBASE
:0üFACILITY(A,4)
:End
:If (FACILITY(A,3)==8) and (FACILITY(A,4)==ú1)
:Then
:((FACILITY(A,1)-1)*10)+1üX
:63-((FACILITY(A,2)-1)*10)üY
:STOAVAIL+50üSTOAVAIL
:MAINTNCE+5000üMAINTNCE
:Line(X+2,Y-1,X+3,Y-1)
:Line(X+1,Y-2,X+1,Y-5)
:Line(X+4,Y-2,X+4,Y-5)
:Line(X+2,Y-6,X+3,Y-6)
:Line(X+1,Y-3,X+4,Y-3)
:Line(X+2,Y-8,X+3,Y-8)
:Line(X+7,Y-2,X+8,Y-2)
:Line(X+7,Y-4,X+8,Y-4)
:Line(X+6,Y-5,X+6,Y-8)
:Line(X+9,Y-5,X+9,Y-8)
:Line(X+7,Y-9,X+8,Y-9)
:Line(X+6,Y-5,X+9,Y-5)
:Line(X+6,Y-6,X+9,Y-6)
:StPic XBASE
:0üFACILITY(A,4)
:End
:If (FACILITY(A,3)==9) and (FACILITY(A,4)==ú1)
:Then
:((FACILITY(A,1)-1)*10)+1üX
:63-((FACILITY(A,2)-1)*10)üY
:MAINTNCE+15000üMAINTNCE
:Line(X+2,Y-4,X+2,Y-9)
:Line(X+4,Y-1,X+4,Y-9)
:Line(X+6,Y-1,X+6,Y-9)
:Line(X+8,Y-4,X+8,Y-9)
:Line(X+4,Y-2,X+6,Y-2)
:Line(X+1,Y-4,X+9,Y-4)
:Line(X+1,Y-6,X+9,Y-6)
:Line(X+2,Y-8,X+8,Y-8)
:StPic XBASE
:0üFACILITY(A,4)
:End
:If (FACILITY(A,3)==10) and (FACILITY(A,4)==ú1)
:Then
:((FACILITY(A,1)-1)*10)+1üX
:63-((FACILITY(A,2)-1)*10)üY
:HANAVAIL+1üHANAVAIL
:MAINTNCE+25000üMAINTNCE
:Text(Y+1,X+10," ")
:Text(Y+14,X+10," ")
:Text(Y+8,X+1," ")
:PtOff(X+10,Y-7)
:Circl(X+10,Y-10,X+10,Y-17)
:PtOff(X+2,Y-14)
:PtOff(X+18,Y-14)
:Line(X+2,Y-1,X+2,Y-3)
:Line(X+3,Y-1,X+3,Y-3)
:Line(X+17,Y-1,X+17,Y-3)
:Line(X+18,Y-1,X+18,Y-3)
:Line(X+2,Y-17,X+2,Y-19)
:Line(X+3,Y-17,X+3,Y-19)
:Line(X+17,Y-17,X+17,Y-19)
:Line(X+18,Y-17,X+18,Y-19)
:StPic XBASE
:0üFACILITY(A,4)
:End
:End
:0üA
:While (A÷35)==1
:A+1üA
:If (FACILITY(A,4)>0)
:Then
:If (FACILITY(A,3)==10)
:Then
:Text((FACILITY(A,2)-1)*10+7,(FACILITY(A,1)-1)*10+7,FACILITY(A,4))
:Else
:Text((FACILITY(A,2)-1)*10+2,(FACILITY(A,1)-1)*10+2,FACILITY(A,4))
:End
:End
:End
:Text(18,64,"$",FUNDS)
:Pause
:Menu(1,"Build",BUILD,2,"Info",INFO,3,"Soldier",SOLDIER,4,"Craft",CRAFT,5,"Fcilty",FACILITY,6,"Rsrch",RESEARCH,7,"Manuf",MANUF,8,"Trnsfr",TRANSFER,9,"Buy",BUY,10,"Sell",SELL,11,"Geo",GEO)
:Stop
:Lbl INFO
:ClLCD
:Disp "Loading Base Info..."
:XCOMINFO
:Goto START
:Stop
:Lbl SOLDIER
:ClLCD
:Disp "Loading Soldiers..."
:XCOMSOLD
:Goto START
:Stop
:Lbl CRAFT
:ClLCD
:Disp "Loading Crafts..."
:XCOMCRFT
:Goto START
:Stop
:Lbl FACILITY
:ClLCD
:Disp "Loading Facility Mgmt"
:XCOMFCLT
:Goto START
:Stop
:Lbl TRANSFER
:ClLCD
:Disp "Loading Transfers..."
:XCOMTRFR
:Goto START
:Stop
:Lbl GEO
:ClDrw
:RcPic XGEO
:Return
:Stop

Edited by SupSuper, 01 November 2003 - 12:02 PM.

too bad, now you will never know the ancient secrets of supsupers long gone avatar ;)

Posted Image


#41 Deathskull

Deathskull

    Captain

  • Forum Members
  • PipPipPipPip
  • 439 posts

Posted 01 November 2003 - 01:39 PM

:o Thats a lot of code. Then again its not a lot for a game like xcom, but as you said this aint the whole thing. Is there any way to copy and paste this to the calculator?
USA Today has come out with a new survey: Apparently three out of four people make up 75 percent of the population.
- David Letterman

#42 j'ordos

j'ordos

    Alien Concept Task Force

  • Xenocide Artwork Department
  • 5,059 posts

Posted 01 November 2003 - 02:25 PM

If you have a link-cable to plug your calculator into the PC it's not that hard, only problem are some missing characters (ü is actually ->, the store command (well, at least on a TI-83 :) ). Hey, can't you leave the ending ' ) ' , ' " ' , ... out on a TI-86? Perhaps those few bytes don't matter that much anymore on a TI86...

Edited by j'ordos, 01 November 2003 - 02:47 PM.

"You can't trust your eyes if your imagination's out of focus" - Mark Twain
"The mind is like an umbrella, it functions best when open" - Walter Gropius
Posted Image
SNEKK BLOG U-LAR MEKHH! GAHGHH! RK!
GRRGH RGGHH SNORRTT GHACKHGG

Now presented in DoubleVision™ (where drunk)

#43 SupSuper

SupSuper

    Programming Department

  • Xenocide Programming Department
  • 2,418 posts

Posted 02 November 2003 - 01:54 PM

If you have a link-cable to plug your calculator into the PC it's not that hard, only problem are some missing characters (ü is actually ->, the store command (well, at least on a TI-83 :) ). Hey, can't you leave the ending ' ) ' , ' " ' , ... out on a TI-86? Perhaps those few bytes don't matter that much anymore on a TI86...

i like to leave the final ) to help keep things tidy.
and the ü should automatically look like the right character (since TIs have their own fonts, thus when u type ü in the graph link application it gives you the store symbol, and vice-versa).

besides, for the program to correctly work u would also need many other data since the program's linked to the Geoscape and lots of pictures and variables.
also, i almost finished the Facility Management thingy (it doesn't check if facilities are all connected or not), i'll post a screenshot of a really modified base later.

too bad, now you will never know the ancient secrets of supsupers long gone avatar ;)

Posted Image


#44 LordT

LordT

    Captain

  • Forum Members
  • PipPipPipPip
  • 715 posts

Posted 02 November 2003 - 02:45 PM

BASIC is beautiful...

GOTOs!! :)
Take your time and submit a name to the Names Database.

Resistance is futile! (if < 1 ohm)

#45 SupSuper

SupSuper

    Programming Department

  • Xenocide Programming Department
  • 2,418 posts

Posted 02 November 2003 - 04:43 PM

here's the screenie. not too modified though ;)

next i'll be working on the Craft and Soldiers screens (as well as corresponding matrixes). soldiers will be named Soldier 1, 2, etc. since:
- matrixes can't store names
- no way i'm gonna program a random name generator.

hmmm... i wonder when i'll work on the geoscape (specially drawing the globe) :P

Attached Thumbnails

  • facilities.gif

Edited by SupSuper, 02 November 2003 - 04:45 PM.

too bad, now you will never know the ancient secrets of supsupers long gone avatar ;)

Posted Image


#46 Jenny

Jenny

    Artwork Department

  • Xenocide Artwork Department
  • 429 posts

Posted 02 November 2003 - 05:28 PM

Whoa, that's mad! Nicely done.
Posted Image

#47 mikker

mikker

    Artwork Department

  • Xenocide Artwork Department
  • 2,211 posts

Posted 03 November 2003 - 07:37 AM

instead of a real rotating globe like in the real x-com, you could have it more like civilization?

Some people say that dreams are a portal to the subconscious. If that is so, I am a very disturbed person.

the truth about scientology

#48 SupSuper

SupSuper

    Programming Department

  • Xenocide Programming Department
  • 2,418 posts

Posted 03 November 2003 - 08:23 AM

sure, although it will still be hard as heck to implement. but true, it will cover more ground at once than a globe.

too bad, now you will never know the ancient secrets of supsupers long gone avatar ;)

Posted Image


#49 stewart

stewart

    Programming Department

  • [Xenocide Senior Members]
  • 10,528 posts

Posted 03 November 2003 - 08:51 AM



Oh okay I thought you were actually trying to make a actual functioning game rather than a display; that's doable then.
Posted Image
I'm starting to like the heavy cannon more and more.

#50 SupSuper

SupSuper

    Programming Department

  • Xenocide Programming Department
  • 2,418 posts

Posted 03 November 2003 - 09:07 AM



Oh okay I thought you were actually trying to make a actual functioning game rather than a display; that's doable then.

:huh: what do you mean?

it is (or will be) an actual functioning game. how do u except to show the user something in ti-basic without display commands?
besides, the game's split up into many separate and that's just the code for the Base View screen (which links to many other programs and contains the code to draw facilities that finish building or shows the days remaining of facilities still under construction).

too bad, now you will never know the ancient secrets of supsupers long gone avatar ;)

Posted Image