I'm new in cocos2d-js and I would like to make a simple game as below
on screen(web, android or ios) have some balloons(bubble) flying from bottom to top(randomly appear and fly). When I touched to one of them, then it will explosion(bum with sound I configured)
Everyone who can help me to resolve it and the source code is strongly welcome.
Thanks & best regards.
I would suggest reading through the "Parkour Game Tutorials of Cocos2d-JS v3.x": http://www.cocos2d-x.org/wiki/Getting_Started_Cocos2d-JS.
Everything needed for your task is covered in this article.
Related
Does anybody have an idea how the genre selection bubbles in Apple music were made? The movement seems to be done with UiKit Dynamics. I definitely see collision behaviors but can't seem to reproduce the fluidity of the drag movement and the gravity towards the center of the view. I tried using UIPushBehavior and UiSnapBehavior, but no luck.
I don't think that it was done with UIKit Dynamics, I think they was using SpriteKit.
I created a component that's can simulate similar physics
https://github.com/ProudOfZiggy/SIFloatingCollection_Swift
It is possible with UIKitDynamics as well, but can be done with SpriteKit as well which makes it much easier to implement, I have written a small component which give similar kind of effect in Objecti-C using SpriteKit. You can find it here, Its not exactly the same but its near and you can take same approach to create your own or polish it as well.
i have developed it using box2d and libGdx on android,, so using libGdx u can use my code logic for iOS also...
have a look at my project, hope it helps,
https://github.com/mohitKejriwal/Bubble-UI-Android
I've been working with SVGPan (http://code.google.com/p/svgpan/) and I have generally found it fantastic (so thanks to all involved!).
Just wondering, did anyone ever add functionality to support ios devices (I'm mainly interested in the i-pad at the moment!)? I've been trying to work with some changes myself but I haven't got past being able to pan / drag more than one svg element at a time e.g. a rect / circle. I can't get it to work with a group of svg elements at once based on the various touch events. Best thing I've found is this: http://techblog.floorplanner.com/post/20528546052/interactive-svg-on-the-ipad.
Any help would be greatly appreciated!
Try hammer.js (http://eightmedia.github.io/hammer.js/) and there is a demo you can try with your ios browser: http://riagora.com/mobile/hammer/
In my XNA project I have a Game class but I wish to add a Menu screen which will be shown upon application launch. Does anyone know how I can add this? I can't seem to find anything in the project which will do this...
Any help will be highly appreciated.
Nothing comes with XNA by default for game screens.
However, there is an official XNA sample which covers this topic and has useful code to tackle multiple game screens.
I need to create a list of words then have the words cycle through in a slot machine effect when swiped from top to bottom.
the only issues I'm having problems figuring out is the scrolling text part. UIPICKERVIEW doesn't cycle around (plus I need to only show one option at a time). I've hunted for examples and/or tutorials regarding this but haven't found anything that points me in the right direct.
Anyone know of a tutorial or have suggestions where I can get started or further my research? thanks.
You could use iCarousel for this:
https://github.com/nicklockwood/iCarousel
Run the Basic iOS Demo and select the Cylinder carousel type in vertical orientation with wrap on. If that looks like what you want, the documentation will explain how you can set it up in your project.
Has anyone here been able to integrate a TabView based application with Unity3d? I have been working on a solution, but I'm beginning to believe that it may not be possible to do. The concept basically is to have the Unity3d OpenGLES view paused upon the start of the app, and have one of the tabs contain a button that un-pauses the OpenGLES view, and hides the TabView controller. Am I crazy for wanting to do this? Any help or suggestions would be greatly appreciated
there is a plugin called NativeToolkit by Prime31, its free... I havent tried it, but the description says that it does exactly what you want, I tried the gamecenter plugin they offer and its amazing how easy it is to integrate, it seriously works "out of the box"
oh yeah and the NativeToolkit plugin is free too :) give it a try