Friday, September 12, 2014

Layouts, Seekbars, and Settings!

I worked on layouts for the settings menu which allowed me to position different widgets and text such as seekbars which act as volume bars. I have mainly been working on the UI as Finn works on coding the settings menu.
None of the widgets or buttons actually do anything right now but, for example, we hope to have those two "00" change when the user changes the volume. So 100 would be the max and 0 would be the least and OK would take you back to the main menu. As you can see the seekbar also defaults on 30 but that really doesn't matter right now. There are also a few problems like the seekbar is off center (Although, that may be only when you render it in IntelliJ) and we also don't know how to scale everything when you flip the device but we may just make it so that the game is always positioned horizontally.

Finn Edit: Tonight I worked on coding the seekbars. I was able to fully test everything, as I setup a second workspace so that I could debug with my Nexus 7. So far, after a very long and intensive coding session, I've gotten the SFX seek bar to correctly load data. Now, whenever you stop the app and restart it, it will remember your SFX setting! I also have coded the text to the right of the volume seekbar, so that it will now correctly store a number (the number of the percentage of the seekbar). I've attached an image to show this. Also, I plan to do the Music seekbar tomorrow. Since we now have a base for saving and loading preferences, we are now able to store any type of data, so finishing the settings and other features of the menu will be easy! As for the top with the app name, this is enabled via debug simply because I haven't bothered to change the theme (it is removed from the collaborative project!).

I am still considering re-working with GitHub. However, due to the extensive time and problems we ran into while setting up IntelliJ, I'm a bit hesitant to fool around with settings for awhile.


Thursday, September 11, 2014

Android Development

Today I messed around in a settings menu, I tried out the seek bar widget which could be used for a volume bar and I tried out the properties such as padding, width, and height. Finn started working on a file that saves settings. 

Wednesday, September 10, 2014

Rendering Problems

We were having rendering problems (it wasn't showing the virtual device so we couldn't make a layout for it) and this has set us back a lot so now we are going to try setting up eclipse to see if it is any better. We plan to use saros for real time editing. Otherwise if this doesn't work we will have to use our mobile devices to see any changes made.

Edit: Finn actually got IntelliJ working completely this time and he also started working on a menu which currently displays a disclaimer and a few buttons. Since Floobits is still working, we decided to keep using it!

Tuesday, September 9, 2014

Java Set Up 3

We just finished setting up the Android SDK on both computers and there were some problems with the path to the SDK but that is now fixed we also downloaded new API levels.


Also this looks neato https://www.kickstarter.com/projects/thoughtstem/codespells-express-yourself-with-magic

Monday, September 8, 2014

9/8/14


  • Fixed some issues with Floobits
  • Re-started with a new project
  • Finished GitHub integration! (Link goes to the repository)
  • Now working on fixing a new issue - We have to downgrade our version of the Android SDK, as IntelliJ is not compatible with the latest version of Android yet
  • Hopefully coding can start tomorrow! Our plans for this week are to get a basic layout and menu - we'll be working on an RPG-Based game, with a leveling system, upgrades, and hopefully some sort of random terrain generation... maybe servers, we'll see how far we can get, for Android (since most of the top apps currently lack... fun).
  • We also plan to have no in-app purchases and unlimited gameplay, since most apps also don't have that anymore.

Friday, September 5, 2014

9/5/14


  • Finished installing IntelliJ on both computers
  • IntelliJ, a Java IDE, is an alternative to more popular IDEs such as NetBeans and Eclipse. I personally chose IntelliJ to start this project because I wanted to experience things with a new IDE, as I have personally used Eclipse in the past and wanted to try something new!
  • I had to follow several steps to install IntelliJ on both computers. I started with the MacBook first, since I knew my way around it better (however I still am experienced with Linux! Mainly Ubuntu and CentOS, I've ran servers in the past so CentOS was an industry standard). The steps I followed for Mac are explained below.
    • Download the IntelliJ IDEA Community Edition Disk Image (.dmg file) from http://www.jetbrains.com/idea/download/
    • Open the Disk Image and run the installer
  • Although the Mac was relatively straightforward, I had to work a bit to get the IDE itself working on Linux. I followed similar steps, however some were a bit more complex.
    • Download the IntelliJ IDEA Community Edition Linux Package from http://www.jetbrains.com/idea/download/
    • Install the Linux Package via the dpkg command, shown below.
    • tar xfz idea-13.tar.gz
    • I then went into the IntelliJ directory, and ran the IDE, using the commands below.
    • cd Desktop
    • cd IntelliJ
    • cd bin
    • ./idea.sh
  • The IDE was now working on both computers! I then had to install Android SDK on both, which is where it got a bit more complex. However, beforehand, I knew I had to setup some form of realtime editing, so that we could both see each others' changes. I found this in a plugin called Floobits, which I found at https://floobits.com/. We both created accounts, and from there it was simple. I followed the following instructions to install Floobits on both computers.
    • Go to IntelliJ Settings (On Linux - File->Settings, On Mac IntelliJ->Preferences)
    • Select the Plugins menu
    • Select Install Plugin
    • Type in Floobits and install it
    • Restart IntelliJ and log into Floobits
  • On the Mac, I decided to host the project. I created a private project via Floobits and had Aki join it on his computer via IntelliJ's Quickstart menu. It was fairly simple, there was a "Join a friend's workspace" button.
  • We now had realtime editing! Next came Android SDK. I installed it on the Mac first. For the Mac, all you needed to do was download it from Google's Android Developer site and it was done. For Linux, I did the same thing, however I needed to link it to IntelliJ, via the Settings menu. I then doublechecked the Linux computer to make sure it had the right JDK and sadly it didn't. I installed that by going on Java's website, downloading the JDK, and installing it via the dpkg command.
  • We then both created GitHub accounts, and we're still working on linking GitHub to IntelliJ.

1st Day - 9/5/14

9/5/14


  • Began setup of IntelliJ on both computers
  • Began setup of Java JDK on both computers
  • Used sudo / dpkg commands to install on linux
  • Began setup of Android SDK on both computers