Search:
Type: Posts; User: BlueGeek
Search:
Search took 0.03 seconds.
-
The best way to do this would be to use the MovieClips built in play() and stop() functions. Tell it to stop until it's needed then play it.
If you REALLY need it to be a Graphic, I'd suggest...
-
The first answer was EXACTLY the sort of vector-loving super efficiency I was looking for, thanks!
That second answer gave me an idea, it's almost what I need, thanks so much! Marking this as...
-
Alright, a little background on what I'm making here.
This is (at some point, knock on wood) going to be a simple lighting engine. I have a basic polygon composed of points that a light source...
-
Can you give a more detailed description of how this is supposed to work? A slideshow is supposed to happen when? How does this relate visually to the gallery? ETC ETC.
-
First, screen size:
There are a couple issues to consider when making this sort of decision, but most can be boiled down to who your end user is and how they will receive the content. Are you...
-
Alright, this is one I've really been struggling with for a while.
I'm trying to draw a line from a point, in a direction to whichever edge of the window it hits first.
I've really only come up...
-
Not entirely sure I understand what you mean. Sorry, I've been ass deep in code for about 2 weeks and I'm mildly burned out. Any chance you could elaborate slightly?
-
I'm working on a project where in I've found it necessary to mask a background object with MULTIPLE Sprites. I've tried doing this two ways: making one "parent" sprite to which all of the other...
-
Alright, so the good news is that this IS actually going to be almost all animation. I'm a bit short on time today so I'll give you a brief outline.
You're going to want to make 6 animations; 3...
-
Alright, this is going to be a 2 parter.
The first part is going to be going over what you have here and doing a little tidying up.
Now, as it was, your code actually executes fine, with just...
-
Alright, so your code in itself isn't bad as AS3, it just has at least one glitche in it syntactically. After you've finished this I suggest you spend a little bit of time making indenting a habit,...
-
Reposting vipers code for him using AS tags so it's a little easier to read (hint hint). ALSO! added indenting
/* this creates the instances of the ball and player and
puts them on the...
-
Just to reiterate my idea with a pinch just_started's input, from your wording it sounds like you may be trying to go about this using JUST Flash's animation engine (ie: without any coding). ...
-
Woa boy,
This one might be tricky. How much programing experience do you have?
-
Hello, Sandy again,
I have a game which includes a directional light source. The source is controlled with the keyboard, the direction of the light is controlled with the mouse.
demo (click...
-
NegLevPlus.as (it's a long story)
package com.world
{
import flash.display.Sprite;
import flash.geom.Point;
import flash.display.BitmapData;
public class NegLevPlus extends Sprite
{
-
Basic single light 2D lighting model:
This is all an addition to what's been written above.
Also, please read Pazil's enlightening post on 2D lighting. A lot of what I've done here is directly...
-
It's pretty amazingly primitive. Polygons can't be concave, although you can construct concave shapes from convex polygons. My original design was to trace light beams and use bitmapimages along...
-
Alright, I made my original method work (it's a little bit hackie, but it runs fast enough). Here's a link to a demo:
demo
If anyone wants to see the code, or get a brief tutorial on how I...
-
did the error come with any additional text?
-
As part of a larger program, I have a small polygon class (it does other stuff, but for the purpose of this question, it just contains a set of points).
I would like to be know if there is a fast...
-
the corrected code:
import flash.events.Event;
import flash.geom.Point;
function findTermination(x0:Number, y0:Number, x1:Number, y1:Number):Point
{
var p:Point = new Point(x1 - x0, y1 -...
-
AHHH, I'm an idiot. I'm still using AS2 stage dimension variables. The correct syntax is stage.stageHeight and stage.stageWidth.
-
Hello, Sandy here.
I'm trying to extend a line from any given point to the mouse by a certain number of pixels (say, 100).
This is the closest I've gotten:
link to SWF
As you can see, the...
-
I'm a little confused by this, how do I link the two files together? I see in actionscript settings there's an option to select a custom pre-loader but it's grayed out for me.
|
Click Here to Expand Forum to Full Width
|