I remember my uncle bought me this for Christmas and I was disappointed because I thought it was gonna be a game based on the TV game show Mastermind. Then I was even more disappointed it when I played it and realised how frustrating it was.
The player looks up the correct answer online, or knows the correct answer from playing before. Then they just copy/paste "aim 30 right" and the game is pointless.
A player might know "10ft to hole from with moderate right slope" from playing it before or looking it up online, but they're unlikely to land exactly to land twice in a spot with the exact same distance and slope. They're likely to get "13ft to hole with severe left slope", "41ft to hole with light left slope.", "27ft to hole with moderate right slope", etc. So they don't know the exact answer from playing before or looking it up online because there's too many states to memorise. If they want to look it up online and ruin the game, I can't stop them, but you can do that with many games.
The player does not know the correct answer. Then, it's a trial and error random guess. If it's a random guess, the number is meaningless. You invented a random guessing game. Its effectively the same as playing a game with your monitor off and clicking at random.
You're assuming the player has no knowledge of how the aim command behaves. After they've played enough to get used to it, to give simple examples, they'll know that 10 is usually enough to correct for a 10ft to hole light slope, and 30 is enough to correct for a 30ft to hole light slope, if they're faced with a 20ft to hole light slope, what do you think they're gonna do? They don't know the exact answer, yet they can make an informed guess that it's 20 based on their past playthroughs.
Also I'll have more than three descriptors for slope in the game.
I think you're misunderstanding how the game works.
The number isn't meaningless in any way. The number given with aim will correspond to a proportionate change in the aim direction based on the number. This will be constant through the game so players get used to how much aim is required for each shot.
Say you've played a little bit before, and you've got "10 feet to the hole and breaks slightly to the right." You'll have an idea that it'll be around 5 because you'll have had similar putts before. Maybe you had "15 feet to the hole and breaks slightly to the right" before which you hit at 20 and went way too far to the right. You have an idea that it's still to the right, but a lot less than 20 now and is a shorter putt so won't break as much. Same way anyone gets used to the mechanics of any game.
In a 3d golf game where left and right control aim, you wouldn't say that it was a random number picker because you don't know how many left and right presses are required to win.
The thing is I want to have elevation and declination of the whole hole, so the green could be 3 feet higher than the starting tee, so I'll need to have a height map for the hole, right? So if I've already got the code for height maps, I can just use them for the green and use a simple height map for it to keep it simple for the player.
30 wouldn't necessarily be the only correct answer. I imagine that 27 or 33 or similar would also go in if I'm lenient enough with the hole-ball collision detection. I still think it can work. Users would get an idea of what numbers to use after a bit of trial and error.
Edit: Also, memorisation wouldn't be a thing as you'd always be in a different position from the hole. "10 feet to the hole and sloping slightly right" will have a different aim requirement than "30 feet to the hole and sloping slightly right"
I'd still need to calculate the height map and gradients even if I'm only using one slope, right?
If I just set a variable that says hole 1 slopes strongly to the right, and I land on the green and make a putt and miss, the hole might no longer be sloping to the right depending on the position of the ball to the hole, right?
So having a single slope for each hole would just mean generating a height map with that slope and using it normally? Am I understanding right?
Oh I absolutely love this idea. I was trying to think of a way of adding descriptions to each hole/shot, and this is perfect. If I write it right, it could have dozens of variations of preset messages and use them to build a good description of the hole based on where the random shots land.
Thanks a lot for this idea, I'm definitely going to try to implement this.
Edit: This will also allow me to add "dog leg" holes to the game where aiming straight forward towards the hole is a bad choice because of the terrain. If the practice balls that were hit straight mostly ended up bad and the ones to the right were good, then it could say, "The fairway on this hole extends to the right, with hazards lying ahead for those who shoot straight towards the hole." Without this idea, players wouldn't have had any idea that a straight shot would be bad, but this way it can be added to the description.
This is exactly what I needed and I think I have enough information to try it out now (when I get to this point in my game). Thanks so much for the explanation.
For how the game would communicate this information without any graphics, I think it's doable and could make for a playable game.
Here's an example of how I imagine a playthrough might go:
Hole 1
Par 3
Distance: 295 yards
Hole is slightly to the right.
Wind: SW 13 MPH
Surface: Starting Tee
Hazards:
Bunker 200 yards ahead moderately to the right.
Trees 150-250 yards ahead heavily to the right.
Club: Driver (305 yrds)
> aim 30 right
Aim has been set to 30 right
> swing
Press X to swing
[power bar appears, X key starts the swing, the power bar filles up, X again stops the power bar to choose power level (0-100%), X again causes the power bar to drop towards the original position (the aim is to stop it at its original position for a straight swing, left or right of the mark will cause the shot to slice or hook)]
[Screen clears]
Distance to hole: 295 yrds (this constantly ticks down as the ball approaches the hole)
The ball is heading for the green!
(6-second delay) (however long it takes the physics to detect a collision)
The ball bounces on the green.
(1 second delay)
The ball is rolling towards the hole.
(3 second delay)
The ball stops 5ft from the hole.
Press enter for next shot.
> [Enter]
[Screen clears]
Hole 1
Par 3
Distance: 5 feet
Hole is 4in downhill and sloping slightly to the right.
Surface: Putting Green
Club: Putter
> aim 10 right
> swing
Press X to swing
[power bar again]
[Screen clears]
Distance to hole: 5ft (ticks down as ball gets closer)
Ball is rolling towards the hole.
(1 second delay)
Nice birdie!
Score: -1 (thru 1)
Press Enter for Hole Two
This is just what's in my head right now, I'm sure I can refine it. But am I crazy or could this actually work?
I think I'd prefer to go with a heightmap as I don't really understand 3D meshes.
I think I understand the concepts of height maps. Do you think this approach would work for generating the height map for the green? Seems like it'd be a decent approach for it. I could generate them once and store them as a PNG file associated with each hole.
I'm also trying to figure out the physics of the ball rolling over the height map. I haven't found anything on Google that's helped so far. I'm hoping it'd be as simple as applying some adjustment to velocity.x and velocity.y of the ball based on the change in height from its last position, but I'm not sure how to approach this. Do you have any guidance or resources that would help with this?
Thanks for the advice, I appreciate you taking time to help me out.
I'm not sure how Blender works, but I googled export to csv in blender to see what it exports. The first few results were for exporting a 3D mesh. Is a 3D mesh what I'd need for my putting green terrain? It seems to be a surface made of polygons. So would I create a mesh then calculate where the ball would be on the surface of the mesh (surface of each polygon?) at any given time?
This is something I started a couple of years ago and yesterday I decided to pick it back up. The idea is to get 5 in a row on a 9x9 tic-tac-toe board.
So far the AI only plays random moves but I'm planning to add some proper AI to it.
That was the plan. I was going to make it so players could edit the names of their ships but the game would use the NASA names as default until the players changed them.
I think I'll just have to use generic default names (Lander 1, Probe 1, etc).
I remember my uncle bought me this for Christmas and I was disappointed because I thought it was gonna be a game based on the TV game show Mastermind. Then I was even more disappointed it when I played it and realised how frustrating it was.
I've had this exact same issue with Twitch chat.
Looks great. The boat jumping up and down looks like those lifts rappers get on their cars that make them bounce up and down.
I asked for playtesters on /r/forhire once, offering $15/hour, and had way more applications than I could handle within a few minutes.
A player might know "10ft to hole from with moderate right slope" from playing it before or looking it up online, but they're unlikely to land exactly to land twice in a spot with the exact same distance and slope. They're likely to get "13ft to hole with severe left slope", "41ft to hole with light left slope.", "27ft to hole with moderate right slope", etc. So they don't know the exact answer from playing before or looking it up online because there's too many states to memorise. If they want to look it up online and ruin the game, I can't stop them, but you can do that with many games.
You're assuming the player has no knowledge of how the aim command behaves. After they've played enough to get used to it, to give simple examples, they'll know that 10 is usually enough to correct for a 10ft to hole light slope, and 30 is enough to correct for a 30ft to hole light slope, if they're faced with a 20ft to hole light slope, what do you think they're gonna do? They don't know the exact answer, yet they can make an informed guess that it's 20 based on their past playthroughs.
Also I'll have more than three descriptors for slope in the game.
I think you're misunderstanding how the game works.
The number isn't meaningless in any way. The number given with aim will correspond to a proportionate change in the aim direction based on the number. This will be constant through the game so players get used to how much aim is required for each shot.
Say you've played a little bit before, and you've got "10 feet to the hole and breaks slightly to the right." You'll have an idea that it'll be around 5 because you'll have had similar putts before. Maybe you had "15 feet to the hole and breaks slightly to the right" before which you hit at 20 and went way too far to the right. You have an idea that it's still to the right, but a lot less than 20 now and is a shorter putt so won't break as much. Same way anyone gets used to the mechanics of any game.
In a 3d golf game where left and right control aim, you wouldn't say that it was a random number picker because you don't know how many left and right presses are required to win.
Perfect. Thanks. :)
The thing is I want to have elevation and declination of the whole hole, so the green could be 3 feet higher than the starting tee, so I'll need to have a height map for the hole, right? So if I've already got the code for height maps, I can just use them for the green and use a simple height map for it to keep it simple for the player.
Does that sound like a good idea?
30 wouldn't necessarily be the only correct answer. I imagine that 27 or 33 or similar would also go in if I'm lenient enough with the hole-ball collision detection. I still think it can work. Users would get an idea of what numbers to use after a bit of trial and error.
Edit: Also, memorisation wouldn't be a thing as you'd always be in a different position from the hole. "10 feet to the hole and sloping slightly right" will have a different aim requirement than "30 feet to the hole and sloping slightly right"
I'd still need to calculate the height map and gradients even if I'm only using one slope, right?
If I just set a variable that says hole 1 slopes strongly to the right, and I land on the green and make a putt and miss, the hole might no longer be sloping to the right depending on the position of the ball to the hole, right?
So having a single slope for each hole would just mean generating a height map with that slope and using it normally? Am I understanding right?
Oh I absolutely love this idea. I was trying to think of a way of adding descriptions to each hole/shot, and this is perfect. If I write it right, it could have dozens of variations of preset messages and use them to build a good description of the hole based on where the random shots land.
Thanks a lot for this idea, I'm definitely going to try to implement this.
Edit: This will also allow me to add "dog leg" holes to the game where aiming straight forward towards the hole is a bad choice because of the terrain. If the practice balls that were hit straight mostly ended up bad and the ones to the right were good, then it could say, "The fairway on this hole extends to the right, with hazards lying ahead for those who shoot straight towards the hole." Without this idea, players wouldn't have had any idea that a straight shot would be bad, but this way it can be added to the description.
This is a really interesting approach and I may go this way if I decide to ditch the physical simulation.
Yeah, not sure how I'll address that, but it definitely needs to convey more information than it does there.
Thanks for the link. I'm pretty sure I've got the height map and the physics figured out now thanks to these comments.
I think I'm going to just model the golf ball as a projectile with a wind vector applied to it to account for the wind.
This is exactly what I needed and I think I have enough information to try it out now (when I get to this point in my game). Thanks so much for the explanation.
For how the game would communicate this information without any graphics, I think it's doable and could make for a playable game.
Here's an example of how I imagine a playthrough might go:
This is just what's in my head right now, I'm sure I can refine it. But am I crazy or could this actually work?
I think I'd prefer to go with a heightmap as I don't really understand 3D meshes.
I think I understand the concepts of height maps. Do you think this approach would work for generating the height map for the green? Seems like it'd be a decent approach for it. I could generate them once and store them as a PNG file associated with each hole.
I'm also trying to figure out the physics of the ball rolling over the height map. I haven't found anything on Google that's helped so far. I'm hoping it'd be as simple as applying some adjustment to velocity.x and velocity.y of the ball based on the change in height from its last position, but I'm not sure how to approach this. Do you have any guidance or resources that would help with this?
Thanks for the advice, I appreciate you taking time to help me out.
I'm not sure how Blender works, but I googled export to csv in blender to see what it exports. The first few results were for exporting a 3D mesh. Is a 3D mesh what I'd need for my putting green terrain? It seems to be a surface made of polygons. So would I create a mesh then calculate where the ball would be on the surface of the mesh (surface of each polygon?) at any given time?
Very nice.
5 In A Row Tic-Tac-Toe
Screenshot
This is something I started a couple of years ago and yesterday I decided to pick it back up. The idea is to get 5 in a row on a 9x9 tic-tac-toe board.
So far the AI only plays random moves but I'm planning to add some proper AI to it.
So does that mean I can use NASA's ship designs for my game?
What about ship names like Apollo and Pioneer, would I be able to use those names in my game or are they copyrighted/trademarked?
That was the plan. I was going to make it so players could edit the names of their ships but the game would use the NASA names as default until the players changed them.
I think I'll just have to use generic default names (Lander 1, Probe 1, etc).
Thanks for the suggestion, I wasn't aware of that subreddit.
As name_was_taken says, it seems like I won't be able to use the real NASA names for my game, but I'll ask there if I need any more advice.
Ah I guess I was a bit loose with my interpretation.
I was planning to keep the game realistic to a certain extent, but with some things simplified/changed for the sake of gameplay.
I guess I'll just use generic names for ships (Spaceplane, Orbiter, Lander, etc) rather than the real names.
Thanks for the advice.
Almost as good as Kerbal Space Program.
The clouds are a nice touch.
Hm, not sure why. It works for me and I just asked someone to try it and they said it worked for them.
Are you getting a 404 error or anything like that?
Edit: Just tried it with someone else, apparently they got a 'page not found error'. I've reuploaded it: http://www.swfcabin.com/swf-files/1377902663.swf . Hopefully that link should work.