Make the screen follow character
Hello i am making a platform game using actionscript 3.0. My character can move, fire bullets and jump around on the platforms, but how do i make the screen follow the character? I've tried using a v-cam but it does not work properly with the shooting. How do i make the screen follow my character?
Any help is appreciated
You need a gameframework to do this for you, if a virtual cam doesN´t do what you expect, and you are unable to fix this issue.
You could theoretically put all your background assets in one big movieClip and move it around in relation to your Player (if the player "moves" ten pixel to the right, the background instead moves ten pixels to the left etc.)
but if you need any kind of hit detection between pixels that are on your background (likle enemies) and your player, converting all your points from localToGlobal and vice versa, will get you into trouble.
There is
http://www.flixel.org/
and
http://citrusengine.com/
which are spoecifically tailored to platform games
Similar Messages
-
Can I make the screen follow where my script is? Clarification in comments.
Hi everyone,
Here is what I want to do. I have a script that find/replace in all my document. It runs for half an hour, line by line. But InDesign stays on the same page all this time, so I can't see where it is, what it changes LIVE. I want to know if there is a trick that will make the screen follow the selected text that need to be change, so I can see it.
Thanks in advance,
OlivierHi Olivier!
Calling the "select()" method might result in what you want.
The following selects a text frame in my test document, and it also shows the page that the object is on, if another page is in view:
app.activeDocument.pageItems.itemByID(207050).select()
(Of course "207050" is a valid id for one of the objects in my open document)
So if you have a result of "found objects", you could possibly juist call the ".select()" method for each object that you would like to set focus to.
Sometimes "Enable redraw" needs to be checked, from the popout menu of the script palette. I'm not sure that's the case here though.
Best regards,
Andreas Jansson
Message was edited by: Andreas Jansson -
Macbook Pro with OSX Yosemite: I am frustrated that when using Word for Mac, the cursor keeps jumping around all over the page. How can I make the pointer follow the cursor so this stops?
Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
* Don't make any changes on the Safe mode start window.
See:
* [[Troubleshooting extensions and themes]] -
Satellite L300: How to make the screen less blue?
Hi,
Is it possible to make the screen less blue, not fully color managed, just a little warmer. TIA.Hey Zeb,
Why you want to change the color management? Are not satisfied with the colors on your L300 screen? I have this notebook too and Im very satisfied with the color management. For me its all ok and I dont change anything on it.
Anyway, you can change the colors in graphics driver menu. On Intel cards for example:
Display properties > Settings > Advanced > Intel Graphics > Graphic Properties > Color Correction
Greets -
The screen resolution in 1920x1200 dropped on my MacBook Pro 17". Seems like I have not the same pixels. There are also vertical, thin lines on the screen. Makes the screen look milky. Anybody knows what's going on and how to fix it?
Take it to an Apple Store or other service provider for testing.
-
HT204380 How can I make the screen full screen when I am calling?
How can I make the screen full screen when I am calling on Facetime on a Macbook Pro Laptop?
Ok but if the iPhone 5s and 5 can go full screen the why can't the iPad Air as it too is new the problem shouldn't be hard to solve as I have looked the apple site and it show it just fine in full screen so I'm sure you understand when I say there is most definitely away of doing it so can Apple just sort it out I'm always telling my m8 how good Apple devices are and I've been let down on this so come on fix it PLEASE
-
I have an I-Pad version 4? I cannot make the screen go to the normal size. Squeezing my fingers together does not work. Every now and then the normal size screen will pop up for a second.
Thanks! It worked. First time I have used this. I have had the I-pad for two years.
BIll -
How to make the screen dim while music is playing
I can't get the screen to dim while playing music on my iPod Nano. It used to be that the screen dimmed while music was playing until it lit up when I hit a button to change volume, track, etc. This preserved the battery life. It seems that I inadvertantly changed some setting just a few days ago because I saw the apple logo appear on the screen and since then have not been able to figure out how to make the screen dim while playing music. I think the fact that the screen is staying on while I'm listening now is making the battery out very quickly. Does anyone know how to solve this problem? Thank you!
Hello ZingMA,
You need to reset the backlight timer.
Go to settings, general, and backlight. You should be able to set if from there. I am assuming you have a 6th gen nano. If you have a different model the user manuals have the steps. Found here:
iPod nanos
Hope this helps.
~Julian -
How can I make the mouse follow as I point?
I am brand new to captivate and incredibly frustrated. I'm
trying to record a web site walkthrough and have selected
"Demostration." No matter what setting I change, the mouse only
moves when I click, but I want to point to things as I narrate. Can
anyone help me understand how to make that happen?Welcome to our community, murphisto
Captivate doesn't exactly work in this manner. Basically here
is how the process works. You open an application. You open
Captivate and configure it to record the application. There are
different ways to record. You elected Demonstration. When recording
in Demonstration mode, the following happens.
Where you click or type, Captivate captures the screen. The
screen capture becomes the background image for the slide. The
mouse coordinates are tracked. In other words, where it started and
where it stopped. So each slide has a single mouse movement. On the
first slide where mouse movement was recorded, you may adjust the
start and end spots. But each slide afterwards only offers you the
ability to adjust the mouse ending spot. The starting spot is
determined by where it STOPPED on the slide before.
You may wish to investigate using Full Motion Recording
(FMR). But if you choose to go that route, you need to be aware of
some factors. Captivate was never designed to be a Full Motion
product. It's better than it used to be, but far from perfect. If
you do record in full motion, keep it very brief. Just a few
minutes worth. If you find this method of recording and playback
are what you feel are best, you will find yourself constantly
frustrated with Captivate. In that case, you should investigate a
different product that was designed with full motion in mind.
Camtasia Studio, Fraps or one of the others.
Hopefully this was helpful... Rick -
How to make the graph follows the position of the video frame
Hai..
I want to open the video (. avi) and graph together in one VI.. The videos and graphs can be controlled (forwarded or rewind) in the desired position.. However, the graph should follow where's the position of the video frame.. The graph generated from the data in excel, after reading data, then there is the processing of signals, such as filter, mean, find the peak, etc.. After that the result will appear in the graph..
Until now, I've been able to display video and graph.. I'm trying to use WMP and also IMAQ..
Because I want to show the position of the graph or signal when the video plays, I was making a cursor or a line on a graph that follows the position of the video..
First, I'm trying using WMP.. I can forward and rewind video using WMP, after that I make a cursor on the graph and the position of cursor I put in the position video.. And then when I run the program, the signal that arises from the right, but the cursor in the graph follow the position of the video (the cursor appears on the left) different side with the signal..
I also tried using IMAQ when I tried to use the video controls, so the video can be forward or rewind using the slide, and I made a graph control to follow the video.. But the video isn't playing, it just show only images or frame in the video..
Can we create a graph that can follow the position of the video? (graph can be in forward and rewind just like with video)
I've tried many ways but until now have not been successful.. can someone help me?
Any help is greatly appreciated thank you.This should do pretty much what you want, assuming that a slider is how you are controlling your video position. You are going to have to play around with it a little but it should give you the basic idea.
Attachments:
Slider.vi 35 KB -
My iphone 5 randomly froze so i used my accesibility button to lock the scre because my lock screen button is broken. After i locked it it wouldn't turn back on. The screen is off but i can still hear notifications and Siri. I dont know how to make it work. help?
See: https://ssl.apple.com/support/iphone5-sleepwakebutton/
-
How do I make the screen stop moving?
I must have clicked something I shouldn't.... Usually, I use my index finger to move the cursor around on the screen. But now, I can still do that, but everything on the screen moves side to side or up and down when I'm moving the cursor (moving my finger across the screen). Does anybody know what happened and how I can stop it?
Hi
You might be a little zoomed out. Go to System Preferences, Universal Access and make sure Zoom is not turned on.
Matt -
Hello! I'm hoping someone can help me with a recent problem on my MacBook Pro. When I try to open a document from one of my files, it only seems to open in a small screen and I can't seem to make that screen any bigger to work on it. Has this happened to anyone else before? Thank you for your answer in advance!
Oh, I wanted to add that trying to drag the little diagonal lines to the right of the page doesn't seem to work.
-
How do I unlock the rotation of the screen of my ipad? I want my screen to rotate.
Thanks.
Monica.1. Make sure the Side Switch is set to Lock Rotation: Settings>General
http://i1224.photobucket.com/albums/ee374/Diavonex/59baf839.jpg
2. Now check the Side Switch to make sure it's in the unlock position
http://i1224.photobucket.com/albums/ee374/Diavonex/00bf6eae.jpg -
FM OUTLINE_LIST_TCODES , how to make the screen looks bigger
hi guys,
i have used OUTLINE_LIST_TCODES to display 11 selection tabs,it ends up having to scroll down , how to expand the screen and make it bigger without hving to scrolls
Maybe you are looking for
-
Use mask to show one bullet point at a time
I have content in multiple bullet points of text. The background is a texture. I'd like to use mask to show the text in sync with audio. It works but the text is the color of the mask. I have bullet point itself in a different color. How can I mask t
-
Adding a Flash-Type Slideshow in iWeb
I want to add a slideshow to my home page, but not the kind of slideshow that has a bar of thumbnails and an enlarged version of the selected image. I'd like a frame that automatically plays a slideshow of images that play for a few seconds with a si
-
can anyone help me solve the problem? i've tried on all apps i have. i can buy apps from the app store, but i can't do in-app purchase.
-
When i try to download an app, i get a message that says my applied has been disabled
when i try to download an app, i get a message that says my applied has been disabled, what can i do, i already reset my password??
-
How to automate a search within portal and subscribe to the result
Hello all, I need to check websites regularly for various corruptions. I do this using TREX 's capacity to index the chosen websites to a specific index I can then search in for the required information. I would like to automate this procedure and su