Flixel Forums

development => releases => Topic started by: wg/funstorm on Sun, Oct 2, 2011

Title: Tutorial: Dimensions & Coordinates (swf, camera, level, hud, mouse, fullscreen)
Post by: wg/funstorm on Sun, Oct 2, 2011
READ TUTORIAL HERE (http://www.funstormgames.com/blog/2011/10/flixel-setting-up-game-dimensions-swf-camera-level-hud-mouse/)

Why do we have to set multiple sizes?
How do I get the mouse position on screen?
How can I make things stay on screen when the camera moves?
Why are things not colliding past a certain point?

I see these questions come up on the forums all the time and it took me a while at first to wrap my head around how flixel likes to be configured, so I wrote up a quick tutorial to help others.

It covers:

Released along with a demo and source code:

READ TUTORIAL HERE (http://www.funstormgames.com/blog/2011/10/flixel-setting-up-game-dimensions-swf-camera-level-hud-mouse/)

(http://www.funstormgames.com/blog/wp-content/uploads/2011/10/dimensions-e1317565342394.jpg)
Title: Re: Tutorial: Dimensions & Coordinates (swf, camera, level, hud, mouse)
Post by: KunoNoOni on Sun, Oct 2, 2011
Wow that was really informative! Appreciate the time you took to make it :)


-KunoNoOni
Title: Re: Tutorial: Dimensions & Coordinates (swf, camera, level, hud, mouse)
Post by: wg/funstorm on Mon, Oct 10, 2011
New tutorial up!

How to use Flash's fullscreen mode with Flixel and dynamic window resizing:

http://www.funstormgames.com/blog/2011/10/flixel-fullscreen-mode-and-resizeable-windows/

Works well when paired with the previous tutorial :)
Title: Re: Tutorial: Dimensions & Coordinates (swf, camera, level, hud, mouse, fullscreen)
Post by: Kytin on Wed, Nov 23, 2011
Just thought I would say that these are great.  :-*
Nicely made and easy for people to understand.
Title: Re: Tutorial: Dimensions & Coordinates (swf, camera, level, hud, mouse, fullscreen)
Post by: OldmanBiles on Wed, Feb 29, 2012
I didn't see this hiding up here!
I've used a pretty much identical code here. (http://forums.flixel.org/index.php/topic,6031.0.html)
Nice one.