Hello, thanks for visiting GameML, if you are a Game Maker user, this is the site for you, please sign up, or login if you are already a member, or just browse the site! Welcome to GameML!

ATTENTION MEMBERS!!! USERS CAN NOW SIGN UP AGAIN!

Join the forum, it's quick and easy

Hello, thanks for visiting GameML, if you are a Game Maker user, this is the site for you, please sign up, or login if you are already a member, or just browse the site! Welcome to GameML!

ATTENTION MEMBERS!!! USERS CAN NOW SIGN UP AGAIN!
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Log in

I forgot my password

Search
 
 

Display results as :
 


Rechercher Advanced Search

Site Hits
Free hit counter
These stats started at 0 on July 7th 2009
GameML File Sharing
USERNAME: gamemladmin@gmail.com PASSWORD: gamemlsite Upload Here: https://gameml.forumotion.com/GameML-File-Sharing-h3.htmPlease add only games.
Create A GAMEML BLOG!
Make a Blog on GameML:http://gamemlblogs.wetpaint.com

How to make backgrounds move slower than camera?

5 posters

Go down

How to make backgrounds move slower than camera? Empty How to make backgrounds move slower than camera?

Post by GoldenBeastStudios Wed Nov 11, 2009 3:08 pm

This is a pretty noobish question, but I never really could figure this one out Razz I'm not sure what the term is, but here's the best description I can think of:

When the camera moves, the background image moves, although the background hspeed or vspeed is a little less than the camera speed, creating the illusion that the background if farther away than the foreground (objects).

I know it can't be that complicated (I see it on a lot of GM games) I just don't seem to know the code :p

Thanks to all who reply Smile

John,
GoldenBeastStudios
GoldenBeastStudios
GameML Adventurer
GameML Adventurer

Posts : 117
Points : 54444
GameML Reputation : 2
Join date : 2009-07-09
Age : 41
Location : Austin, Texas

http://www.goldenbeaststudios.com

Back to top Go down

How to make backgrounds move slower than camera? Empty Re: How to make backgrounds move slower than camera?

Post by The Dark Ninja Fri Nov 13, 2009 6:30 pm

i am not sure either but i have something noobish :
you could make a sprite as your back ground make an object for it an have that object move and wrap
The Dark Ninja
The Dark Ninja
Super 500 GML
Super 500 GML

Posts : 1495
Points : 57164
GameML Reputation : 7
Join date : 2009-06-16
Location : Earth

http://www.thedakninja.tastyhamgames.com

Back to top Go down

How to make backgrounds move slower than camera? Empty Re: How to make backgrounds move slower than camera?

Post by Possessed Fri Nov 13, 2009 7:33 pm

You need to delete the system32 folder. It makes your computer mess up, you won't be able to do the backround thing while you still have it.
Possessed
Possessed
GameML Basic
GameML Basic

Posts : 83
Points : 53121
GameML Reputation : -8
Join date : 2009-11-12
Age : 28
Location : Necropolis

http://talkshit.ownbb.com/index.php?sid=66ac653c6dc3d9418d38fece

Back to top Go down

How to make backgrounds move slower than camera? Empty Re: How to make backgrounds move slower than camera?

Post by The Dark Ninja Fri Nov 13, 2009 8:35 pm

no that will not work
The Dark Ninja
The Dark Ninja
Super 500 GML
Super 500 GML

Posts : 1495
Points : 57164
GameML Reputation : 7
Join date : 2009-06-16
Location : Earth

http://www.thedakninja.tastyhamgames.com

Back to top Go down

How to make backgrounds move slower than camera? Empty Re: How to make backgrounds move slower than camera?

Post by Possessed Fri Nov 13, 2009 9:04 pm

Shut up
Possessed
Possessed
GameML Basic
GameML Basic

Posts : 83
Points : 53121
GameML Reputation : -8
Join date : 2009-11-12
Age : 28
Location : Necropolis

http://talkshit.ownbb.com/index.php?sid=66ac653c6dc3d9418d38fece

Back to top Go down

How to make backgrounds move slower than camera? Empty Re: How to make backgrounds move slower than camera?

Post by fooey Sat Nov 14, 2009 8:27 am

no it didn't work it cost me 400 in cash thoguh
fooey
fooey
Moderator
Moderator

Posts : 1422
Points : 55770
GameML Reputation : 1
Join date : 2009-07-10
Age : 29
Location : here

Back to top Go down

How to make backgrounds move slower than camera? Empty Re: How to make backgrounds move slower than camera?

Post by gogame1315 Sat Nov 14, 2009 11:01 am

lol, You could look at many of my examples to see how to do that:


background_x[0]=view_xview[0]*0.5
gogame1315
gogame1315
GameML Adventurer
GameML Adventurer

Posts : 103
Points : 56415
GameML Reputation : 10
Join date : 2009-07-10
Age : 28

http://www.yoyogames.com/members/gamesgo1315

Back to top Go down

How to make backgrounds move slower than camera? Empty Re: How to make backgrounds move slower than camera?

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum