Need to incorporate a UISlider in cocos2d - xcode4

I've noticed that cocos2d doesn't story board like in Xcode 4. I wanted to add a slider form which you control the player's movement/movement speed across the iPhone screen. How can i add slider and hook it up to the sprite movement/movement speed. Thanks for your help.

You use the CCUIViewWrapper custom class.
Here is the link for it: CCUIViewWrapper github
And here is a tutorial how to use it: Tutorial Youtube

Related

Where to change css code to adapt font-size and button sizes in buildfire app to customize styling as desired?

I have a query concerning changing css for buidfire app.
In specific to adapt the css for the buildfire feature "free text questionnaire" in the marketplace.
Need to adapt font size (to be smaller), the col of the query text and the buttons for answering and next or previous to be smaller.
Can someone pls kindly help where to find the relevant CSS document?
I have already downloaded the sdk on GitHub.
But we don't need to develop a new plugin, only need the relevant CSS for the free text questionnaire feature to adapt those 3 things.
In one video "how to use custom widget" there you have directly the view to see those 3 possibilities for HTML view, CSS view and JavaScript in the control panel and next to it directly the results in the widget.
Where can get this custom widget?
If it´s not possible with this custom widget which css file is the relevant one in the sdk buildfire js plugin?? There are several css documents shown.
Which is relevant for customize font-size, button size??
Thank you very much for your kind help!
Kind regards,
Angelika
I believe this the custom plugin you are looking for
https://github.com/BuildFire/customPlugin
However, not sure how would that help you since the free text questionnaire plugin is not an open source plugin so you cannot make changes to it and the custom plugin is just another plugin

wordpress visual composer video player not working on mobile

I am adding a YouTube video to a wordpress site using the 'visual composer' video player from WPBakery. I cant really post the site because its private. But I am new to 'Visual Composer'.
I added the relevant you tube video to a 2 column 'row' on the right using the VC video player. It all works fine on desktop, but as soon as you narrow the browser so its in 'responsive' mode like the width of a mobile/tablet lets say 700px the you tube video stops working...
You can see the YouTube background image but you cant rollover with the mouse to start/activate the video, almost as though the video itself is not present and only the holding image.
Does anyone know how to configure settings so you can activate the video on mobile/tablet as well? As far as I can see I have not tabbed 'hide on any device' so any help would be welcome. It maybe that its a fault with the theme but as I am new to VC am hoping there is some setting that will solve the issue.
You can re-enable the video by adding the following css to the page:
.vc_video-bg.vc_hidden-xs {
display: block !important;
}
I finally found one solution that worked for me and I hope this might work for someone else as well, so here I go:
I used Revolution Slider and created a separated slider for each "div" element I wanted to have with a background video in fullscreen.
Then I added one video layer, choosed the source type and inserted ID of video.
I basically followed this explanation on this website: https://www.themepunch.com/revslider-doc/video-layers/
I hope this helps future users as it helped me. :)

owl carousel or an image gallery view for mobile app

i already have a website which has a static image(only one)
I am planning to enhance the look of the website on the cellphone.
Since i am a rookie, i am confused with using an owl-carousel template or an image-swipe view as you find on eBay where you can click on small thumbnail to view that particular image.
i have a doubt with the speed of page load.
I am using Apache Cordova to get the code working on Android.
Thank you in advance for your help....! :-)
So you are asking that when user will click on image, the image will expand.
To do this there is one jQuery plugin available here Now go to this website and download this plugin and integrate it on your website.
All the instruction is available for how to integrate it and also when you download plugin there is demo file so that you can easily learn how to integrate it.
Hope this helps.

Customizing product slider, WooCommerce

Iam somewhat of a newbie when it comes to wordpress. so bear with me.
ive been trying to make a simple slider that will display 3 catagories.
- books
- Boardgames
- office supplies
iam making it for someone who dosnt want a web store but just wanting it to display items in a meaningfull and dynamik way.
what ive tried is installing the WooCommerce plugin to make all my products and then installing the product slider by pickplugins.
I like the way it looks and i want to make two more. but i see no option to choose between different catagories in the slider options, so if i make 2 more sliders it will just display the same items (all of them).
the site is: http://nordborgboghandel.dk/
and the slider i want is something like there is on the frontpage.
anybody fixed a similar problem??
-Thanks!
Yes, I was once stuck into a same situation, in which we had to customize the slider. Basically you will have to play with the CSS and JS of the slider plugin which you have used to create the slider.
You can start of by having a look at the js and the css used by the slider. Refer the documentation of the slider if available, I am sure if they have any documentation you can have it customized easily by modifying some values in it. If not then you will have to check the JS code and try to hack it yourself to fit your needs.

How can i integrate jquery auto slider with next previous button

In my asp.net application i need to integrate a jquery content slider with next, previous buttons.
2.Please look at the snap shot given below.
alt text http://208.109.217.57:1082/homestaging/Contentslider.bmp
There are quite a few plugins that does this kind of stuff. You can try this for example. If it doesn't fit you can just google it and you'll find a lot of plugins.

Resources