Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411281 Posts in 69324 Topics- by 58380 Members - Latest Member: bob1029

March 28, 2024, 11:36:30 PM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsCommunityDevLogsMobile Golf game
Pages: [1]
Print
Author Topic: Mobile Golf game  (Read 649 times)
Joshingaround44
Level 0
*


View Profile
« on: June 22, 2021, 01:45:10 AM »

Golf game (actual Name TBD)

Brief
This project is a 3d Golf game for android (probably IOS too) with multiple game modes and a build your own course feature using modular segments which can be shared amongst friends. Unity 3D will be used to develop this project, most likely to have a low poly or cell shaded artistic style.

Log
There will follow a biweekly log of the development progress and challenges that have arisen, Bug logs and pictures will be included.

Software
The plan is to use Unity and blender for the development of the game with the project to be stored on github for source control.

« Last Edit: August 27, 2021, 06:16:47 AM by Joshingaround44 » Logged
Joshingaround44
Level 0
*


View Profile
« Reply #1 on: July 06, 2021, 05:59:15 AM »

Golf Game - (Name TBD)

Progress summary
In this sprint, The core golf mechanics have been developed. This includes the controls for the game, Some camera swapping, a few different clubs to use and base information tracking.

Demo video(YouTube link)




Controls
To start a shot the user will press on the ball and drag back to specify the shot power depending on how far they drag back, the user can then aim by dragging left or right to adjust direction, releasing the drag will take the shot. To cancel a shot the user can drag back up to and above the ball and the drag will be cancelled.

Currently the club button rotates through the club options, this will be expanded to a selection pop out to provide greater choice with more options and information on the clubs.

The user can presently press on the texture in the top right of the screen to swap between aim view and a mini-map to see an overhead representation of the hole and the currently aimed direction.

Mechanics
The project is currently relying upon the built in physics system in unity, There is a sway added to the launch vector of the shot as well as wind force applied to the ball while off the ground, this adds to the realism/difficulty of the shot being played. Wind is randomly assigned a direction and magnitude upon the hole loading. different surfaces also apply limits to the power the user can get from a shot.

Bug Log

Game Manager null reference - When moving from the menu to the course variables that were being assigned were reseting to null causing null reference errors - This was solved by changing from a in game manager object to a static script reference to a static gamemanager class

Power Change with direction - When dragging from left to right the power of the shot was also changing despite being the same distance form the drag point, This was fixed by isolating the Y-component of the positional vectors during calculation excluding the positon on the x axis.

Next Sprint
In the next sprint the plan is to continue working on the core mechanics and also to begin implementing the scoreing system/score card and data storage.
                                 
Logged
Joshingaround44
Level 0
*


View Profile
« Reply #2 on: August 13, 2021, 05:06:42 AM »

Golf Game (TBD)

Progress summary
In the last sprint the focus has been upon the data saving and course creation framework for the games unique selling point. to this end the framework for the creation tool has been completed with draggable elements which snap to a grid and can be rearranged, with the frame of the XML saving still in progress.

Creation tool
For the Course creation users are able to drag and drop pieces from a sliding menu at the bottom of the screen into the grid system around the Tee off piece these are then merged into one mesh before being saved for recall later.
Logged
Joshingaround44
Level 0
*


View Profile
« Reply #3 on: August 27, 2021, 06:15:54 AM »

Golf Game - (Name TBD)

Progress summary
The most recent script involved getting the functionality of the custom course creator working and saving with the XML Data system.

Demo video(YouTube link)




Controls
Once entering the course creation, the user can drag in different modular pieces to create a course, the modules are limited by available connections on both already placed pieces and the piece selected needing opposing open connections in order for the piece to be placed.
Once a hole module has been placed the option to save the hole will appear, here the user can name and set the par strokes for the hole, upon saving they will be returned to the course creation menu.

Bug Log

Overhead camera placement - the current placement of the camera is unintended and an unusual angle to where the shot will land, not a major game breaker, but should be fixable.


Next Sprint
For the next sprint the scoring system and storage of user data into the xml system is to be completed, this will include best score across premade holes, longest shot, longest putt and other statistics revolved around play.
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic