Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
19 May, 2013, 13:58:50 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Poll
Question: Format? read http://www.omnimaga.org/index.php?topic=10450.msg192651#msg192651 first
AXE - 8 (72.7%)
BASIC with graph screen - 1 (9.1%)
BASIC with homescreen - 0 (0%)
BASIC with Libs - 2 (18.2%)
Total Voters: 11

Pages: [1] 2 3 ... 5   Go Down
  Print  
Author Topic: Golf Tour 2011 - Not mini golf! -  (Read 2430 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
flyingfisch
I'm 1337 now!
LV10 31337 u53r (Next: 2000)
**********
Offline Offline

Gender: Male
Last Login: Today at 01:00:21
Date Registered: 26 August, 2011, 21:18:14
Location: OH, USA
Posts: 1476


Total Post Ratings: +75

View Profile WWW
« on: 18 September, 2011, 04:03:53 »
0

Quote
If anyone wants to use the posted code structure for there own golf game,
* boot2490 points to flyingphisch and his CASIO
 i will be MORE than glad. It is a lacking genre on the calc. Just don't make it too much better than mine

I can't. LOL.

St. Andrew's is in scotland, I believe, and is probably the most famous or one of the most famous golf courses of all time. According to legend, that's the area where golf originated, and St. Andrew's is arguably the hardest golf course in the world.

*flyingFisch is done teaching history (note the F, not ph)

Please do not take anything in this post personally. Wink

Casio code:
Spoiler for Hidden:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
'Run program which stores the 15*23 level into a matrix
While 1
Menu (view map,1,change club,2,swing,3,save,4,load,5,quit,6)
Lbl 1
Loop: check matrix bit by bit, return each value
If value = 1
Then draw grass 4x4 sprite
If value = 2
draw rough 4x4 sprite
If value = 3 and so on
IfEnd
Lbl 2
Menu (Driver:,A,Iron:,B,Wedge:,C,Putter:,D)
Lbl 3
Draw thermometer
Loop: expand line to match swing power like a normal power bar
If max set variable to down
Loop: Shrink line accordingly
If line reaches bottom, go back to menu
If 2nd pressed
Start new line below first, Going down towards accuracy mark
Test accuracy variable with closeness of line to mark
If 2nd pressed, send variables to shot calculation program
Lbl S
Save all variables such as position, club, hole, level pack to list
Lbl L
Load variables from list
Lbl Q
Goto Lbl Z
Lbl X
Use trig, wind value vs z value, and matrix data to calculate new position
IfEnd
Lbl Z
ClrText
"Thanks for playing!
(block done token)
Stop
Lbl A
1->Z:5->D:Goto 3
Lbl B
2->Z:4->D:Goto 3
Lbl C
3->Z:2->D:Goto 3
Lbl D
0->Z:1->D:Goto 3
WOW! a *lot* easier to convert than I thought!
« Last Edit: 18 September, 2011, 04:04:26 by flyingfisch » Logged




Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0
Pages: [1] 2 3 ... 5   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.181 seconds with 33 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.