-
Notifications
You must be signed in to change notification settings - Fork 430
GSoC 2017 Kim & Sachin
I'm a rising sophomore at Duke University studying computer science and economics. I love designing minimalist and cute pieces and crafting flowy, beautiful experiences. I'm really interested in game dev, VR/AR, and mobile dev, and also love cats, desserts, and League of Legends!
Gmail | Personal Website | GitHub | LinkedIn
Redesign PowerUp's UI!
What have you accomplished this week (list specific items accomplished)?
(includes a couple weeks preceding Week 1)
PowerUp:
- Created 2 possible overarching color palettes
- Designed 3 versions of the dialogue scenario UI
- Made 4 sprites for NPC (Marco) in different styles
- Completed game map
- Completed school background
Grace Hopper Conference app:
- Conducted usability tests
What issues or roadblocks have you encountered this week?
Since PowerUp was designed after testing different styles on middle school girls, it was hard for me move forward with any design involving sprites and color palette since I didn't know which ones would be preferred by our target audience.
Have they been resolved, and if so, how?
For now I've selected the more gender neutral color scheme (primary colors as light blue to medium blue, as opposed to pink and lavender) in line with our goal to not pigeon-hole players into traditionally feminine choices, and to accommodate any preferences and identities the players may have.
Do any of the issues or roadblocks still exist and what steps have been taken to resolve them?
Without conducting tests on sample groups, it will be hard to know which style is preferred. We'll be testing sprite styles on family and friends in the coming weeks, and I'll be creating more drastically different styles for the choices.
Is further assistance necessary to resolve existing issues?
Not until the testing stage.
What do you plan to accomplish next week?
Minesweeper game UI.
How does your progress compare to your project schedule?
I anticipated doing the avatar creation first, but May gave me tasks that were of highest priority, so it's difficult to compare my progress with my intended schedule (and so my schedule will continue to be a little disjointed compared to my proposal). That being said, looking solely at the time I allocated myself for each task, my progress matches my proposal timeline.
What have you accomplished this week (list specific items accomplished)?
- Redrew school's architecture on game map to look more easily identifiable
- Added label for library on game map
- Completed minesweeper mini game UI
What issues or roadblocks have you encountered this week?
The minesweeper UI files weren't vectors since I made them in Photoshop, so there was a fear that they wouldn't scale well on larger devices.
Have they been resolved, and if so, how?
I created the UI based on the largest Android phone screen's dimensions right now, so I think they should be fine on all phones. I haven't heard of any issues so far.
Do any of the issues or roadblocks still exist and what steps have been taken to resolve them?
For the future, I'll be doing my best to create the UI in Illustrator instead (or create the UI with larger dimensions in Photoshop so scaling isn't an issue).
Is further assistance necessary to resolve existing issues?
Possibly if my workflow is significantly affected by switching to Illustrator since I'm less familiar with its controls, but May offered to help me with any questions I have.
What do you plan to accomplish next week?
- Sink to Swim UI
- Pro/cons end screen for the Minesweeper game
How does your progress compare to your project schedule?
The time allocated matches well.
What have you accomplished this week (list specific items accomplished)?
- Completed Sink to Swim UI (missing gauge)
- Uploaded game's finalized color palette and use cases
- Created 3 versions of the "Continue" button for Minesweeper
- Created pros & cons end screen for Minesweeper
What issues or roadblocks have you encountered this week?
The Vocabulary Match game UI should have been completed first according to its priority, but we were thinking about changing the UI theme to something more appropriate for our target audience.
Have they been resolved, and if so, how?
I had a design meeting that helped to redefine the theme as more hospital-related and relevant to the scenario that occurs before it (on puberty).
Do any of the issues or roadblocks still exist and what steps have been taken to resolve them?
No.
Is further assistance necessary to resolve existing issues?
No.
What do you plan to accomplish next week?
- Vocabulary Match Game UI
- Images for different contraceptive methods for Minesweeper
- Add counter and score UI elements to Minesweeper
- 9-patch version of the dialogue UI
- Begin drafting avatar styles for testing
- Home Button Android bug
- Add gauge to Sink to Swim UI
How does your progress compare to your project schedule?
They match pretty well, although since there are multiple assets to be added to each minigame as we work on them, it's not such a linear timelines like my proposal was!
What have you accomplished this week (list specific items accomplished)?
- Added gauge to Sink to Swim UI
- Completed word tile ver. of Vocab Match UI
- Uploaded 9-patch(?) versions of dialogue UI
- Added birth control pill image for Minesweeper
- Updated Minesweeper UI with score and try counter
- Created 2 art style sketches for avatar
- Fixed Home Button Android bug
- Submitted PRs for design work thus far
What issues or roadblocks have you encountered this week?
I haven't used Github much before, so I struggled with submitting tidy PRs. My PRs also fail a Travis CI test.
Have they been resolved, and if so, how?
After some guidance from Dil and some internet scouring, I was able to submit clean PRs.
Do any of the issues or roadblocks still exist and what steps have been taken to resolve them?
My PRs still fail the Travis CI test, so I'm still searching on how to fix that (and seeing if it's an actual issue).
Is further assistance necessary to resolve existing issues?
Possibly if this proves to be an issue--I'm not sure how a PR that just adds pictures to an outside folder could affect the build!
What do you plan to accomplish next week?
- No condom and abstinence images for Minesweeper
- Create a mock changing try stars to a number for Minesweeper
- Tutorial screen for Minesweeper
- Different backgrounds for minigames (current ones have a lot of whitespace)
- Add 3rd art style for avatar in a Shopkins/Funko POP style
- Start coloring avatar sketches (pink & blue color schemes)
- (If time:) Add different outfits/hair to the 3 art styles
How does your progress compare to your project schedule?
In my project schedule, I anticipated finishing a minigame in a shorter time--we're still adding things to Minesweeper! But I've been simultaneously moving forward on the other minigames so my progress ultimately fits my schedule I would think.
What have you accomplished this week (list specific items accomplished)?
- Added different color backgrounds for minigames
- Created no condom and abstinence images for Minesweeper
- Created mock with tries represented by a number instead of stars for Minesweeper
- Completed tutorial screens for Minesweeper (tries as stars version)
- Completed 3 image tiles for Vocab Match
- Added 3rd art style for avatar testing
- Created colored and b&w/lineart versions of the 3 art styles in 2 outfits: dress and sweater/jeans
What issues or roadblocks have you encountered this week?
Waiting to hear about which color background is preferred and whether tries are better represented by a number or stars! Also, my PRs still fail Travis CI tests since it can't find travis.yml and just uses the default setup (which is for ruby, not Android).
Have they been resolved, and if so, how?
We'll likely test the different backgrounds in user testing.
Do any of the issues or roadblocks still exist and what steps have been taken to resolve them?
The mentors are looking at the Travis CI issue currently.
Is further assistance necessary to resolve existing issues?
No.
What do you plan to accomplish next week?
- Scenario backgrounds for hospital, library, and store
- Grayscale versions of hospital, library, and school on the game map
- Home button on the game map
- Gather behavioral interview questions
- Come up with a user testing plan with May for the avatars
How does your progress compare to your project schedule?
My progress matches well with the phase expectations/schedule!
What have you accomplished this week (list specific items accomplished)?
- Emailed Emily & Finda about previous avatars
- Completed scenario backgrounds for hospital, library, and store
- Added score, checkmark, and x elements for Sink to Swim
- Created grayscale versions of hospital, library, and school for game map
- Added temporary home button to game map
- Compiled a list of behavioral interview questions
- Fixed PRs to pass Travis CI tests
What issues or roadblocks have you encountered this week?
I wasn't sure which order the buildings would be unlocked for the game map, so I was only able to create one map with all 3 buildings grayed out instead of different maps as the buildings were unlocked.
Have they been resolved, and if so, how?
Yes--I discussed this during our team meeting and was told that the buildings will unlock in clockwise order.
Do any of the issues or roadblocks still exist and what steps have been taken to resolve them?
No.
Is further assistance necessary to resolve existing issues?
No.
What do you plan to accomplish next week?
- New game maps that unlock buildings in clockwise order
- Locks on grayed out buildings
- Title screen and splash screen
- (If time:) Tutorials for Sink to Swim and Vocab Match
How does your progress compare to your project schedule?
My progress has been faster than my project schedule. I anticipated spending a couple more days on these backgrounds.
What have you accomplished this week (list specific items accomplished)?
- Added game map versions with unlocked buildings for different stages of the game
- Created a mock with locks on top of unavailable buildings for comparison for game map
- Completed title screen and possible splash screens
- Completed app icon/logo
- Added scenario UI with faded stripes
- Created text mocks with semibold and bold fonts for scenario UI
- Updated home button (2 versions: star and starless)
- Found a list of camps to potentially conduct UX research on in Boston
What issues or roadblocks have you encountered this week?
None.
Have they been resolved, and if so, how?
N/A
Do any of the issues or roadblocks still exist and what steps have been taken to resolve them?
N/A
Is further assistance necessary to resolve existing issues?
N/A
What do you plan to accomplish next week?
- Clean up icon + scenario UI dialogue box
- Flipped dialogue boxes for scenario UI
- Replay button
- Game complete screen for Sink to Swim ("Game Complete," score, # of questions answered correctly and # of questions answered incorrectly, replay)
- A couple mocks for choice UI for scenarios
- (If time:) Tutorial screens for Sink to Swim and Vocab Match
- (If time:) Living room scenario background for house
How does your progress compare to your project schedule?
My progress was a little delayed during the week due to unexpected family gatherings, but I was able to get back on track!
What have you accomplished this week (list specific items accomplished)?
- Cleaned up app icon and scenario dialogue box
- Added isolated files for grayscale/color game map buildings and lock
- Added flipped dialogue boxes (in the faded stripes style) depending on who speaks first
- Created replay button
- Completed game complete screen for Sink to Swim
- Created a mock for the choice UI for the scenarios
- Completed tutorial screens for Sink to Swim
What issues or roadblocks have you encountered this week?
None.
Have they been resolved, and if so, how?
N/A
Do any of the issues or roadblocks still exist and what steps have been taken to resolve them?
N/A
Is further assistance necessary to resolve existing issues?
N/A
What do you plan to accomplish next week?
- Change A, B, C to Lily, Sarah, and Emma for the avatar styles
- Red + green stars for Vocab Match
- Tutorial screens for Vocab Match
- Living room house background for scenarios
- Android bug
How does your progress compare to your project schedule?
I was on track with my progress.
What have you accomplished this week (list specific items accomplished)?
- Changed A, B, C to Lily, Sarah, and Emma for the avatar styles
- Obtained a couple responses for our UX research on the avatars
- Created 7 new image tiles for Vocab Match
- Added red and green stars to clipboards for Vocab Match
- Completed tutorial screens for Vocab Match
- Added first aid box to hospital background
- Updated isolated game map building files with placement on map
- Added game map with no buildings except for store
- In progress: living room background
What issues or roadblocks have you encountered this week?
None.
Have they been resolved, and if so, how?
N/A
Do any of the issues or roadblocks still exist and what steps have been taken to resolve them?
N/A
Is further assistance necessary to resolve existing issues?
N/A
What do you plan to accomplish next week?
- Scenario background for living room
- Store UI
- Start game screen/button for minigames
- Add question to Sink to Swim tutorial screens
- Continue button (arrow?) for tutorials
- Talk to May about Sink to Swim end screen (show 5/10 instead of 5 correct and 5 incorrect?)
- Android bug
- Progress on Android Udacity course
- ??? (need to ask May) Age phase 2 scenario backgrounds for school and library
How does your progress compare to your project schedule?
I was on track with my progress.
What have you accomplished this week (list specific items accomplished)?
- Completed living room scenario background
- Added sample question to tutorial screens for Sink to Swim
- Created "Start" button for minigames after tutorial screens
- Completed store UI
- Created mock of scenario completed screen and map button
- Fixed extra white space Android bug
What issues or roadblocks have you encountered this week?
For a time, I was stuck on the Android bug. I was looking at the scenario's xml in portrait mode and saw that the height was wrap_content, so I was stumped on why there was extra white space underneath the available answer options.
Have they been resolved, and if so, how?
Yes, I turned my preview device to landscape and it turns out the listview's height was set to a predetermined value. I had assumed that it wouldn't change between the orientations, but I was wrong!
Do any of the issues or roadblocks still exist and what steps have been taken to resolve them?
N/A
Is further assistance necessary to resolve existing issues?
N/A
What do you plan to accomplish next week?
- Update scenario completed screens with another line of text, avatar, share karma to facebook
- Update Replay and Map buttons to be in the style of the Continue and Start buttons
- Avatar base (5 skin colors, 5 eye colors)
- Avatar shop items (5 hairstyles, 5 outfits, 5 accessories)
How does your progress compare to your project schedule?
I was on track with my progress.
What have you accomplished this week (list specific items accomplished)?
- Completed all avatar required items (skin colors, religion, hairstyles, and eye colors)
- Updated Replay and Map buttons to be in the style of the Continue button for the continue screen after a finished scenario
- Added About button to title screen
What issues or roadblocks have you encountered this week?
N/A
Have they been resolved, and if so, how?
N/A
Do any of the issues or roadblocks still exist and what steps have been taken to resolve them?
N/A
Is further assistance necessary to resolve existing issues?
N/A
What do you plan to accomplish next week?
- Avatar shop items (outfits and accessories)
- 2 more African American avatar hairstyles
- Update scenario completed screens with another line of text, avatar, share karma to facebook
- New "store" box without the buy button to be used in character customization for new game
- Any android bugs found
How does your progress compare to your project schedule?
According to the schedule I made in my proposal, I think I'm probably on schedule, but I overestimated my ability last week so I anticipated finishing more than I did!
What have you accomplished this week (list specific items accomplished)?
- Cleaned up all skins and hairstyles
- Added 2 more African American hairstyles
- Completed 4 accessories and 4 outfits
- Character customization box (but this was replaced with a box with a select button instead of buy)
What issues or roadblocks have you encountered this week?
N/A
Have they been resolved, and if so, how?
N/A
Do any of the issues or roadblocks still exist and what steps have been taken to resolve them?
N/A
Is further assistance necessary to resolve existing issues?
N/A
What do you plan to accomplish next week?
- UI sections in game design document
- Final report and presentation!
How does your progress compare to your project schedule?
My progress during GSoC has been further than my proposed project schedule! :)
I am a pre-final undergraduate at Maharaja Agrasen Institute of Technology, Delhi. I am passionate about coding, designing, and developing things that are impactful. I believe, there is a huge relation between real life problems and a code snippet that we write. One thing I love more than programming is music, which I simply can't resist :-)
Gmail | My Blog | GitHub | LinkedIn | HackerRank | Website | Play Store | Facebook | [Resume] ()
Please find my proposal here
- Gathered requirements, tasks and modified the timeline with the help of mentors.
- Revisited the codebase, understood some remaining parts and made notes for my understanding.
- Added differences between the iOS and Android version for the team, so we can bring both in sync.
- Had a 1-on-1 meetings with every Android Mentor where I got to know them, their experience and expertise.
- Had a multiple all-team meetings (Android,iOS,Design) where we did team bonding activities, discussed project and finalised the future work.
What have you accomplished this week (list specific items accomplished)?
- Solved #371 - Items already owned by player were available for buying again in the store. I updated database to disable re-buying of already owned items and marked them with "Already Paid" Label.
- Solved #361 - Earlier, player avatar was static. I modified the database so that avatar will change as per the items bought by her from the store.
- Solved #372 - Earlier game used to end before it's actual completion. I solved some mistakes in database code to resolve this.
- Solved #378 - Game have some sample scenarios which used to open sometimes. I solved some mistakes in database code to resolve this.
- Solved #367 - Added support for all screen sizes in Dressing Room
- Solved #377 - Final Avatar Screen not updated after buying items from store. I solved this by rollbacking the PR responsible for this.
- Solved #375 - Back functionality was not working. I solved this by rollbacking the PR responsible for this.
What issues or roadblocks have you encountered this week?
No
Have they been resolved, and if so, how?
No
Do any of the issues or roadblocks still exist and what steps have been taken to resolve them?
No
Is further assistance necessary to resolve existing issues?
No
What do you plan to accomplish next week?
I plan to add Home, Hospital, School and Library scenarios to the game.
How does your progress compare to your project schedule?
It's right on plan.
What have you accomplished this week (list specific items accomplished)?
- #389, #401 - Added 4 scenarios to the Game - Hospital Visit, Library Scenario, Home Scenario, Sex Scenario. I did this by converting the flowcharts into mappings as per database structure and filling them into the database.
- #403 - Added Buttons to the Game Completion Screen for navigating to Store or Map.
What issues or roadblocks have you encountered this week?
-
Some of the scenarios had too much content which was going out of the scope and there was no Scrollview in the layout. Scrollview was required only for upper half and not for Powers Bar on the lower half. Now, Android scrollview can always have only one direct child. The problem was, the current root was a relative layout with views from upper and lower half linked to each other. I needed to take all upper half views and put them into one container and then apply Scrollview to it but this broke the relative links between upper and lower half views. This resulted in disoriented UI.
-
While adding the content to the .csv file, all entries of the database had to be separated by a comma. Some of the content that had to fill in this database had commas in them which resulted in the wrong format. Since it was .csv file, there was no way to debug and took a lot of time to figure out the mistake.
-
I was adding data into .csv file row-wise. At last row, as usual, I pressed enter which created a new line. This new blank line could not be read by database resulting in wrong format error. Since new line couldn't be seen at last and with no direct way to debug .csv file, the identifying problem was very difficult.
Have they been resolved, and if so, how?
Yes, I solved them all.
- I restructured the layout (which was huge) from scratch. Even here, it required a few iterations to achieve the older UI look.
- I went through .csv data and found the mistake. I changed the content so as to remove commas from them.
- I went through all the content multiple times with no success. I made a function on database side to parse the incoming data and print it. There, I realized my mistake.
Do any of the issues or roadblocks still exist and what steps have been taken to resolve them?
- The Issue for adding the Store Scenario was not needed. The issue was closed after discussing with mentors.
Is further assistance necessary to resolve existing issues?
No
What do you plan to accomplish next week?
I plan to work on Minesweeper Game for the next week.
How does your progress compare to your project schedule?
It's right on plan.
What have you accomplished this week (list specific items accomplished)?
- Converted the whole project from Portrait mode to Landscape mode.
- Developed the Minesweeper Game from scratch. I made 2 versions of the game, one with 5 rounds and other a single round game where multiple mines can be opened.
- Added Animations to the game - Flip Animation when mines are opened, Explode animation when the game ends where all 25 mines will be removed by exiting in a random fashion, each from the different part of the screen (I used epicenter curve to achieve this).
- Randomized the game. Placement of mines will be random in every round.
What issues or roadblocks have you encountered this week?
- Minesweeper game had a lot of animations and I struggled with timings of these. Many times, animations were not executing due to their simultaneous execution.
- Since Minesweeper game has 25 mines which are 25 different ImageViews, there were 2 problems I faced -
- Laying out these 25 ImageViews without overlapping and at the same time, supporting all Android screen sizes.
- Handling 25 onClick()s for these 25 ImageViews was not optimal. I had to find a way to generalize them.
- The banner ImageViews were leading to OutofMemory Crash. It was not solved even after reducing the image size or increasing the memory heap size.
- Minesweeper game had a lot of edge cases which needed to be handled - Disabling clicking in the background when Success/Failure banner is shown in the foreground, Ensuring all previous animations has finished before starting next, etc.
Have they been resolved, and if so, how?
Yes, I solved them all.
- I played all animations in series i.e. Executing next animation when the previous animation ends.
- After a lot of adjustments, I achieved the required layout. I handled onClick() of 25 ImageViews dynamically by the general solution. This reduced hundred of lines of code.
- I used a combination of solutions - Reduced the pixels of Image (which was the break-through), reduced the size of the image, increased the memory heap size.
- Handled them but I still need to brainstorm more edge cases.
Do any of the issues or roadblocks still exist and what steps have been taken to resolve them?
No
Is further assistance necessary to resolve existing issues?
No
What do you plan to accomplish next week?
- Add Continue Button, Description for each round of Minesweeper game getting the designs from the Design team.
- Maintaining the state of the game when the focus of the app is shifted to other app or when the app is restarted.
- Adding Score to the Minesweeper game and adding that to Karma Points, maintaining session history and
- Integrate the Minesweeper game with the project by placing it between the conversation and make required changes in the database.
- Do Unit Tests, Regression Tests for the complete project and intensive manual testing of Minesweeper game.
- Add Documentation for the Phase 1 Coding.
How does your progress compare to your project schedule?
It's right on plan.
What have you accomplished this week (list specific items accomplished)?
- Added Score to the Minesweeper Game, Replaced Continue Button and Added new Animations - PopUP animation on Score, AlphaFade Animation on Continue Button and Activity, Greying out Animation on mines after round completion.
- Added Description Screen for each round - Pros and Cons Screen.
- It was decided to make Minesweeper Game scalable. I modified the codebase after changing the game architecture such that, we can change a number of rounds, backgrounds for each round, Description for each round, Success Rate for each round, etc from one constant class - PowerUpUtils.
- Maintained the state of the app if the user leaves the game without completing. Created a Session Database to keep track of Game Score, Game Round when the user left, etc.
- Instead the Minesweeper Game between the conversation in Sex Scenario. This required breaking into the automated code of scenarios - changes in .csv file and database functions.
- Learned Android Testing Frameworks - Junit, Mockito, and Robolectric.
What issues or roadblocks have you encountered this week?
- The Greying out of mines Animation was first added by the iOS team and the same animation was not available in Android because there was no "white" property in Android.
- While inserting the Minesweeper game into Sex Scenario, I encountered a bug which took a lot of time.
Have they been resolved, and if so, how?
Yes, I solved them all.
- I made a custom function to achieve this which will multiply the RGB values of the Mine Imageview color with Grey Color.
- After debugging a lot, I found that earlier codebase was calling newQuestion() before calling updateScenario() function. The problem was not seen earlier because there was nothing between scenarios. But now, inserting Minesweeper game brought this mistake to the fore.
Do any of the issues or roadblocks still exist and what steps have been taken to resolve them?
No
Is further assistance necessary to resolve existing issues?
No
What do you plan to accomplish next week?
- Adding Documentation for the complete Phase 1 work.
- Learn Instrumentation, UI Testing Framework - Espresso Framework.
- Add Unit Tests using Roboletric and Mockito, Manual UI testing on different devices, Instrumentation tests using Espresso.
- Make Game Tehchnical Document.
- Set Up Travis CI for builds, Cody Bot for code reviews after every new Pull Request.
How does your progress compare to your project schedule?
Project Schedule was modified to make Minesweeper Game scalable and I was right on that schedule.
What have you accomplished this week (list specific items accomplished)?
- Learned Testing Framework - Espresso.
- Added 34 unit tests for Minesweeper Game using Robolectric.
- Added Game Design Document for Minesweeper Game.
- Added new UI for Map Screen - ensured that it supports all screen sizes.
- Configured Travis CI for the project and rebased every branch to avoid future conflicts.
- Configured Codacy Bot which will be synched after approval from admin.
- Added UI tests using Espresso Framework.
- Filed new issues after testing app manually on different Android Devices.
What issues or roadblocks have you encountered this week?
- I was stuck at unit testing of functions involving Animations. The Robolectric does synchronous testing and thus testing of functions containing Animations used to get finished before reaching statements after animation.
- There were problems in setting up Travis CI - The gradlew permission was denied, the Travis needed to be added to all branches with same commit id to avoid future conflicts.
- In adding Map UI, since elements are distributed randomly, the Relative layout was not able to support all screen sizes even after adding multiple dimension configurations.
Have they been resolved, and if so, how?
Yes, I solved them all.
- I asked for help from my mentor and on the Gsoc group of Systers. I was helped but it wasn't solved. Finally, I was able to solve it myself by adding a delay inside a while loop.
- I added a command to change gradlew permission before every run of travis CI. To have same commit id for travis in all branches, I rebased all branches to avoid any future conflicts.
- I replaced the relative layout completely by Linear Layout and after some modifications, it worked good with all screen sizes.
Do any of the issues or roadblocks still exist and what steps have been taken to resolve them?
No
Is further assistance necessary to resolve existing issues?
No
What do you plan to accomplish next week?
- Adding Backgrounds to various scenarios.
- Adding background sounds to Minesweeper Game.
- Work on Sink to Swim Game.
How does your progress compare to your project schedule?
I think, i am ahead of the schedule. It was planned to do testing and Documentation but I have also worked on Map UI addition and setting up codacy bot.
What have you accomplished this week (list specific items accomplished)?
-
Worked on developing the Sink to Swim Game - Finalized the game flow with the iOS student. Completed the layout of the game that can support all screen sizes. Completed the game and added Animations, timer etc.
-
Solved issue #440 - Earlier, avatar elements were not properly aligned with each other and avatar doesn't scaled for all screen sizes.
What issues or roadblocks have you encountered this week?
- While adding the timer, timer was lagging and skipping values. I tried placing timer inside another thread, placed all UI operations inside another thread but none helped. None of the answers on stackoverflow helped. I looked into many other open source projects who have used timer, but even exact clone of that timer didn't worked in our project.
- Aligning the different elements of avatar properly was difficult because of different screen sizes. Correcting placements on one screen density didn't work on other. The main problem was that image assets were having extra padding which was creating problems in proper alignment.
Have they been resolved, and if so, how?
Yes, I solved them all.
- Since same timer was working with other projects, i was sure problem that UI thread of our project is getting busy. I commented any other work in activity exceot setContentView() to set the layout and the timer. The timer was still lagging and skipping. Since only setContentView() was extra, i realized that layout must be to heavy to lead. After analysing properly, I realized that image assets were of very high pixel density and Android UI thread is busy converting high pixel images to low pixel. Thus I reduced the pixels of all images and then reduced their size using tinyPng and they worked fine.
- I made the proper alignments and placements for one screen size and then scaled all elements proportionally for any other sceen density. The trick was to scale every small element and by same proportion.
Do any of the issues or roadblocks still exist and what steps have been taken to resolve them?
No
Is further assistance necessary to resolve existing issues?
No
What do you plan to accomplish next week?
- Create a database for Sink to Swim Game to maintain the state of game even after closing the app.
- Handle the lifecyle cases of Sink to Swim Game - timer should pause when call comes, timer should pause if app minimised, etc.
- Add Documentation for the Sink to Swim Game.
- Add Unit tests for the game.
- Add the final game into PowerUp parent project.
- Add different backgrounds to the game.
How does your progress compare to your project schedule?
I am on schedule.
What have you accomplished this week (list specific items accomplished)?
- Added Lifecycle handling for Swim to Sink Game.
- Added all the newly designed backgrounds to PowerUp.
- Added all the new UI elements in PowerUp.
- Worked on Documentation of Minesweeper Game.
- Solved some bugs in animation of Swim to Sink Game.
- Solved the bug - Avatar elements were not properly aligned in final avatar screen.
What issues or roadblocks have you encountered this week?
- Solving the bug in Animation in Swim to Sink Game took time.
- There was great difference in iOS and Android version. I was confused about what to include and what to not.
Have they been resolved, and if so, how?
Yes
Do any of the issues or roadblocks still exist and what steps have been taken to resolve them?
I will discuss the Android and iOS differences in today's meeting.
Is further assistance necessary to resolve existing issues?
I will discuss the Android and iOS differences in today's meeting.
What do you plan to accomplish next week?
- Make changes in design after today's meet.
- Work on Catch It Game.
How does your progress compare to your project schedule? Yes
What have you accomplished this week (list specific items accomplished)?
- Completed the working prototype of Vocal Match Game -
- Created Layout which support all screen sizes.
- Added the animations for translation of blocks.
- Made Game scalable by adding all control in PowerUpUtils
- Added the logic for matching the words with definition on their collision.
What issues or roadblocks have you encountered this week?
- I faced a problem in game. Some blocks which were translating were not drawn sometimes.
- The simultaneous translating animation on multiple view objects lead to flickering somtimes.
- For identifying a match, I had to change the complete logic of game twice.
Have they been resolved, and if so, how?
Yes
- I tried following approaches -
- Used Canvas for drawing of UIs. But still the problem existed.
- Used Canvas in combination with xml layout but problem still existed.
- Used different animation objects for all 3 blocks but still it didn't worked.
- Finally, debugged the animations extensively logging all intermediate information of animations by adding Animation listener and Updation listener on all 3 animation objects. Finally, found the problem was with random() function. It was good to know about the weird behaviour of random() function.
- I tried following -
- Used android.animations instead of android.view.animation i.e used Property Animation instead of View Animation/ TranslateAnimation. I did so because new property animation has more hardware layers. It still didn't worked.
- Added a dummy animation of 1ms as suggested in one of stack overflow solutions in onAnimationEnd() but it didn't worked.
- Added a extra hardware layers myself and it worked.
Do any of the issues or roadblocks still exist and what steps have been taken to resolve them?
No
Is further assistance necessary to resolve existing issues?
No
What do you plan to accomplish next week?
- Add logic to pause game when lifecycle is interrupted like in case of phone call.
- Add Vocab Match Game to the PowerUp Game.
- Add Unit tests for Sink to Swim game.
- Add unit tests for Vocal Match Game.
- Make enhancements in Vocab Match Game after today's meeting discussions.
- Add documentation for Sink to Swim Game, Vocal Match Game.
- Send all pending PRs for UI changes, make improvement in UI changes and add more new UI elements designed by kim.
How does your progress compare to your project schedule? Yes
What have you accomplished this week (list specific items accomplished)?
- Added all unit tests for Sink to Swim Game.
- Added tutorials for Sink to Swim Game. Also added final ending screen for the game showing score, correct and incorrect answers.
- Changed the condition for game ending - If questions get finished, game end now. Also, if timer finished or boat sinks, the game will end.
- Refracted the code for UI additions done.
- Added the support for all UI additons for all screen sizes - About Activity, Avatar, Avatar Selection Screen, Final Avatar Screen, Store Screens, Map Screen, Dressing Room, Karma Points, Skills Bar, Home Button, etc.
- Added the new Map UI containing all the locks and grayed out building, made it scalable.
- Added replay button in all scenarios and solved the crash bug in the replay button.
- Removed the Redo button from all scenarios and it's all logical code.
- Integrated Vocab Match Game with the PowerUp Parent Project.
- Added game ending screen for the Vocab Match Game showing score, correct matched, etc.
- Added a red and green star indicator animation for showing correct and wrong answer in Vocab Match Game.
- Added 6 new tiles to the Vocab Match Game.
- Optimised all image assets by reducing their pixel size and memory size using tools - tinypng. imageresizer.
What issues or roadblocks have you encountered this week?
- While adding the Vocab Match Game to PowerUp parent project, the changes in csv file were not reflected in the app.
Have they been resolved, and if so, how?
Yes, I searched it on stackoverflow and found the solution. It worked fine after reinstalling the app and clearing storage data of app as well.
Do any of the issues or roadblocks still exist and what steps have been taken to resolve them?
No
Is further assistance necessary to resolve existing issues?
No
What do you plan to accomplish next week?
- Will add the logic for greying out the buildings and adding locks to map screen.
- Will refract the code of Vocab Match Game, Add comments.
- Will add splash screen, start activity screen and some new UI elements designed by kim.
- If time available, i will try to add unit tests and documentation for the Vocab Match game.
How does your progress compare to your project schedule? I am ahead of the schedule by good amount. I will be busy in coming weeks due to my college placemnents but I will try to remain ahead of the schedule.
What have you accomplished this week (list specific items accomplished)?
- Added all unit tests for Sink to Swim Game.
- Added tutorials for Sink to Swim Game. Also added final ending screen for the game showing score, correct and incorrect answers.
- Changed the condition for game ending - If questions get finished, game end now. Also, if timer finished or boat sinks, the game will end.
- Refracted the code for UI additions done.
- Added the support for all UI additons for all screen sizes - About Activity, Avatar, Avatar Selection Screen, Final Avatar Screen, Store Screens, Map Screen, Dressing Room, Karma Points, Skills Bar, Home Button, etc.
- Added the new Map UI containing all the locks and grayed out building, made it scalable.
- Added replay button in all scenarios and solved the crash bug in the replay button.
- Removed the Redo button from all scenarios and it's all logical code.
- Integrated Vocab Match Game with the PowerUp Parent Project.
- Added game ending screen for the Vocab Match Game showing score, correct matched, etc.
- Added a red and green star indicator animation for showing correct and wrong answer in Vocab Match Game.
- Added 6 new tiles to the Vocab Match Game.
- Optimised all image assets by reducing their pixel size and memory size using tools - tinypng. imageresizer.
What issues or roadblocks have you encountered this week?
- While adding the Vocab Match Game to PowerUp parent project, the changes in csv file were not reflected in the app.
Have they been resolved, and if so, how?
Yes, I searched it on stackoverflow and found the solution. It worked fine after reinstalling the app and clearing storage data of app as well.
Do any of the issues or roadblocks still exist and what steps have been taken to resolve them?
No
Is further assistance necessary to resolve existing issues?
No
What do you plan to accomplish next week?
- Will add the logic for greying out the buildings and adding locks to map screen.
- Will refract the code of Vocab Match Game, Add comments.
- Will add splash screen, start activity screen and some new UI elements designed by kim.
- If time available, i will try to add unit tests and documentation for the Vocab Match game.
How does your progress compare to your project schedule? I am ahead of the schedule by good amount. I will be busy in coming weeks due to my college placemnents but I will try to remain ahead of the schedule.
What have you accomplished this week (list specific items accomplished)?
- Added the greyed out building with locks based on modified logic.
- Designed graphically the locks with greyed out buildings in the background. Also made locks of proper size on all screen sizes.
- Added Documentation for Vocab Match Game.
What issues or roadblocks have you encountered this week?
None
Have they been resolved, and if so, how?
NA
Do any of the issues or roadblocks still exist and what steps have been taken to resolve them?
No
Is further assistance necessary to resolve existing issues?
No
What do you plan to accomplish next week?
Adding Splash Screen, Unit tests for Vocab Match Game, New Avatar Designs in NewAvatarActivity, FinalAvatarActicity and GameActivity, Remaking of Store with new Designs and elements, Adding App Icon, Adding Start Screen Designs with About Button,etc.
How does your progress compare to your project schedule?
What have you accomplished this week (list specific items accomplished)?
What issues or roadblocks have you encountered this week?
Have they been resolved, and if so, how?
Do any of the issues or roadblocks still exist and what steps have been taken to resolve them?
No
Is further assistance necessary to resolve existing issues?
No
What do you plan to accomplish next week?
How does your progress compare to your project schedule?
Documentation
Outreachy Interns
GSoC Students