Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
Calculator Community
»
TI Calculators
»
TI-BASIC
»
Code
« previous
next »
Print
Pages: [
1
]
2
Go Down
Author
Topic: Code (Read 5178 times)
0 Members and 1 Guest are viewing this topic.
katmaster
Guest
Code
«
on:
March 04, 2006, 10:42:00 am »
Well, here is my main loop. I will attempt to explain what all the variables do and stuff:
c1-->
CODE
ec1
:Lbl 1
Logged
kalan_vod
LV11
Super Veteran (Next: 3000)
Posts: 2715
Rating: +10/-0
Code
«
Reply #1 on:
March 04, 2006, 12:15:00 pm »
It looks pretty good, is there any problems with it atm or are you just looking for it to be faster? If you could run it through
http://www.cemetech.net/projects/basicelite/sourcecoder2.php
it would be a little better
.
Logged
crzyrbl
Guest
Code
«
Reply #2 on:
March 04, 2006, 01:09:00 pm »
elimating all the lbl's and goto's will drastically increase speed. i did that to xLib's original example prgm, i think it went close to 3x faster. lets see some more ss!
Logged
katmaster
Guest
Code
«
Reply #3 on:
March 04, 2006, 07:43:00 pm »
Hmmm that's what I figured. Is there just a way to order everything differently? Because I'm not exactly sure how to get rid of all of them and make it still work....
@kalan vod: Nothing's wrong with it, I'm just looking to make it run faster. Also, it doesn't have AI or powerups incorperated into it yet.
Logged
kalan_vod
LV11
Super Veteran (Next: 3000)
Posts: 2715
Rating: +10/-0
Code
«
Reply #4 on:
March 05, 2006, 03:36:00 am »
I will take a better look at the code if you use source coder so it's easier to read
Logged
katmaster
Guest
Code
«
Reply #5 on:
March 05, 2006, 12:52:00 pm »
Whiners!!! j/k
ok it's "easier to read" now
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Code
«
Reply #6 on:
March 26, 2006, 11:37:00 am »
woiw nobody posted here
too bad I couldnt help much I cant read other ppl code
I hope this is not dead tho
Logged
katmaster
Guest
Code
«
Reply #7 on:
April 02, 2006, 01:02:00 pm »
My code must be perfect then
. And no, it's not dead, things just got kinda busy again. Might be a few weeks before I get to work on it again though
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Code
«
Reply #8 on:
April 02, 2006, 01:08:00 pm »
cool to hear you aren't dropping it
. yteah basic can be kinda slow sometimes, I doubt it will run that slow tho because diortem ran at 2 fps with enemies and it used Omnicalc, which is slower than xlib
Logged
katmaster
Guest
Code
«
Reply #9 on:
April 02, 2006, 05:30:00 pm »
Yeah, I really need to find time to figure out exactly how I'm going to impliment the A.I. I've tried a few routines, but they ended up being kinda slow and unpredictable (things moving into walls and not dieing or killing you etc.). I wish I had more time.....
Logged
BCTurk
Guest
Code
«
Reply #10 on:
April 02, 2006, 06:29:00 pm »
If this is like the bomberman that I have played, I would reccomend that, for an AI routien, you have them randomly place & avoid bombs until they see either you or one of your bombs, then they should try and follow you and place bombs. Opinion only. Hope it helps.
Logged
Spellshaper
LV10
31337 u53r (Next: 2000)
Posts: 1690
Rating: +0/-0
This is me. Or maybe not.
Code
«
Reply #11 on:
April 03, 2006, 03:57:00 am »
QuoteBegin-crzyrbl+Mar 5 2006, 1:09-->
QUOTE
(crzyrbl @ Mar 5 2006, 1:09)
elimating all the lbl's and goto's will drastically increase speed. i did that to xLib's original example prgm, i think it went close to 3x faster. lets see some more ss!
O_O
k... how did u do that?
Mine still runs at about the same speed :
:
maybe I
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Code
«
Reply #12 on:
April 03, 2006, 04:08:00 am »
it really depend how huge the code is, if the lbl is at the bottom of a 11 KB huge code it will take a long while to load. if its at the top it will load faster. Some ppl probably noticed that old basic games (including some of mines) had the title screen, menu and such at bottom of the code, and the engine at the top. First code line was a goto 1
Logged
Spellshaper
LV10
31337 u53r (Next: 2000)
Posts: 1690
Rating: +0/-0
This is me. Or maybe not.
Code
«
Reply #13 on:
April 03, 2006, 04:16:00 am »
But I
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Code
«
Reply #14 on:
April 03, 2006, 05:26:00 am »
I think you mean DIE LBL/GOTO! DIE!
Logged
Print
Pages: [
1
]
2
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
TI Calculators
»
TI-BASIC
»
Code