Unity 2d game screen messed up bug - 2d

Can anyone help me with this? i dont know what is happening. but the game screen is totally messed up.. even when played

fixed by making camera Clear Flags to Skybox

Related

Codecademy exercise - How do I rotate the camera with A-Frame's inspector?

There's no need to show the code as the Codecademy exercise tries to explain how the inspector works. So basically I've learned how to make the camera start or to move in the scene. So my question isn't about moving the camera. Rather, what I want is (using the inspector) to rotate the scene in order to look up at a certain character through the ground.
Where in the element subsection can I find the coordinates of the scene? I know the camera is positioned at (0,0,0) by default and you can move around using the ASWD movement keys. Although I don't think I can see from the ground using those keys.
I hope I'm being specific enough and there's no issue with the question. I've Googled for some time but I haven't found an answer. So if an answer is out there, sorry for not having found it.
Thanks in advance.
Edit: enter image description here
I've managed to enter into the A-Frame inspector (as I was using the default one) and drag the <a-entity> as I think this is the camera object. Now, how can I try and see this picture from the ground?
Thanks for editing my question. Feel free to do it. Have a nice day.
You're doing this Codecademy exercise?
I think you should find out where you can modify the a-plane primitive. Then play around with its rotation property.

Stereo component doesn't work, are there any alternatives?

i have a problem with the stereo component and the new aframe version, it just doesn't work. I am doing some picture galleries for stereo pictures. So i need a way to make them work. The stereo component just won't split in left/right. It either doesn't load at all or just gives the left eye image for both eyes.
Are there any alternatives to implement stereo pictures?
Also, for the future it would be much better to develop backgrounds with stereo pictures and then put in scene elements. I think there is a lot of potential for good sceneries.
Any help appreciated! :)
Cheers, Max
P.S.: I used every code example from the stereo component, just doesn't work at all. If my code is needed i can post it later.

Google VR View wrapping issue at the top and bottom, any suggestions or replacement?

I was trying to implement a 360 image viewer on my website and came across Google VR-View, it works but has a terrible issue with image wrapping at the top and bottom, it's even in their example:
https://developers.google.com/vr/concepts/vrview-web
I've noticed that when I switch to full screen and zoom out it works fine but obviously it's not a solution.
Anyone knows how to get around this? or maybe have a replacement for google vr view (which supports gyro on mobile)?
Thank You,
found this working pretty well
https://pannellum.org/

Each rotation to landscape requires reload

Search done. Nothing in the archives like this. I've screwed up a previously working site. I know not how. Specifically, rotating my iPhone 6 from portrait to landscape displays my site narrowed to about 50%. Reloading pops it out to normal presentation. Rotating back to portrait, and then returning to landscape, requires another reload. Never had a problem where all viewports work yet a kick in the ass required after a rotation. Site is CodeStruggle dot com. I have the small and medium backgrounds set to tan and pink for trouble shooting. Thank you for any help.
Found the problem. For some reason my horizontal rule would not work. So I substituted the creature below until I could investigate the <hr> problem. Everything performed perfectly on desktop, but not on my phone. Live and learn.
<p class='fake-horizontal-rule'>_________________________________________________________</p>
p.fake-horizontal-rule{
color:#ccc;
text-align:center;
}

How to make a Mobile Substrate tweak (Slide from top) Notification Center

I'm a whited00r developer and i'm creating an tweak for iPhone 2g/3g WHITED00r users a notification system (NS) ive already made one (NSCENTER) but it isnt really an tweak...
I want to make a mobile substrate tweak that if you slide from top it would show the tweak (activator) but I dont know how to do this. Could somebody help? or sample? or text help?
Assuming I understand you correctly, you're basically looking to replace the Notification Center swipe gesture action to present your tweak, correct? If that's the case, SBBulletinListController has the methods you're looking for:
-(void)handleShowNotificationsGestureBeganWithTouchLocation:(CGPoint)touchLocation;
-(void)handleShowNotificationsGestureChangedWithTouchLocation:(CGPoint)touchLocation velocity:(CGPoint)velocity;
-(void)handleShowNotificationsGestureEndedWithVelocity:(CGPoint)velocity completion:(id)completion;
-(void)handleShowNotificationsGestureCanceled;
There are also corresponding methods in Springboard that you could try:
-(void)handleShowNotificationsSystemGesture:(id)gesture;
-(void)handleHideNotificationsSystemGesture:(id)gesture;
-(void)_showNotificationsGestureBeganWithLocation:(CGPoint)location;
-(void)_showNotificationsGestureChangedWithLocation:(CGPoint)location velocity:(CGPoint)velocity;
-(void)_showNotificationsGestureEndedWithLocation:(CGPoint)location velocity:(CGPoint)velocity;
-(void)_showNotificationsGestureFailed;
-(void)_showNotificationsGestureCancelled;
-(void)_hideNotificationsGestureBegan:(float)began;
-(void)_hideNotificationsGestureChanged:(float)changed;
-(void)_hideNotificationsGestureEndedWithCompletionType:(int)completionType velocity:(CGPoint)velocity;
-(void)_hideNotificationsGestureCancelled;
Try hooking those using MobileSubstrate. I haven't tried this myself, but it should point you in the right direction.

Resources