Jump to content
XCOMUFO & Xenocide

X-com For The Ti-86


SupSuper

Recommended Posts

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?
Link to comment
Share on other sites

  • Replies 101
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

[quote name='Jim69' date='Oct 23 2003, 06:22 AM']You are at v.5 already :huh?:[/quote]
that's just a placeholder, specially since i won't publish the game until it actually reaches v0.5 ;)
Link to comment
Share on other sites

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...
Link to comment
Share on other sites

[quote name='Breunor' date='Oct 23 2003, 08:43 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...[/quote]
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.
Link to comment
Share on other sites

[quote name='SupSuper' date='Oct 23 2003, 01:39 PM'][quote name='Jim69' date='Oct 23 2003, 06:22 AM'] You are at v.5 already :huh?:[/quote]
that's just a placeholder, specially since i won't publish the game until it actually reaches v0.5 ;) [/quote]
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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

[quote name='j'ordos' date='Oct 23 2003, 05:10 PM']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:[/quote]
I have a Ti83[b]+[/b] :P
Link to comment
Share on other sites

[quote name='mikker' date='Oct 23 2003, 06:17 PM']calculator? i know that it all is programmed in 0's and 1´s, but isnt that just a tad too extreme?????? :P[/quote]
Not 1's and 0's. With TIs calculators you get to play with BASIC and Assembly :)
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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"... ^_^
Link to comment
Share on other sites

[quote name='mikker' date='Oct 23 2003, 05:17 PM']calculator? i know that it all is programmed in 0's and 1´s, but isnt that just a tad too extreme?????? :P[/quote]
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"
Link to comment
Share on other sites

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: [url="http://www.ticalc.org/pub/"]http://www.ticalc.org/pub/[/url]
- 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
Link to comment
Share on other sites

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.
Link to comment
Share on other sites

[quote name='LordT' date='Oct 26 2003, 01:20 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 :)[/quote]
The calcs use the same processor, the Zilog 80, same as the original Game Boy's.
Link to comment
Share on other sites

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. Edited by SupSuper
Link to comment
Share on other sites

[quote name='SupSuper' date='Oct 27 2003, 06:05 AM']unfortunately, my calculator's batteries ran out thus erasing its memory[/quote]
Doesnt it use solar batteries?
Link to comment
Share on other sites

[quote name='mikker' date='Oct 27 2003, 06:01 PM'][quote name='SupSuper' date='Oct 27 2003, 06:05 AM'] unfortunately, my calculator's batteries ran out thus erasing its memory[/quote]
Doesnt it use solar batteries? [/quote]
Mikker, :) we're talking four AAs here for the 83, the 86 must have at least that many :)
Link to comment
Share on other sites

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?
Link to comment
Share on other sites

[quote name='LordT' date='Oct 27 2003, 02:27 PM'][quote name='mikker' date='Oct 27 2003, 06:01 PM'] [quote name='SupSuper' date='Oct 27 2003, 06:05 AM'] unfortunately, my calculator's batteries ran out thus erasing its memory[/quote]
Doesnt it use solar batteries? [/quote]
Mikker, :) we're talking four AAs here for the 83, the 86 must have at least that many :) [/quote]
the 86 uses 4 AAA ;)

[quote name='Breunor' date='Oct 27 2003, 02:51 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?[/quote]it depends on my patience or my skills, whichever comes first :P
Link to comment
Share on other sites

[quote name='SupSuper' date='Oct 27 2003, 09:47 PM'][quote name='LordT' date='Oct 27 2003, 02:27 PM'] [quote name='mikker' date='Oct 27 2003, 06:01 PM'] [quote name='SupSuper' date='Oct 27 2003, 06:05 AM'] unfortunately, my calculator's batteries ran out thus erasing its memory[/quote]
Doesnt it use solar batteries? [/quote]
Mikker, :) we're talking four AAs here for the 83, the 86 must have at least that many :) [/quote]
the 86 uses 4 AAA ;) [/quote]
So I missed one A, well shoot me! :)
Link to comment
Share on other sites

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.
Link to comment
Share on other sites

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+9,Y-3)
:Line(X+7,Y-2,X+8,Y-2)
:Line(X+2,Y-5,X+3,Y-5)
:Line(X+7,Y-5,X+8,Y-5)
:Line(X+1,Y-7,X+3,Y-7)
:Line(X+3,Y-7,X+3,Y-9)
:Line(X+5,Y-7,X+5,Y-9)
:Line(X+5,Y-7,X+9,Y-7)
:Line(X+7,Y-8,X+8,Y-8)
:PtOn(X+1,Y-9)
:StPic XBASE
:0üFACILITY(A,4)
:End
:If (FACILITY(A,3)==3) and (FACILITY(A,4)==ú1)
:Then
:((FACILITY(A,1)-1)*10)+1üX
:63-((FACILITY(A,2)-1)*10)üY
:LABAVAIL+50üLABAVAIL
:MAINTNCE+30000üMAINTNCE
:Line(X+2,Y-2,X+4,Y-2)
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y-8,X+2,Y-9)
:Line(X+8,Y-1,X+9,Y-2)
:Line(X+8,Y-9,X+9,Y-8)
:PtOn(X+4,Y-2)
:PtOn(X+4,Y-8)
:StPic XBASE
:0üFACILITY(A,4)
:End
:If (FACILITY(A,3)==6) and (FACILITY(A,4)==ú1)
:Then
:((FACILITY(A,1)-1)*10)+1üX
:63-((FACILITY(A,2)-1)*10)üY
:LRANGE+1üLRANGE
:MAINTNCE+15000üMAINTNCE
:Line(X+1,Y-3,X+4,Y-3)
:Line(X+6,Y-3,X+9,Y-3)
:Line(X+4,Y-2,X+6,Y-2)
:Line(X+4,Y-4,X+6,Y-4)
:Line(X+2,Y-2,X+2,Y-4)
:Line(X+8,Y-2,X+8,Y-4)
:Line(X+1,Y-7,X+4,Y-7)
:Line(X+6,Y-7,X+9,Y-7)
:Line(X+4,Y-6,X+6,Y-6)
:Line(X+4,Y-8,X+6,Y-8)
:Line(X+2,Y-6,X+2,Y-8)
:Line(X+8,Y-6,X+8,Y-8)
:PtOn(X+3,Y-1)
:PtOn(X+3,Y-5)
:PtOn(X+7,Y-1)
:PtOn(X+7,Y-5)
:PtOn(X+3,Y-9)
:PtOn(X+7,Y-9)
:StPic XBASE
:0üFACILITY(A,4)
:End
:If (FACILITY(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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

[quote name='j'ordos' date='Nov 1 2003, 04:31 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...[/quote]
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.
Link to comment
Share on other sites

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 Edited by SupSuper
Link to comment
Share on other sites

[quote name='stewart' date='Nov 3 2003, 10:57 AM']

Oh okay I thought you were actually trying to make a actual functioning game rather than a display; that's doable then.[/quote]
: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).
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...