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
»
Other Calc-Related Projects and Ideas
»
TI Z80
»
V Factor
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: V Factor (Read 2411 times)
0 Members and 1 Guest are viewing this topic.
Calc84
Guest
V Factor
«
on:
November 19, 2007, 12:51:00 pm »
Well, this is my very first game I have ever made. It's not very original, but its the best I can do so far. Any feedback or improvements would be nice. Keep in mind that this is my first game!
(its in BASIC)
This is it, so try it out, and let me know how it is. Read the readme!
Logged
trevmeister66
LV9
Veteran (Next: 1337)
Posts: 1009
Rating: +14/-5
V Factor
«
Reply #1 on:
November 19, 2007, 04:13:00 pm »
Pretty good for a first game (beats the heck out of my first game(s) %)
)
Some optimizations:
Teacher key: You eliminate the equations, and just display a number. Itll save you a bit of memory.
I suggest using booleans instead of if's
ex:
your code
c1-->
CODE
ec1If G=25
-1->D
If G=34
1->D
If A=1
1->D
If A=60
-1->D
If G=26
->Dc2
ec2
can be
c1
-->
CODE
ec1-(G=25 or A=60)+(G=34 or A=1)*not(G=26->Dc2
ec2
It is smaller and faster, a win-win.
Also Lbl-Goto's can be memory killers, although I think you did a good job of avoiding this. But to make it faster and, I think, easier, make it one big loop where you have
c1
-->
CODE
ec1Repeat pxl-Test(A,B
...
main game code
...
Endc2
ec2
I think it would end up being smaller and faster (and it's a good habit to avoid Lbl-Goto's whenever you can, which is almost all of the time)
All in all, a very good program to begin with. Now that you have the basic's down, you should try a pure BASIC fully graphical RPG.. jk. But none the less, great job. :thumbup:
Logged
Projects: nameless RPG: 1.0% |
Reverse Snake v1.5:
100% | Secret Project: 5% | DUNGEON: 70%
My
MW2 Blog
<-- Please visit
JonimusPrime
LV6
Super Member (Next: 500)
Posts: 389
Rating: +25/-5
V Factor
«
Reply #2 on:
November 19, 2007, 04:21:00 pm »
Not bad but is also not very hard Though it looks harder that it is.
Logged
"Always code as if the person who will maintain your code is a maniac serial killer that knows where you live" -Unknown
"If you've done something right no one will know that you've done anything at all" -Futurama
"Have a nice day, or not, the choice is yours." Tom Steiner
simplethinker
LV7
Elite (Next: 700)
Posts: 695
Rating: +16/-5
snjwffl
V Factor
«
Reply #3 on:
November 19, 2007, 04:49:00 pm »
It runs nicely, not too fast or not too slow. :thumbup:
(I've never even heard of this game though, so it might be me guessing how this is supposed to be)
It's programmed well, and a lot better than most people's first attempts (especially mine).
Like trevmeister66 said, the biggest improvement you can make is utilizing loops rather than Lbl/Gotos, because the calc actually starts searching for them at the very top of the program, so if you have a large program they will slow it down considerably. This page
http://tibasicdev.wikidot.com/controlflow
has a lot of detailed information on looping and program structure, and looking around the rest of the site can be useful for you too
One more side note: when you're using disp, you don't have to have each on a separate line, you can separate the strings with commas, like
c1-->
CODE
ec1:Disp "thing1","thing2","thing3"c2
ec2
Now for the fun part, optimizing
[edit] I just tried putting it in warp mode in PTI (super-fast mode in an emulator), and without pressing any buttons I somehow got to level 8 without dying, it was kind of weird (this has nothing to do with the code but it was kind of funny :lmao:
)
Logged
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." -- Professor Robert Silensky
Chip's Challenge: ħ%
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
V Factor
«
Reply #4 on:
November 19, 2007, 07:03:00 pm »
hmm I will try this asap I am curious about what it is
Logged
Halifax
LV9
Veteran (Next: 1337)
Posts: 1334
Rating: +2/-1
V Factor
«
Reply #5 on:
November 20, 2007, 02:07:00 pm »
Yes, I would have liked a little bit more of a description.
Just to know what it is...,but I guess I will download it and try it out either way, because I too am curious since it seems to have recieved good reviews from others here at Omnimaga.
Logged
There are 10 types of people in this world-- those that can read binary, and those that can't.
Print
Pages: [
1
]
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
Other Calc-Related Projects and Ideas
»
TI Z80
»
V Factor