Upside-down splash screen with Cocos2d - ios4

I'm using cocos2d v1.0.1 for the iPhone. My app needs to support landscape left and right only. I'm adding the splash image in a rotated portrait mode so when the splash image is removed I can load a background image that is identical to it and do some animations so it appears seamless.
The problem is the splash screen is ALWAYS upside-down in relation to the background image I add. This is regardless of if my rotated portrait image is rotated left or right.
I'm using the default rotation code and setup for cocos. Any help is greatly appreciated!

I will suggest to duplicate the image and name it differently. And use it as per your need instead of using the default.png. It caused problem with me also. Instead of wasting my time I just used this way. Hope this helps. :)

Related

Blender : Some objects disappear when I turn to camera mode (it's not the snapping I think)

OK... here is the thing...
I am modeling a Star Wars Cruiser.. I'm doing pretty fine, but.. whenever I look through the camera, half of my ship disappears ?! Now you might think it's the clipping, but that doesn't make sense, since the clipping is set to 0,1 mtr - 10.000 mtr, which should be more than enough. Besides that, the clipping is the same for both the visible and now disappeared objects...
Does anyone have any clue ?
I also tried to change the Local view to Global view.. but no dice...
Here is a screenshot in not-camera view :
And here is one in camera view : i.imgur.com/XaxAHIN.png
I'm using Blender 2.82
Please let me know if you need more info or even a link to the model...
OK, I got some help from a friend... Joshua Rooijakkers from the Netherlands...
He fixed the problem in seconds...
So ... it WAS the clipping.. the setting was just buried somewhere I didn't look...
Thanks Josh ! :-)
Objects disappear in camera view modeWhile setting up my camera with the camera lock to view option selected, I noticed that on switching on to the camera view, the object had disappeared.
I tried zooming in and out, but that did not work. I exited the camera view and then selected the object in the outliner and then tried zooming in and out and then panning down and adjusting the view in the view port. I could see that the object was now visible and that the camera was positioned below the object. That was because the camera was added wrt to the position of the cursor which was snapped to the world origin. I a sure many would have encountered such issues.
I then selected the camera to ascertain its position. Then by using the grab tool, I moved the camera along the Z axis just above the object and then switched to the camera view and selected the lock camera to
view option to adjust the camera view to the desired position.
This helped me locate my object in the camera view. Do let me know in the comments if there are other ways of dealing with this.

Viewport Strech Mode Issues

I'm using godot 3.1 on windows and i created new project with a 2d scene.
I selected the stretch mode viewport and the expand aspect options,
when I run the scene and try to resize the window, the viewport turns black.
This appears to be a known bug still in Godot's core as per a GitHub bug report
Stretch Mode "viewport" causes screen not to update / black screen #23054
Also discussed here:
https://godotengine.org/qa/30600/black-screen-on-resize
I don't think there is a solution at the moment.

Drawing a Rectangle that never dissapears

I have to draw a transparent square, that never disappears from the user's interface, by clicking to other windows the rectangle remains, only the windows/application content has to be shown behind.
I have thought of doing it with OpenGl or Flex or Canvas , but the problem is whenever I click on another window the programmed rectangle disappears .The rectangle has to act as a default image but has to be always at the foreground.
Do I have to mess with the operating system(Linux, Mac or Windows), by creating this image as default?
here is one example
http://i42.tinypic.com/15g3vxh.png
You can do that with Java pretty easy. See this link for code examples. If you got your transparent Image, you can use the setAlwaysOnTop(true); Method on the Object, and you are good to go. The only things that could get in front of that are other Applications that are using that method.

How to make image to move on blackberry screen

I'm using Blackberry 9800 simulator on Eclipse IDE. my problem is that i really don't know how to make an image to move for my plam game application. Can somebody can help me.. I will really appreciate it.!!thanks in advance gys.!!
Check this BB article: The BlackBerry Graphical User Interface: Part 2 - Direct Screen Drawing.
you have to implement paint method for the field in which you want to draw image.
And note that you have to extent the field with full height & width to move the image all over the screen.

What's causing the background in a container to be cut off when window is resized smaller?

My website has the typical container that is centered in the middle (very similar to Digg's V4 website actually). The problem I'm having is that when resizing the window smaller than the container's width, anything with a background in the container appears to be cut off according to the window's width. Digg's website actually has the same problem as mine too. To illustrate, I've posted screenshots describing the issue. The first screenshot has the window resized smaller than Digg's container width (notice the horizontal scrollbar at the bottom).
Now the second screenshot shows what happens when we scroll to the right. Notice that anything within the container with a background has been cut off!
To reproduce this, just go to Digg's website and resize the browser window to around 600px and scroll to the right. Is this a fairly common problem with a fairly common solution? I tested this using Firefox 3.
Set min-width on the problem div.
Unless someone points out the W3C spec justifying this behavior, I believe this is a common browser bug.

Resources