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 Technology & Calculator Open Topic 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. Community News & Discuss Nspire => Technology & Calculator Open Topic
Author Message
DJ Omnimaga
http://i-lost-the-ga.me


Calc Guru


Joined: 14 Nov 2003
Posts: 1196

Posted: 22 Apr 2004 12:40:25 pm    Post subject:



I made a very simple looking BASIC tunnel race game a long time ago. It may seem very normal, but this game runs at 8 fps on a non-overclocked 83+ (OS 1.12). Most of BASIC tunnel out there runs at 2, 3 or 4 fps. You can download it here to see how fast it is. Choose the fourth option and then the second one (it will take a long time to load) and the race will start then. Try it on a SE. It will run at 15 FPS. You'll never beat this game. My highscore is 10065!


Last edited by Guest on 22 Apr 2004 12:41:48 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: 22 Apr 2004 03:38:57 pm    Post subject:

The verb "se planter" means to crash, right?
Also, the Y flickers, might want to fix that.
But other than that, it's pretty good. (As good as any homescreen game can be).
Back to top
Iambian


Advanced Member


Joined: 13 Mar 2004
Posts: 423

Posted: 23 Apr 2004 05:16:06 am    Post subject:

Kevin wrote:
...
My highscore is 10065!

I got 14152 on my first try Evil or Very Mad
Back to top
MaxVT103


Member


Joined: 24 Aug 2003
Posts: 109

Posted: 24 Apr 2004 06:06:12 pm    Post subject:

If the y flickers that may have been one way he got a higher framerate, by limiting the times to have it draw to the screen he probobly got it to go faster. Or hes got mad basic programming skillz.
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 24 Apr 2004 06:12:14 pm    Post subject:

Sourcecode please, not everybody has fancy cables.
Back to top
DarkerLine
ceci n'est pas une |


Super Elite (Last Title)


Joined: 04 Nov 2003
Posts: 8328

Posted: 25 Apr 2004 12:26:20 pm    Post subject:

Not everybody has 83+ calculators. Sad
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 25 Apr 2004 12:41:41 pm    Post subject:

Back to top
DJ Omnimaga
http://i-lost-the-ga.me


Calc Guru


Joined: 14 Nov 2003
Posts: 1196

Posted: 26 Apr 2004 07:14:37 am    Post subject:

Arcane Wizard wrote:
Sourcecode please, not everybody has fancy cables.

Open the prgm in TI-Graph-Link and copy it to your TI-81 (or whateve3r calc you have)
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 26 Apr 2004 11:36:11 am    Post subject:

You can't send it to your calc if you don't have a cable, or the proper calc (try sending .8xp files to a regular ti83).
Back to top
DJ Omnimaga
http://i-lost-the-ga.me


Calc Guru


Joined: 14 Nov 2003
Posts: 1196

Posted: 26 Apr 2004 02:22:08 pm    Post subject:

No. I mean, open the prgm and look the source. Then copy the code by hand in your calc. I did it when my cable stopped working.
Back to top
DarkerLine
ceci n'est pas une |


Super Elite (Last Title)


Joined: 04 Nov 2003
Posts: 8328

Posted: 26 Apr 2004 03:01:30 pm    Post subject:

Is there an easier way to send it to VTI?
Back to top
sgm


Calc Guru


Joined: 04 Sep 2003
Posts: 1265

Posted: 26 Apr 2004 04:16:47 pm    Post subject:

You mean F10 doesn't work?
Back to top
X1011
10100111001


Active Member


Joined: 14 Nov 2003
Posts: 657

Posted: 27 Apr 2004 01:32:43 pm    Post subject:

Sir Robin wrote:
Is there an easier way to send it to VTI?

Drag it from explorer.
Back to top
Keith Pierce


Advanced Member


Joined: 02 Feb 2004
Posts: 411

Posted: 27 Apr 2004 01:33:50 pm    Post subject:

How exactly did u make it run so fast?
Back to top
DarkerLine
ceci n'est pas une |


Super Elite (Last Title)


Joined: 04 Nov 2003
Posts: 8328

Posted: 27 Apr 2004 05:06:38 pm    Post subject:

Maybe optimization?
Back to top
Notepad_Gamer


Newbie


Joined: 29 Jan 2004
Posts: 36

Posted: 27 Apr 2004 07:22:35 pm    Post subject:

But I know a couple of tricks he might have used (even without the source code):

1. He handled getkey outside of the main loop used in the game.
2. To make it scroll, he uses a Disp "" instead of clearing the screen and redrawing everything. The Y flickers because it gets shifted off the screen, then he redisplays it.
3. He uses a course loader. He said it will take a long time to load, so obviously he makes a course out of randints based on the option you chose.

Loading it into VTI, lets see my accuracy.

Mad He protected the program Mad

Hehehe... CODEX!

Ok, now to check accuracy...

1. He handled getkey inside the loop. I think I can possibly make a faster tunnel...
2. Yep, sure enough he did use a Disp "" to scroll.
3. RandInts before the main loop, just like I suspected.

My goal is to make a faster tunnel before school's out. 3 weeks from the 28 of April. It may be a challenge, but it is possible. Of course, I will check my progs speed compared to yours by simultaneuos VTIs. Don't worry, I will include you in the thanks.
Back to top
DJ Omnimaga
http://i-lost-the-ga.me


Calc Guru


Joined: 14 Nov 2003
Posts: 1196

Posted: 28 Apr 2004 10:40:54 am    Post subject:

Notepad_Gamer wrote:
Mad  He protected the program  Mad

Hehehe...  CODEX!

My game have been released in 2002 and Codex in 2003, so the awnser is MariageOS.

How do you put a getkey outsied the loop?
Back to top
Keith Pierce


Advanced Member


Joined: 02 Feb 2004
Posts: 411

Posted: 28 Apr 2004 10:54:33 am    Post subject:

how do you protect a program with mirageOS?
U can do it with Calcsys, but how with mirageos?
Back to top
Darth Android
DragonOS Dev Team


Bandwidth Hog


Joined: 31 May 2003
Posts: 2104

Posted: 28 Apr 2004 01:37:10 pm    Post subject:

he made his prgm mirage os compatable. mirage allows any program that it detects to be locked/unlocked/archived/unarchived/hidden/unhidden

also, can use that OS info somethime soon, keith. feel free to come to my site and join the DOS team if you want


Last edited by Guest on 28 Apr 2004 01:38:08 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: 28 Apr 2004 05:19:51 pm    Post subject:

Those parts might account for a lot of the speed but there are lots of small parts to optimization.
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 1, 2, 3  Next
» View previous topic :: View next topic  
Page 1 of 3 » All times are UTC - 5 Hours

 

Advertisement