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
trevmeister66


Advanced Newbie


Joined: 17 Jan 2007
Posts: 69

Posted: 30 Nov 2007 12:24:47 am    Post subject:

Alright. Now that I've fixed my calculator after it's uber crash, and have stablilized my school work, I have now begun to program again. This was going to be my first ASM game, but I just can't seem to get a grasp of ASM.

I got the idea from Sam Heald's Ion port, found here. I thought it was too.. simple, and that it got overly mundane after a while. There really isn't any animation, the game engine is predictable, and the realisticness isn't very high. So I thought I'd create my own baseball game with most of the following features:
-xLIB enhanced (of corse!)
-3 modes of game play (homerun derby, season, exhibition)
-Custimizable season length (28,56,82, or 182 games)
-Full game statistics (batting avg, hits, HR's, rbi's, etc.)
-First person batting (example in screenie coming soon)
-Pitch selection and location (in season and exhibition mode)
-Maybe 2 player (haven't decided)
-Realistic ball direction after hit (no preset trajectories).
-Pitching and swinging animations
-Anything else you guys can think of that should be in a baseball game.

Hopefully I can have a screenie up sometime this weekend, depending on my work schedule.
Back to top
Pseudoprogrammer


Member


Joined: 12 Dec 2006
Posts: 121

Posted: 30 Nov 2007 12:50:44 am    Post subject:

Add a randInt(1,100 that makes it so if it hits say, 42, "the ump makes a bad call", that would be more realistic.
Back to top
bananaman
Indestructible


Calc Guru


Joined: 12 Sep 2005
Posts: 1124

Posted: 30 Nov 2007 01:08:51 am    Post subject:

Umm, I think that should be a randInt(41,42

Are you going to be able to throw pitches to the other team?
It may be hard to implement and I would focus on the rest of the game first, but it would be quite a bit better if you have a say in how many runs your enemy can score.
Back to top
trevmeister66


Advanced Newbie


Joined: 17 Jan 2007
Posts: 69

Posted: 30 Nov 2007 01:22:43 am    Post subject:

I plan to make it so you can pitch the ball. You'll be able to select the pitch, the loaction, and maybe an accuracy/velocity bar that will determine, well.. you're accuracy and velocity. But that would come much later. I'm gonna try to finish the Homerun Derby part sometime next week, simply because it seems to be the easiest part to do.
Back to top
alexrudd
pm me if you read this


Bandwidth Hog


Joined: 06 Oct 2004
Posts: 2335

Posted: 30 Nov 2007 01:09:45 pm    Post subject:

bananaman wrote:
Umm, I think that should be a randInt(41,42 [post="116654"]<{POST_SNAPBACK}>[/post]
That would make the ump have a bad call 50% of the time. He wanted to do 1%, and just picked 42 as an arbitrary number between 1 and 100.
Back to top
bananaman
Indestructible


Calc Guru


Joined: 12 Sep 2005
Posts: 1124

Posted: 30 Nov 2007 03:20:14 pm    Post subject:

I do realize the effects of my code. I was simply trying to be sarcastic about the quality of calls in major league baseball.
Back to top
DarkerLine
ceci n'est pas une |


Super Elite (Last Title)


Joined: 04 Nov 2003
Posts: 8328

Posted: 30 Nov 2007 05:21:03 pm    Post subject:

In any case, the better way to do it would be rand<P where P is the probability you want.
Back to top
luby
I want to go back to Philmont!!


Calc Guru


Joined: 23 Apr 2006
Posts: 1477

Posted: 30 Nov 2007 06:03:52 pm    Post subject:

I'm sure if you asked nitacku real nicely, you could get a similar concept from his bowling game used in your pitching, having certain combonations of speed and spin be curveball, fastball, change up...
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
    »
» View previous topic :: View next topic  
Page 1 of 1 » All times are UTC - 5 Hours

 

Advertisement