![]() ![]() Replace that line with the following code: Open AppDelegate.cpp and find the following line inside AppDelegate::applicationDidFinishLaunching: Porting this project to other platforms is a trivial (yes, trivial!) matter discussed briefly at the end of this tutorial.īuild and run your app to see the template project in all its glory:īy default, Cocos2d-x games are named “MyGame” and have a resolution of 960×640, but those details are easy to change. While Cocos2d-x is capable of building games for many platforms, in this tutorial you’ll focus on making an OS X app. Once you’re Inside Xcode, ensure that SimpleGame Mac is the active scheme, as shown below: You can also learn about any subcommand’s options by appending “-help” or “-h”, such as cocos new -h to see the options for the new command.ĭouble-click ~/Cocos2d-x-Tutorial/SimpleGame/proj.ios_mac/SimpleGame.xcodeproj in Finder to open the project in Xcode. Note: To learn about the available cocos subcommands, type cocos -help or cocos -h. This creates a directory named Cocos2d-x-Tutorial in your home directory, and inside that, a sub-directory named SimpleGame that contains your project’s files. Run the following command to create a C++ game template named SimpleGame:Ĭocos new -l cpp -d ~/Cocos2d-x-Tutorial SimpleGame Now you can call the cocos command in Terminal from any directory. The command you entered simply re-processes your shell configuration and gives it access to the new variables. Source ~/.zshrc (or source ~/.bash_profile) A great timesaving tip: you can use a tilde ( ~) in place of /Users/your_user_name, so to save keystrokes you could type the following: In the above screenshot, the setup package prompts for “source /Users/rwenderlich/bash_profile.” commands since I’m using Bash, but had I been using Zsh, for example, it would have prompted me to run “source /Users/rwenderlich/.zshrc”.Įnter the command as the script’s output instructed. On PuzzleGame.Note: Depending on which shell you use, you might see some different output. We add brand new games on a daily basis so you will never get bored at here. If you're ready to begin playing right now, just simply select your preferred game and click to relax and play. This is actually the best site on the internet to play online games with no cost! We pick games manually from the best developers around, such as GameDistribution.Com, CrazyGames.Com,, ,, , y8.com, yiv.com, yad.com, and more. Whatever game you are looking for, we've got it here. We now have more than 1000+ fun addicting games that you can play for free. PuzzleGame.Com is absolutely your number one resource of free online games which includes Brain Games, Matching Games, Math Games, Block Games, Word Games and a lot more. You can play a game directly in a browser such as chrome and safari. Find more great free online mobile games at PuzzleGame.Com! Including Sudoku Games, Minesweeper Games, Block Puzzle Games, 2048 Puzzle Games, Jigsaw Puzzle Games, Logic Puzzle Games, Picture Puzzle Games, Find The Difference Games, Sliding Tile Puzzle Games, Griddler Puzzle Games, Picross Puzzle Games, Number Puzzle Games, 3D Puzzle Games, Pipe Puzzle Games, Hidden Object Games, Escape Puzzle Games and more! To play a game, simply use your finger to control if you are playing on your mobile phone or tablet, or use your keyboard and mouse if you play a game on your desktop. Do you want to play the most popular APP Games from google play or Apple Store? PuzzleGame.Com has these games which you can play directly on your PC or mobile browser. Ready to test the power of your brain? Choose your favorite games to play now. You can play all these free games on your mobile, pad and tablet without installation. More Information: PuzzleGame.Com offers you thousounds of the most popular puzzle games. And there is no limit to the number of moves in each level, you can paint as you like! Have a good time in Roller Splat! You can also play Roller Splat! on yad.com You need to move the small square to fill the maze with color. Game Description: Roller Splat is an addicting puzzle game with simple and easy game style and colorful game impact. How To play Roller Splat!: Slide on the screen to play Supported Device: Mobile, Tablet, Desktop Recommended Screen Dimension: 1280x720 px Rating: 60% players like this free online game according to 4 votes. Game Information Game Name: Roller Splat! ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |