Weekly Update
Although we spent most of time this
week on our rough draft for the final report. A lot of progress was made to the
dialogue box, and the menu icons.
The dialogue box will pop up when
the user presses the info button under the main menu tab. This dialogue box gives
the user the ability to manual change the information of a selected body. As
shown in the image below there is a save button. When pressed the selected body
is updated to the new specifications. It even gives the user an option to name
the planet, in order to keep track of his creation. Allowing a user to input
specific values for these variables, will give students the ability to
calculate the gravitational force, and centripetal acceleration.
Image 2: This is an example of a dialogue
box without a body selected.
|
Image 1: This is an example of a dialogue
box without a body selected
|
The
second big task we did this week was making the icons for the menu buttons.
When doing this we found free icons online. We then download the icons and made
a texture atlas out of them using libGDX’s texture packer. The texture atlas is
shown in the image below. After loading in the texture atlas we were able to
access each icon, by locating the image in the texture atlas. The buttons were chosen
to best resemble there function. For example the info button is an [i], and the
add planet button is a [+]. We hope these buttons will make the simulator
easier to use. If we find out this isn’t the case, we may switch back to words
for the buttons, or change the graphics.
Image 3: This is an example of a texture atlas. |
No comments:
Post a Comment