This is an archived, read-only copy of the United-TI subforum , including posts and topic from May 2003 to April 2012. If you would like to discuss any of the topics in this forum, you can visit Cemetech's Your Projects subforum. Some of these topics may also be directly-linked to active Cemetech topics. If you are a Cemetech member with a linked United-TI account, you can link United-TI topics here with your current Cemetech topics.

This forum is locked: you cannot post, reply to, or edit topics. Project Ideas/Start New Projects => Your Projects
Author Message
Darth Android
DragonOS Dev Team


Bandwidth Hog


Joined: 31 May 2003
Posts: 2104

Posted: 17 Feb 2004 01:42:56 pm    Post subject:

how the heck did you know that i used fast reply? why did what i said confuse you? you're confusing me....this is cruel and unusual punishment!
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 17 Feb 2004 04:32:09 pm    Post subject:

HE was using fast reply.
Back to top
Newbie


Bandwidth Hog


Joined: 23 Jan 2004
Posts: 2247

Posted: 17 Feb 2004 06:54:45 pm    Post subject:

For Heavens sake just tell me what to draw and in what pic so tell me how many pics you want (it is up to you. I dont care how many) and which country, contienent, ocean, etc. in what pic
Back to top
Darth Android
DragonOS Dev Team


Bandwidth Hog


Joined: 31 May 2003
Posts: 2104

Posted: 17 Feb 2004 11:53:49 pm    Post subject:

i say no pic, use lines, then you can zoom
Back to top
Newbie


Bandwidth Hog


Joined: 23 Jan 2004
Posts: 2247

Posted: 18 Feb 2004 05:07:32 pm    Post subject:

That would be long and if you put it in a program that would take up a lot.
Back to top
DarkerLine
ceci n'est pas une |


Super Elite (Last Title)


Joined: 04 Nov 2003
Posts: 8328

Posted: 18 Feb 2004 05:37:41 pm    Post subject:

Pics take up 767 bytes each. Nothing you do in terms of optimisation will justify that, and no array of lines will ever take up more than the picture for them would.

Edit: a list {0,1,2,31,39,92, etc.} will just take up at most 6 bytes per point. You could have 126 coordinates that would take up less space than a picture.


Last edited by Guest on 18 Feb 2004 05:39:37 pm; edited 1 time in total
Back to top
Darth Android
DragonOS Dev Team


Bandwidth Hog


Joined: 31 May 2003
Posts: 2104

Posted: 18 Feb 2004 06:25:23 pm    Post subject:

thats with no compression. i can get it down to 2 1/9 bytes per coord of the line. and you are right...i could fit teh americas (probably europe too) into 768 bytes and still be able to zoom on ANY perticular area Cool
Back to top
DarkerLine
ceci n'est pas une |


Super Elite (Last Title)


Joined: 04 Nov 2003
Posts: 8328

Posted: 18 Feb 2004 06:28:31 pm    Post subject:

How would you compress it?
Back to top
Newbie


Bandwidth Hog


Joined: 23 Jan 2004
Posts: 2247

Posted: 18 Feb 2004 07:10:40 pm    Post subject:

I drew a line using Line( and when I zoomed in on it it showed nothing.
Back to top
JesusFreak
JesusFreak


Active Member


Joined: 17 Jun 2003
Posts: 537

Posted: 18 Feb 2004 11:17:14 pm    Post subject:

Right, Right, and Right.

I want 10 prgms,
1 for the world
2 for america
3 for s america
4 for eastern europe
5 for asia (and part of russia, or all of it)
6 the country in the south with the kangeroos
7 for south pole
8 for north pole
9 africa
10 for western america (and russia if not on asia, wussia would be better her though)

the prgms should first be drawn on the graph, saved as a pic, then you need to set the screen X min to 0 Y min to 0 X max to 94? (i forgot what it was to make it even) Y max to 62

then make a prgm using Line( to make the world and other stuff, no need for a zoom in this to keep it smaller.
Back to top
Adm.Wiggin
aka Tianon


Know-It-All


Joined: 02 Jun 2003
Posts: 1874

Posted: 19 Feb 2004 07:56:24 am    Post subject:

JesusFreak wrote:
the prgms should first be drawn on the graph, saved as a pic, then you need to set the screen X min to 0 Y min to 0 X max to 94? (i forgot what it was to make it even) Y max to 62

that would be this :

Code:
0/->//Xmin/
94/->//Xmax/
0/->//Ymax/
-62/->//Ymin/
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 19 Feb 2004 09:17:48 am    Post subject:

Newbie wrote:
I drew a line using Line( and when I zoomed in on it it showed nothing.

Changing the graph screen's window settings will erase any lines or pixels you've drawn.
Back to top
DarkerLine
ceci n'est pas une |


Super Elite (Last Title)


Joined: 04 Nov 2003
Posts: 8328

Posted: 19 Feb 2004 05:10:51 pm    Post subject:

Arcane Wizard wrote:
Newbie wrote:
I drew a line using Line( and when I zoomed in on it it showed nothing.

Changing the graph screen's window settings will erase any lines or pixels you've drawn.

So you would redraw all the lines after zooming in/out.

Quote:
and Russia if not on asia, Russia would be better her though


I don't quite understand.
Back to top
Newbie


Bandwidth Hog


Joined: 23 Jan 2004
Posts: 2247

Posted: 19 Feb 2004 05:29:00 pm    Post subject:

I think he meant Russia is not in Asia when it is. It's also in Europe.

Drawing the map with line in a program will be a while.


Last edited by Guest on 19 Feb 2004 05:31:03 pm; edited 1 time in total
Back to top
DarkerLine
ceci n'est pas une |


Super Elite (Last Title)


Joined: 04 Nov 2003
Posts: 8328

Posted: 19 Feb 2004 05:48:25 pm    Post subject:

Newbie wrote:
Drawing the map with line in a  program will be a while.

Not really.

Code:
For(I,2,dim(L_1
Line(L_1(I-1),L_2(I-1),L_1(I),L_2(I
End
Back to top
Newbie


Bandwidth Hog


Joined: 23 Jan 2004
Posts: 2247

Posted: 19 Feb 2004 06:04:10 pm    Post subject:

It will be a while because I dont understand what the hell you just did.
Back to top
DarkerLine
ceci n'est pas une |


Super Elite (Last Title)


Joined: 04 Nov 2003
Posts: 8328

Posted: 19 Feb 2004 06:07:57 pm    Post subject:

Newbie wrote:
It will be a while because I dont understand what the hell you just did.

For(I,2,dim(L_1
;the L_1 contains the X-coordinates, the L_2 contains the Y-coordinates. You are
;going to cycle through all of the coordinates. You start at 2 because there is one
;less line than there are coordinates.

Line(L_1(I-1),L_2(I-1),L_1(I),L_2(I
;Line(previous X coordinate, previous Y coordinate, current X coordinate, current
;Y coordinate. This draws the line.

End
;You should know by now what this does.
Back to top
JesusFreak
JesusFreak


Active Member


Joined: 17 Jun 2003
Posts: 537

Posted: 19 Feb 2004 08:28:08 pm    Post subject:

it is very simple, once you get going. If you find the cords for each line and write then down on a pad of paper, it is easier, but takes 5 mins longer. Make the map simple,

and help name the world, this may be your only chance to do that, or you might die a horable death involving, dolls, and plastic lead pipes!!!
Back to top
Darth Android
DragonOS Dev Team


Bandwidth Hog


Joined: 31 May 2003
Posts: 2104

Posted: 20 Feb 2004 02:15:19 am    Post subject:

yes, but that is completely uncompressed! you are using 36 bytes to draw a line! i will not post the code without bryan's consent, but you could ask him about his routine for drawing the levels
a whole line is compressed to 1 element (9 bytes):
eg ( a line from 55,23 to 62,4Cool:
55236248->L1(1
lets break this down:
xcoords and ycoords
55236248

bryan has the code, i have it lying around in one of my old progies, just ask him. if he wont, then ill dig around for my copy (i think its a little different than his method described above)

then you could do this:

Code:
LASIA->L1
prgmZMAP
LNAMER->L1
prgmZMAP
LSAMER->L1
prgmZMAP


or you could move it to all one list and save on space


Last edited by Guest on 20 Feb 2004 02:18:50 am; edited 1 time in total
Back to top
Newbie


Bandwidth Hog


Joined: 23 Jan 2004
Posts: 2247

Posted: 20 Feb 2004 10:17:39 pm    Post subject:

Jesus Freak, I was thinking about doing the game from the World War 2 era. I wanted to draw Europe from a map from 1939 to 1945. Well a map before Hitler came to power. Yes it will still be played like risk and every country in Europe back then would be there. A few rules if you were to be Germany not to be able to attack the Soviet Union for the first 10mturns due to the German Soviet non aggression pact. French, American, and British troops would make there landing on the five beaches on D-Day, and a lot more, but would you want to do this?
Back to top
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    » Goto page Previous  1, 2, 3, 4, 5  Next
» View previous topic :: View next topic  
Page 3 of 5 » All times are UTC - 5 Hours

 

Advertisement