warycat / SuperSeaLion

2D Web Game
1 stars 0 forks source link

new background and foreground #21

Closed too87 closed 10 years ago

too87 commented 10 years ago

fore_ground

background

warycat commented 10 years ago

upload the background image here again, the total size is 1024x512, sky 1024x128, sea 1024x384.

warycat commented 10 years ago

in the foreground snip20140503_3 these mountain under the sea should be put into the background to make the parallax effect. and the size the same as the background image. (the total size is 1024x512, sky 1024x128, sea 1024x384.)

too87 commented 10 years ago

background

fore_ground

too87 commented 10 years ago

These new images size in pixel. Let's me know if it's correct or not.

warycat commented 10 years ago

the size of background is 100% ok. the size of foreground(1024x512) is not. and there should also be something in the sky area in the foreground.

too87 commented 10 years ago

fore_ground

mesargent commented 10 years ago

Something has come up with my family I can't make it tonight I can meet tomorrow night if anyone is available On May 6, 2014 10:06 AM, "too87" notifications@github.com wrote:

[image: fore_ground]https://cloud.githubusercontent.com/assets/7131766/2892764/cba8cb56-d540-11e3-8ba4-5f585ee9f93c.png

— Reply to this email directly or view it on GitHubhttps://github.com/warycat/SuperSeaLion/issues/21#issuecomment-42330133 .

warycat commented 10 years ago

I loaded the foreground and background together. And include the parallax effect. I think there is a design error here. http://www.warycat.com/SuperSeaLion/ssl.html

warycat commented 10 years ago

awsd for up down left right zx for zoom in zoom out

too87 commented 10 years ago

i see. However, both pics have the same size. i will try look into it maybe i can fix something .

warycat commented 10 years ago

I think we need to change the image, because I made some errors in the first place.

some of the margin of both foreground and background will be cut due to the implementation limitation. so when you draw the animation take that into account. You can test with the project by adding additional foreground and background image in app/images/ folder. rename it to foreground2.png background2.png accordingly. and replace the foreground1.png and background1.png in the superSeaLion.js to test your new foreground and background image.

too87 commented 10 years ago

got it :)

warycat commented 10 years ago

I am not sure that the new design is 100% correct. If you find something wrong tell me about it early. thanks :)

too87 commented 10 years ago

What do you mean by "the edge of sea ground in the background"?

warycat commented 10 years ago

@too87 the new map souce code support foreground and background zooming zx entire map cv foreground bn background

too87 commented 10 years ago

I want to try the new foreground and background, where can i change it? in the superSeaLion.js?

mesargent commented 10 years ago

If I"m not mistaken, try SuperSeaLionhttps://github.com/warycat/SuperSeaLion / app https://github.com/warycat/SuperSeaLion/tree/master/app / scriptshttps://github.com/warycat/SuperSeaLion/tree/master/app/scripts / loader.js, lines 4 and 5. Not sure if anything else needs to be changed.

On Sun, May 18, 2014 at 4:28 PM, too87 notifications@github.com wrote:

I want to try the new foreground and background, where can i change it? in the superSeaLion.js?

— Reply to this email directly or view it on GitHubhttps://github.com/warycat/SuperSeaLion/issues/21#issuecomment-43456929 .

too87 commented 10 years ago

background2

foreground2

too87 commented 10 years ago

the first pic is background and the second one is foreground.