Does the quickgame option, in the multiplayer google play games, match random players who are in (i) one's google plus circle or (ii) any online player.
I want to implement quickgame with anyone who is online, and I could not find anything in documentation or elsewhere that clarifies if a "random player" can be outside my circle.
Thanks
Realtime Quick game option selects from random players according to the documentation.
Quick Game option - When the player selects the Quick Game option, your
game should create a virtual room object to join players, auto-match
the player to randomly selected opponents without displaying the
player picker UI, and immediately start the game.
We can safely assume that it selects “Any online player”. You can also make specific criterias during selection by using the exclusiveBitMask
parameter of the createAutoMatchCriteria function
Related
My dad's birthday is coming up. As a child/youth he recorder music of the radio (as many did then) and catalogued them.
I want to create a audio player that displays the songs similar to the way he wrote them ( image linked at bottom).
Has a play all for that page but also has the function to play individual songs.
If possible I would like a page turn animation when switching between pages.
I wold like it to be possible to jump to certain pages e.g page a, page b etc.
I have seen how to create simple media players where you open a file. However I haven't been able to see what I am after.
The layout I am thinking of is the song list top, and Controls at bottom.
My question(s) is which language is best for this and how best to go about doing this?
Any help would be greatly appreciated.
Thought I'd best add that I do not know programming and will be learning what I need for this project as I go. So if possible could you explain your help or indicate which part of it I will need to Google.
UPDATE
Thank you for the replies. I went with VB as suggested and would love some feedback if nobody minds. As I learned more I kept changing my design so it has taken a while to get back to you.
My plan now is to:
*Implement any changes recommended
*Change a little of the gui -
+Change the image of the Insert Tape and Play tape buttons
+Remove the Window media player (Mark not visible) and polish off the control buttons
*Use FormB as the template for the rest of the pages
*Look into compiling the program
+Test on second computer and laptop
+ Possible test on my brothers computer if he is willing to download it
As well as putting the code here I have uploaded the project to Dropbox. There are two version. With music files (62.8 MB and without 5.75 MB. Please note the files are not the copyrighted songs I have substituted them with royalty free alternatives (please see below for attribution). I I changed the file names instead of code to make it easier should I forget to change it back.
Ok the code was too long to add in so uploaded it to GithubGist
FormB vb https://gist.github.com/Phoenix830/6cc03bc9bb54bdd98aaf4641acaef075
FormB.Designer VB https://gist.github.com/Phoenix830/3f347129ebc7c4d5410c9b44a7df9a81
Custom Controls -
Lab_But vb https://gist.github.com/Phoenix830/d7bd00b16e08f116dbf12159e3d464af
Trackbar vb https://gist.github.com/Phoenix830/4e90cf4df9a3ed694e4b9aa3dc60ead6
Zip files
No music https://www.dropbox.com/s/vdjlc1648qi4bpd/Cassette%20Tapes%20-%20No%20Music.rar?dl=0
With Music https://www.dropbox.com/s/i1m5zh0449385zn/Cassette%20Tapes.rar?dl=0
I think that is everything about my current code. This is Attributes and source notes.
Music
Title Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0
http://creativecommons.org/licenses/by/3.0/
01-Barry_Manilow_-_Mandy.mp3 = Arroz Con Pollo.mp3
02-Barry_Manilow-New_York_City_Rhythm = Cheery Monday.mp3
03-Barry_Manilow_-_Looks_Like_We_Made_It = Galway.mp3
04-Barry_Manilow_-_Can't_Smile_Without_You = Glitter Blast
05-Barry_Manilow-Ready_to_Take_a_Chance_Again = Industrious Ferret
06-Barry_Manilow-Tryin'_to_Get_the_Feeling_Again = Le Grand Chase
07-Barry_Manilow-Could_It_Be_Magic = Nouvelle Noel
08-Barry_Manilow_-_Copacabana = Onion Capers
S2-01-Barry_Manilow-It's_a_Miracle = Teddy Bear Waltz
S2-02-Barry_Manilow-All_the_Time = Unholy Knight
S2-03-Barry_Manilow-I_Write_the_Songs = Zazie
This flaged up as an error if I didn't mark it as code
TrackBar
https://www.dropbox.com/s/i1m5zh0449385zn/Cassette%20Tapes.rar?dl=0
I have tried removing some excess code and still have to delete commented out sections that I don't need. I don't understand this enough and can not find enough information online to implement this in my own code using this just as a guide
https://www.youtube.com/watch?v=8Gi_JFAavM4
Getting MP3 info
http://forums.codeguru.com/showthread.php?409651-RESOLVED-How-to-check-the-song-playing-in-Windows-Media-Player
I can not fully remember all the forums, Youtube videos and Microsoft documents I viewed. I will try to add them if I find them as I go over my notes.
These last few links may or may not be overkill but thought worth adding encase they are useful to someone else
Also updated keywords. If they are wrong let me know and I will change them
One of the simplest languages to learn and to easily create an interface i would say is actually Visual Basic in Visual Studio, do download that and google things like "how to play audio file in VB.NET" and "how to add directories to list in VB.NET" and try to use the directories in the list (and when a song reaches it's end) just start on the next one in the list. I would use a ListBox for this. Tell me if you need more help, i would be glad to help you program it, if you need.
I was trying to create two things. Both for desktop mac. Both which involve recording screen/audio.
In first thing, which is my main priority right now, I am making a song identifier. The second thing, is a screen capture (with audio) thing.
I was thinking of using AVFoundation. I don't see any sound recording capabilities though, just playing - https://developer.apple.com/library/mac/documentation/AVFoundation/Reference/AVAudioPlayerClassReference/index.html#//apple_ref/doc/uid/TP40008067
Is it possbile to record system audio somehow?
Thanks
I've used this document in the past to figure out the live screen recording part. https://developer.apple.com/library/mac/qa/qa1740/_index.html
You'll probably also find the code snipped in the AVCaptureSession overview useful.
The gist of it is that AVCaptureSession is the object that controls all your inputs and outputs for the given capture session. In this case it would be AVCaptureScreenInput and I believe for audio you want AVCaptureDeviceInput of type audio. There is a way to get the list of all the available devices for a AVCaptureDevice of a specific type. Then you add AVCaptureMovieFileOutput to your session output.
I know that's a little high level, but that technical Q&A as well as looking into getting particular input types should help.
Im extending my game with Game Center turn based matches. However my game got 4 game mode and I woud like to make a Multiplayer mode for all. I have successfully made the first mode however if I try to load an another GKTurnBasedMatchMakerViewController I get the same matches and same game as in the first mode. Is there any way to make different type of matches inside one game?
This is possible with the playerGroup property of a GKMatchRequest. When you assign it to the request it will create a match only if it can find another player with a match request of the same group. Read GKMatchRequest Class Reference for more information.
I was looking at the SoundCloud player widget API and trying to resolve an issue I am having with a smaller scale player. Currently the track artist, name and all of the SoundCloud track stats load. I get an ugly overlap due to the size of the player. Is there a way to disable those sound cloud stats using the API?
http://i.imgur.com/jdOWuIg.png
The name is a bit confusing, but if you add &show_playcount=false to the embed code, they'll be hidden. Example:
https://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Fplaylists%2F2860118&show_playcount=false
I'm looking for a way to star a song in Spotify without having to go to the app itself.
For instance:
I'm playing a game on fullscreen, or I'm working on something and Spotify is on for music. I hear a great song and I want to star it.
Now instead of going to the app, I want to star the song using a shortcut or a dedicated external button.
Whether it is a shortcut, a USB button, or a button on a remote, I believe this function would be really helpful. I've searched through the Spotify core API, but I couldn't find anything that enables me to "star" a song.
Any ideas?
Since you tagged CocoaLibSpotify in this question, well, CocoaLibSpotify has this functionality built right in - the SPTrack object has the starred property. It'd be fairly simple to write a little app that, when triggered, fetches the currently playing track using the Spotify client's AppleScript bridge and use CocoaLibSpotify to star it.
Alternatively, the Apps API can star a track as well (the Track object has the starred property). You could use the player object to get the current track and star it. However, linking that to an external button will be tricky. One (hacky) way would be to have the button trigger a system URL launch of spotify:app:star-this-track:invocation:1 where the number at the end increments each time you push the button. Then, the application's ARGUMENTSCHANGED event will fire, at which point you can star the track.