You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!

Author Search Results: 'zuperxtreme'

We found 1,585 matches.


<< < > >>

Viewing 1-30 of 1,585 matches. 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 93153

1.

None

Topic: Flash just bullcraping me

Posted: 11/28/09 06:21 PM

Forum: Flash

I get that sometimes. :/

Try restarting Flash.


2.

Happy

Topic: Working on reflections..

Posted: 11/28/09 04:57 PM

Forum: Flash

What exactly do you mean by reflections?

If you mean the shapes without the details and all white, you could probably use a colorTransform:

var colorTransform:ColorTransform = myMC.transform.colorTransform;
colorTransform.color = 0xFFFFFF;
myMC.transform.colorTransform = colorTransform;

and to loop through all your MovieClips and apply a white color, you could do something like:

var colorTransform:ColorTransform = myMC.transform.colorTransform;
colorTransform.color = 0xFFFFFF;
 for(var currMC in containerMC){
  containerMC[currMC].transform.colorTransform = colorTransform;
 }

3.

None

Topic: Help me out with a menu ...

Posted: 11/25/09 04:22 PM

Forum: Flash

Heh, I suppose so. From the preview, now that I'm looking at it with a cool head, I can see that it only moves just the tab beneath the clicked. 1 -> 2, 2->3, 3->4. Which further proves my theory of where the problem is. :p

Eh, I suppose I'll fix it myself. ;p


4.

Beaten

Topic: animated preloader help tut. needed

Posted: 11/25/09 04:14 PM

Forum: Flash

You probably didn't get the memo at the last genius meeting, but it's all the hype now-a-days to Google first:

http://www.google.com/search?hl=en&clien t=firefox-a&rls=org.mozilla:en-US:offici al&hs=RLk&ei=GZ4NS830GImruAfxmrC4CQ&sa=X &oi=spell&resnum=0&ct=result&cd=1&ved=0C AYQBSgA&q=as2+preloader+bar&spell=1


5.

Resigned

Topic: Help me out with a menu ...

Posted: 11/25/09 04:11 PM

Forum: Flash

It's most likely a dumb little bug, but I need someone else to look over it.

Here's my test swf so you can see the problem: http://www.interactivelab.com.ar/xmlTest /loadingXMLTest.swf

Click from the bottom up and you'll see that the two last work fine, but the 1st and 2nd(from the top) step over each other.

And here's all the relevant code:

for (var i:int = 0; i < _mainXML.alquiler.departamento.unambiente.depto.length(); i++) {
	var newBar:itemBar = new itemBar();
	newBar.x = 0;
	newBar.y = _barCount*((newBar.height - newBar.description_bar.height)+5);
	newBar.description_bar.alpha = 0;
	itemHolder.addChild(newBar);
	
	newBar.name = String(i);
	newBar.minimumY = newBar.y;
	newBar.maximumY = newBar.y + newBar.description_bar.height;
								
	_itemArray.push(newBar);
								
	newBar.itemNumber = _barCount;
	_barCount++;
	_numberTabsClosed = _barCount;
								
	newBar.barrio_txt.mouseEnabled = false;
	newBar.nombre_txt.mouseEnabled = false;
	newBar.description_bar.direccion_txt.mouseEnabled = false;
								
	newBar.barrio_txt.htmlText = _mainXML.alquiler.departamento.unambiente.depto[i].localidad.toString();
	newBar.nombre_txt.htmlText = _mainXML.alquiler.departamento.unambiente.depto[i].nombre.toString();
	newBar.description_bar.direccion_txt.htmlText = _mainXML.alquiler.departamento.unambiente.depto[i].direccion.toString();

	newBar.buttonMode = true;
	newBar.useHandCursor = true;
	newBar.addEventListener(MouseEvent.MOUSE_UP, expandInfo);
								
	newBar.description_bar.moreInfo_btn.addEventListener(MouseEvent.MOUSE_UP, loadFicha);
}

...

