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-Nspire
»
My first BASIC program- Pokemon Damage Calculator
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: My first BASIC program- Pokemon Damage Calculator (Read 3487 times)
0 Members and 1 Guest are viewing this topic.
blweldon2
LV3
Member (Next: 100)
Posts: 49
Rating: +1/-0
Pokemon Master
My first BASIC program- Pokemon Damage Calculator
«
on:
March 20, 2012, 07:26:07 am »
I have decided to write a program in BASIC for the Nspire that will calculate damage in pokemon games. I want it to be able to be run as a library from the scratched. How should i start on this project?
EDIT: Here is an example of a damage calculator.
http://pokemon.marriland.com/damage.php
I want this on my Nspire.
«
Last Edit: March 20, 2012, 07:40:05 am by blweldon2
»
Logged
Hmmm.... I wonder how to do this.....
cyanophycean314
LV6
Super Member (Next: 500)
Posts: 363
Rating: +43/-1
It's You!
Re: My first BASIC program- Pokemon Damage Calculator
«
Reply #1 on:
March 25, 2012, 09:20:27 pm »
First, you would figure out the formula for the damage. I don't really know how you'd do that...
Then you can create a basic program that inputs all of those, then calculates it!
Good luck!
Logged
Programs (Nspire Lua)
Hangman
|
Checkers
|
Rush Hour
|
Base Converter
|
Flashlight, Mempi, and Strategy Steps
|
Jumper
|
Scramble/Boggle
3rik
LV3
Member (Next: 100)
Posts: 92
Rating: +8/-0
My TI-84+ SE
Re: My first BASIC program- Pokemon Damage Calculator
«
Reply #2 on:
March 25, 2012, 09:42:12 pm »
Here is a link with all the minute details of damage calculation.
http://www.smogon.com/dp/articles/damage_formula
You probably won't want to make it this complicated but it should have all the formulas you need. (This is for Diamond and Perl so the formulas could be slightly different depending on which generation you're writing the program for for)
It depends on how you want it to be used. If you want the inputs passed as arguments, I would say make a library full of functions. If you want the user to enter information in text boxes and such I would make one large program. Of course you could make both using your library functions in a program that collects the input from the user. Then you could use it both ways.
Good Luck!
Logged
Userbars
Print
Pages: [
1
]
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
Other Calc-Related Projects and Ideas
»
TI-Nspire
»
My first BASIC program- Pokemon Damage Calculator