Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RPG Type moving BG, how do I?

Status
Not open for further replies.

MrKovacic

IS-IT--Management
Nov 5, 2002
213
US
Hi, I am working on an RPG type game, and I am making a huge BG that I want to move as the char moves around the screen. The way I have it now doe'nt work. If you would like an example, I can mail it to you. I want to make it so if the charichter, for example, walks to _X=0 then the BG moves to make it look like he is still walking.

Let me know if you need any file examples or better detail.

Thanks in advance!
:)

Mike
 

Regards,

cubalibre2.gif
 
Actually, I have been through that tut. That one tells about charichter movement and inventory. I havent found (I may have missed it) a way to mke the background move, nor have I found any other tuturials from that person. I am looking forward to more, but havent seen them.. Thank you for the quick responce!
 
OldNewbie, those zips appear to be for a calculator. I was unable to open them in flash, but I think they do carry the type of coding I wish to use.

BillWatson, that is very similar to what I would like to do. What I have now, is a square boundry around the charichter. This square boundry has actions where if the user walks to the right, the charichter stops moving, and the BG scrolls left to make it look as though the charicher is still moving. So I am very close, but I think the way I did it is not right, even though is somewhat works.
Let me know if you want a demo to see.. Thanx

Mike
 
Here is the link

Just goto the flash forum, I am in the midst of setting it back up, so all other forums are not in place yet, but this will end up being the flash forum I use on my site... Thanx!
 
I have the fla but im still unsure what you want to do. can you be clearer about the objective.
 
My overall objective is to make a big parkinglot that you can drive around in, and when you get near the edge of the screen, the parkinglot layer moves so you dont drive off the side of the screen. I have done a lamer job of fixing that. I know there is a better way, but I cant find it. I have been through Flashkit. It is a basic function you would find with an RPG like Dragon Warior where you walk around a huge map. Zelda is another good example, except the first NES system where it is one screen at a time, where I want this a smooth scrolling screen.

I wish I could find an example of what I am looking for. But the one on that site listed above is as close as I have gotten.

Thank you for the help so far!

:)

Mike
 
Does anyone have any sample sites that have open source like Flashkit? I have been through them but havent found what I'm looking for...

Thanx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top