• Content count

  • Joined

  • Last visited

Community Reputation

779 Good


  • Rank

Personal Information

  • Interests

Recent Profile Visitors

9870 profile views
  1. I'm looking to buy.........

    I'm looking to buy a 500 gig drive to store my crap on. I have a lot of stuff on a lot of different thumb drives and I want to unify data and put all of it in one place. I won't use it often I'll probably just update and once a month or something like that. Any advice? Any brands I should look at? Anything at all?
  2. What are your focusing techniques?

    I tried working on this at work. The time restraint of lunch seems to be working for now. I'll see how I can apply everything else. I really want to keep this going.
  3. What are your focusing techniques?

    I want to work in a consistent schedule now. I've had moments when I couldn't stop working but those moments are random and unpredictable. I don't want unpredictable, I want to be consistent. I tried forcing myself to work on projects when I'm not in the mood and the results aren't what I'm liking. I'm doing very well with practicing and maintaining good habits and I want to continue applying more good habits to my daily life. How do you focus on the job then? My focus is really random and I want to control it. There have to be someway to do it.
  4. What I work on personal projects I work on them whenever I feel like it. I want to change that habit but it hasn't been easy. I've increase my discipline to diet exercise and sleep consistently but that was training to not do something. Training myself to actively do stuff has been much harder. What are your techniques for sitting down and really getting to work without a distractions?
  5. An array of array of int type

    This looks right although I don't know what std means. Option 1 looks perfect.
  6. I want to create an array of array of int type arrays. Can anyone help me?
  7. Sound effects won't overlap.

    Thanks a lot. At first using the sound pool class lagged my game hard, but then I got the idea to only use it for small sound effects instead. Thanks
  8. Hello,   I'm having a serious problem with audio in my game. My sound effects won't overlap. My game uses bullets that fire at a somewhat frequent state and I need to play the sounds repeatedly. I tried to use a class call media player but I don't think this will be helpful and to top it off the Music continued to play even after I exited to my phone's home screen. Could someone recommend me a better method for handling sound for my game? I'm so close to done with the programming part then I'll finally be able to start making levels. Please help me.  
  9. I need to get the position of image buttons. I'm going to programmically add images instead of doing so in the XML file. There is another major problem I need to address. Inside of the XML my buttons are placed relative to a parent. Even if I positioned my asset where the buttons are and their size was correct I would still need to space them correctly inside my HorizontalScrollView . Is there any way to specify layout_margin as a percentage of the parent instead of in dp?
  10. Nope, I don't want the touch coordinates. I could easily figure that out. I think I worded my question wrong but I did come up with a new solution. I was concerned about the user point of view and wanted to turn inches to pixels but first I needed to figure out how to get the pixel to inches. I was looking way too far ahead. I decided to go on a new solutions of using screen percentage. By calculating the percentage I wanted objects to be scaled relative to the phone pixel dimensions I was able to get really accurate result in resizing them. With this technique in hand I was also able to get accurate positioning too using percentage calculations. I'm expecting a small percentage error using this but I don't mind. My game only response to "onTouch".  
  11. I think I will assume. I'll get a whole list of phones and tablets and get their average dimensions. I'll scale everything with this average in mind. It won't be perfect but good enough is good for me.
  12. I'm trying to convert from inches to pixel. Does anyone know how to do this in android studios. I'm doing this in a java file not an XML file.
  13. The path of least resistant seems like a double edge sword especially with the work environment example you posted. I did get a new idea from your explanation.   I have one file with a single number. The value of the number represent the how many levels have been unlocked with the max value being 9. Since the game is completed in linear order that should be all I need. Now I feel like a professional and a little lazy..... 
  14. I've finally managed to start developing smoothly and now I'm at a point where I'm indecisive. I need to choose how will I go about allowing the player to progress through the game. Here are my 3 ideas in detail.   I create 9 files that have the value 0 or 1. they represent rather the levels has been unlocked. When the game load up it blocks the player from entering levels using these until they unlock it beating previous levels. ?I create one file to determine rather the levels are unlocked, and block the player using this one file. This file is edited when they beat levels unlocking new levels I code a special method and have this portion of my program directly manipulated every time the player beats a level unlocking the next one.  Which solution sounds the most professional. I don't care about the easiest solution only the one that allow me to mimic professionals.
  15. All the basic stuff has finally been finished. Now time for the hard part. Switching between activities. I wish I could ask but I feel this forum has grown tired of my questions. The line between seeking help and being too dependented has blured. I must become less dependent on others!