function expandInfo(e:MouseEvent):void {
	if (e.target is itemBar) {
		if (!e.target.currentlyOpen) {
			_numberTabsOpen++;
			_numberTabsClosed--;
			TweenMax.to(e.target.description_bar, .3, { alpha:1, onStart:SwitchStates, onStartParams:[e.target] } );
		}else {
			_numberTabsOpen--;
			_numberTabsClosed++;
			TweenMax.to(e.target.description_bar, .5, { alpha:0, onStart:SwitchStates, onStartParams:[e.target]} );
		}
	}
}
function SwitchStates(mc:*) {
	mc.currentlyOpen = !mc.currentlyOpen;
	moveThingsDown(mc);
}

function moveThingsDown(target:*):void {
	var currentItem:int = target.itemNumber;
	if (currentItem < 1) {
		currentItem = 1;
	}
	for (var i:uint = currentItem; i < _itemArray.length; i++) {
			if (_itemArray[i - 1].currentlyOpen) {
				_itemArray[i].y = _itemArray[i].maximumY;
			}else {
				_itemArray[i].y = _itemArray[i].minimumY;
			}
			
		output_txt.appendText("\nCurrent _itemArray[" + String(i) + "].name is: " + _itemArray[i].name +" and it's open state is: "+_itemArray[i].currentlyOpen);
		output_txt.appendText("\nPrevious _itemArray[" + String(i-1) + "].name is: " + _itemArray[i-1].name +" and it's open state is: "+_itemArray[i-1].currentlyOpen);
		output_txt.appendText("\n ---------------------------------------");
		
	}
}

I'm trying to keep it simple and dynamic, meaning that I can add "x" number of items and it would still work without hard-coding it.

I'm storing the minimum and maximum y values into each item as they are made with this:

newBar.y = _barCount*((newBar.height - newBar.description_bar.height)+5);

...

newBar.minimumY = newBar.y;
newBar.maximumY = newBar.y + newBar.description_bar.height;

So, ideas? It's most likely in the last bit. In the "moveThingsDown" function.


6.

None

Topic: Preloader with Doc Class..?

Posted: 11/25/09 03:35 PM

Forum: Flash

At 11/25/09 07:12 AM, henke37 wrote: If the preloader doesn't preload more than the first scene, there is a major issue somewhere. Because the preloader should load the full swf, by checking the byte counts.

Yeah, I'm rechecking the whole .fla ....

It's a website some idiot made for a friend in AS2 with scenes, crappy on(rollover) menus and shit like that ...

Anywho, at least I know that it should check for the whole .swf's size instead of just the scenes ...


7.

Happy

Topic: Animations or Games

Posted: 11/24/09 05:12 PM

Forum: Flash

I love programming, but I would like to learn to animate properly to try and blend both.


8.

Resigned

Topic: Preloader with Doc Class..?

Posted: 11/24/09 03:56 PM

Forum: Flash

inb4 flame war/beat down.

But before that, how would I go in preloading multiple scenes? I have my preloader in my doc class and after completing it needs to go to a new frame. The thing is that it seems to preload a single scene(the first, which is lighter than the last scene that is the actual webpage) hence not a "real" preload of the page...

Is there a way to preload all the scenes at once? I'm thinking of just making a light preloader swf to load the main one ....

And no I can't re-do the page, I didn't design it, I'm fixing someone else's shit ...


9.

Winking

Topic: Need help on making a shooter.

Posted: 11/19/09 06:07 PM

Forum: Flash

You couldn't find ANYTHING?

http://www.google.com/#hl=en&source=hp&q =flash+side+scroller+tutorial&aq=f&aqi=&
oq=&fp=a50ffc77dda4c0bc

Man, some of us are so lucky.

I found "about 71,900 for flash side scroller tutorial. (0.07 seconds)".

Crazy huh :/


10.

Resigned

Topic: Interesting Strategy Board Game

Posted: 11/19/09 06:03 PM

Forum: Flash

It's kinda hard to learn "how to make a board game", you need to think a bit more logically. In checkers for example, when you grab your piece what would you think about? You have to think if it can move, how do you determine that? You check the diagonal adyacent places(both left and right), if both are clear you can move to either. If one is off the board you can't move there, same goes if it's blocked by another piece.

So programming how would you check that? I'd use a grid, check the position of my piece and calculate for the two diagonal piece above. So say the grid is 10 x 10 and you're at 5x5, the pieces you need to check are 4x6 and 4x4. It's one row up, one line right and one row up, one line left(of your piece).

