00:00
00:00
Newgrounds Background Image Theme

MiyuTheSceneGirl just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

Car tuning game help, please!

651 Views | 8 Replies
New Topic Respond to this Topic

Car tuning game help, please! 2007-12-17 08:12:40


I neeed help with a little game... Im a total n00b and i need help! I´m making a game where you can tune cars, but i have a little problem. It´s some actionscript... I need to know how to write in the actionscript and get a wing to be added into the right place... Im a n00b and i need help fast! Before the 15:th January 2008. I just want to get to know how to write and get it to do that, so please write how to write in the actionscript.

Thanx

Response to Car tuning game help, please! 2007-12-17 08:33:59


Ermm... I don't know really know how you're game is set, but let me think it's on frame 1 you tune your car. And frame 2 you play it.

frame 1:
on the "buy" button:
on(press) {
_global.wingisSold = true;
}

frame 2:
If it's an overhead car game:
onClipEvent(load) {
if(_global.wingisSold = true) {
gotoAndStop("Frame where it got a wing")
}
}


BBS Signature

Response to Car tuning game help, please! 2007-12-17 08:35:19


if(_global.wingisSold == true) {

sorry


BBS Signature

Response to Car tuning game help, please! 2007-12-18 05:24:18


Thanx
Actually, the only thing you do in the game is "Pimp" cars. The problem is just that i need the script on how to make a button stert to just make a movie clip get onto the screen on the right place and also be able to remove it. I dont really know... But should i use duplicateMovieclip or what?

Thanx again

Response to Car tuning game help, please! 2007-12-18 10:08:22


Well, then maybe you could add all the movieclips beforehand. and then just alter the alpha properties.

onClipEvent(load) {
_alpha = 0;
}

On button;
on(press) { //Could be on(release)
_root.mcInstanceName._alpha = 100;
}


BBS Signature

Response to Car tuning game help, please! 2007-12-18 11:02:13


You know, this thing is just really simple but just takes some time to explain to an AS newb.

And why Jan 15? Hoping to enter a Flash game contest? :P

Response to Car tuning game help, please! 2007-12-18 11:54:12


Actually my 30 - days trial version of macromedia flash ends up then...

Response to Car tuning game help, please! 2007-12-18 11:56:20


Eeeeh, what is alpha? Im a n00b so exactly what do you mean...

...

Response to Car tuning game help, please! 2007-12-20 05:11:52


It just works on one mc. I gave the 2:nd movieclip the same instance name as in the mc in the actionScript on the 2:nd button... I am sure that the alpha properties were set to 100. But it still does´nt work. Can somebody help me?