It's kinda hard to explain EVERYTHING, but you can't tell Flash "do this", you have to tell it "check for this and act accordingly". :/

Start learning variables, loops, arrays and try and think logically ...


11.

None

Topic: Hey Coders Need Help!!

Posted: 11/19/09 04:36 PM

Forum: Flash

At 11/19/09 04:22 PM, mulatto401 wrote: edit:
scaleX *= -1;

He should becareful with this because if it's on an enter frame event the player will constantly "switch sides", the xscale will change from 100 to -100 every frame and it'll look odd.


12.

None

Topic: Hey Coders Need Help!!

Posted: 11/19/09 04:20 PM

Forum: Flash

If he's originally facing right, then you should do:

this._xscale = -100;

Plus to move him you have to subtract from _x, so:

this._x -= speed;


13.

None

Topic: What do you do to keep working?

Posted: 11/19/09 04:03 PM

Forum: Flash

I usually get up, drink a glass of water, throw myself on the bed for a minute or two face down, relax, think about what the problem could be and go at it again. If I'm really stressed out I just go out and get some air, maybe even take a quick shower.


14.

Expressionless

Topic: for loop

Posted: 11/15/09 04:22 PM

Forum: Flash

So what exactly is your problem? :/


15.

None

Topic: Easier way to rip sprites?

Posted: 11/15/09 10:23 AM

Forum: Flash

You could create new bitmaps with bitmapdata from the original bitmap split into tiles.

Say 30x30 sprites(x:y): 0:0 - 30:0 , 30:0 - 60:0, etc.

You could also possibly sample the top-left most pixel, iterate through your bitmap and replace all occurrences with whatever color you want.

... or you could google for a program that cuts images into tiles, for example: http://www.freedownloadscenter.com/Multi media_and_Graphics/Misc__Graphics_Tools/
Image_Cut.html


16.

Happy

Topic: How long have you had flash ?

Posted: 11/10/09 06:19 PM

Forum: Flash

I'd say around 2 years. I stopped using Flash altogether for a long time and had to re-learn most of the stuff.

Started with AS2, made "tests", banners and small apps for myself all the time. A couple months ago I decided to move on to AS3 and I've stuck with it ever since. I've recently started to focus more on Flash and I've done a few jobs already and made some good money.

I'm not too satisfied with my progress, I've lost valuable time. Plus it's always good to push yourself. But yeah, I'm doing much more complex stuff than before. I'm trying to completely understand OOP, still having some trouble with the organization aspect mostly.


17.

Happy

Topic: Composite, Odd, Fractions

Posted: 11/09/09 06:10 PM

Forum: Flash

You can use Modulus:

myVar % 2 ? trace("myVar is even") : trace("myVar is odd");

Same thing for decimal numbers:

myVar %1 ? trace("Not decimal") : trace("Is decimal");

BTW, "? : " is a fancy way of doing if(){}else{} ; :p


18.

Happy

Topic: Trigonometric movement?

Posted: 11/09/09 03:58 PM

Forum: Flash

Thanks everyone! I'll check over this carefully when I'm at home with Flash.


19.

None

Topic: Trigonometric movement?

Posted: 11/08/09 04:54 PM

Forum: Flash

:/

Not really sure how to apply the math to get my desired effect.

There are 3:

Sinusoidal wave to a target and invert when it reaches it's destination.

Sinusoidal wave towards a target.

Parabola? Line, half a circle turn, line.

Anywho, I don't want to draw the lines, I want an object to move in those paths. Ideas?

For visual aid:

Trigonometric movement?


20.

None

Topic: Flex builder or flash develop ?

Posted: 11/08/09 10:45 AM

Forum: Flash

At 11/8/09 05:59 AM, GustTheASGuy wrote: Flashdevelop is fine. Start doing it.
Don't waste time waiting for people to answer your threads when you could get into it and find everything out yourself. Otherwise you're making excuses to delay yourself while you post the thread.

This. Times a million. Hell, this should be stickied. People need to be so much more proactive it isn't funny...


21.

None

Topic: AS3 textFormat size limited to 92?

Posted: 11/04/09 03:47 PM

Forum: Flash

It's a limit by Flash :/

http://www.moock.org/blog/archives/00028 4.html

You can use scaleX/Y, though.


22.

None

Topic: Why does no one use AS3!?!?!?!!!

Posted: 11/04/09 03:31 PM

Forum: Flash

I think it's because the majority of idiots use AS2(Not correlative, I'm not judging :p) so they post and make the majority of Flash-related questions, hence more "support".


23.

None

Topic: 360 Degree Interactive spin

Posted: 10/29/09 02:00 PM

Forum: Flash

I'm doing one of these for a client actually. :)

It's not too hard. Load all the images, make sure they're in order. When they're done loading I just bring the one underneath the top one up. Pretty much it. Optimizing for big images is something else. I'm cutting them up with PHP and then loading the cut-up cells that are viewable by the user.


24.

None

Topic: Unix Flash (linux/mac) Glitches...

Posted: 10/27/09 03:49 PM

Forum: Flash

Bump? :/


25.

None

Topic: Indie Development Blog

Posted: 10/27/09 03:40 PM

Forum: Flash

I like :)

/bookmarked


26.

Resigned

Topic: Unix Flash (linux/mac) Glitches...

Posted: 10/26/09 06:56 PM

Forum: Flash

So we all know the Unix plugin isn't very good, but how about we list out the problems?

For example, the AS2: Key.isDown(1) does not work, an event listener is recommended.

I've also noticed that sometimes keys are ignored. For example:

http://spamtheweb.com/ul/upload/3609/650 67_WH_-_Engine.php

In my Windows box the walking works perfectly, but in this Ubuntu box it does not.

I'm checking the keys using flags:

private function key_down(event:KeyboardEvent){
			if(event.keyCode == 37 || event.keyCode == 65){
				_hero.left = true;
			}
			if(event.keyCode == 38 || event.keyCode == 87){
				_hero.up = true;
			}
			if(event.keyCode == 39 || event.keyCode == 68){
				_hero.right = true;
			}
		}
		private function key_up(event:KeyboardEvent){
			if(event.keyCode == 37 || event.keyCode == 65){
				_hero.left = false;
				_hero.heroWalk.gotoAndStop(1);
			}
			if(event.keyCode == 38 || event.keyCode == 87){
				_hero.up = false;
			}
			if(event.keyCode == 39 || event.keyCode == 68){
				_hero.right = false;
				_hero.heroWalk.gotoAndStop(1);
			}
		}

Is there a conflict/difference between Windows and Unix keyCodes?


27.

Happy

Topic: Market For A Single Player Orpg?

Posted: 10/25/09 03:38 PM

Forum: Flash

You're going to have to find something to make yourself stand-out from everyone else. Think about all the games you've played and think about the things that they don't have that would be cool to have.
Charging money to play a single player RPG Flash game is a big no-no. Why would they? There are hundreds free flash games on the web.
Your best bet is to make money from ads, maybe a sponsorship.
Simplicity should also be a key point.

One cool idea could be user-made levels. Everything loaded by XML. You could have a little community, people rank other peoples levels, etc. That's something unique and not too hard to do.

It's a matter of thinking, putting things down on paper and figuring out how to attract the most people possible. And obviously making it fun. ;)


28.

Happy

Topic: How would i start multiplayer games

Posted: 10/25/09 01:03 PM

Forum: Flash

Here are some good tutorials to get you started: http://www.gotoandplay.it/_articles/mult iplayerCentral/


29.

None

Topic: Play My Great Flash Game Demo!

Posted: 10/25/09 01:00 PM

Forum: Flash

Good stuff, and I agree that people upload half-assed stuff the portal. So good for you for polishing your game.
I'm getting the same problem as the Mac people, I'm running Ubuntu with the latest Flash ver and can't shoot. Also, the speed of the jump and gravity seem a bit too high.


30.

Goofy

Topic: Physics

Posted: 10/25/09 11:13 AM

Forum: Flash

lol, making a physics "ENGINE".

;O


All times are Eastern Standard Time (GMT -5) | Current Time: 07:27 PM

<< < > >>

Viewing 1-30 of 1,585 matches. 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 93153