Forum Topic: Try this game out.

(172 views • 14 replies)

This topic is 1 page long.

<< < > >>
None

AlmostDead1

Reply To Post Reply & Quote

Posted at: 6/20/09 02:26 PM

AlmostDead1 LIGHT LEVEL 11

Sign-Up: 10/19/08

Posts: 738

Play!

What do you think?

There won't just be one level, there will be more and some enemys that will chase the car and maybe lifes.
Can anyone see any bugs so far, or any variables need changing?

BBS Signature

None

AlmostDead1

Reply To Post Reply & Quote

Posted at: 6/20/09 02:30 PM

AlmostDead1 LIGHT LEVEL 11

Sign-Up: 10/19/08

Posts: 738


None

Yambanshee

Reply To Post Reply & Quote

Posted at: 6/20/09 02:35 PM

Yambanshee DARK LEVEL 11

Sign-Up: 10/05/08

Posts: 1,607

timer is seriously bugged!
just do this:

time -= 1/game's_fps;

instead of using the getTimer() function

AS2||AS3||Motox
Thanks to hdxmike for the sig :]

BBS Signature

None

AlmostDead1

Reply To Post Reply & Quote

Posted at: 6/20/09 02:40 PM

AlmostDead1 LIGHT LEVEL 11

Sign-Up: 10/19/08

Posts: 738

At 6/20/09 02:35 PM, Yambanshee wrote: timer is seriously bugged!
just do this:

time -= 1/game's_fps;

instead of using the getTimer() function

Thanks, that is now fixed.

Latest one.

BBS Signature

None

UnknownFury

Reply To Post Reply & Quote

Posted at: 6/20/09 02:52 PM

UnknownFury EVIL LEVEL 26

Sign-Up: 08/10/05

Posts: 6,027

The steering is way to quick/tight making it too hard to control properly.

Portfolio(Under construction): UnknownFury.com |
Msn: giant_ak_47@msn.com | Contact: me@unknownfury.com
Follow me on twitter!


None

CaiWengi

Reply To Post Reply & Quote

Posted at: 6/20/09 02:54 PM

CaiWengi EVIL LEVEL 07

Sign-Up: 09/17/04

Posts: 1,517

Steering and acceleration are both awful

Sig by ApothicFlash <3

BBS Signature

None

AlmostDead1

Reply To Post Reply & Quote

Posted at: 6/20/09 02:55 PM

AlmostDead1 LIGHT LEVEL 11

Sign-Up: 10/19/08

Posts: 738

At 6/20/09 02:52 PM, UnknownFury wrote: The steering is way to quick/tight making it too hard to control properly.

Like this?

http://spamtheweb.com/ul/upload/200609/7 1709_car_less_turn.php

BBS Signature

None

chickendance333

Reply To Post Reply & Quote

Posted at: 6/20/09 03:00 PM

chickendance333 EVIL LEVEL 14

Sign-Up: 11/17/07

Posts: 837

The timer gets faster every time you press play.


None

Yambanshee

Reply To Post Reply & Quote

Posted at: 6/20/09 03:18 PM

Yambanshee DARK LEVEL 11

Sign-Up: 10/05/08

Posts: 1,607

At 6/20/09 02:55 PM, AlmostDead1 wrote:
At 6/20/09 02:52 PM, UnknownFury wrote: The steering is way to quick/tight making it too hard to control properly.
Like this?

http://spamtheweb.com/ul/upload/200609/7 1709_car_less_turn.php

press play a couple of times and you'll see my timer problem

AS2||AS3||Motox
Thanks to hdxmike for the sig :]

BBS Signature

None

AlmostDead1

Reply To Post Reply & Quote

Posted at: 6/20/09 03:31 PM

AlmostDead1 LIGHT LEVEL 11

Sign-Up: 10/19/08

Posts: 738

At 6/20/09 03:18 PM, Yambanshee wrote:
At 6/20/09 02:55 PM, AlmostDead1 wrote:
At 6/20/09 02:52 PM, UnknownFury wrote: The steering is way to quick/tight making it too hard to control properly.
Like this?

http://spamtheweb.com/ul/upload/200609/7 1709_car_less_turn.php
press play a couple of times and you'll see my timer problem

I changed it before, but just been playing with it and got:

displayTime = 15;
_root.onEnterFrame = function() {
displayTime -= 1/60;
}

This works well, but now none of this works:

_root.onEnterFrame = function() {
	if (_root.score.text == 4) {
		gotoAndPlay(4);
	}
	if (_root.health.text == 0) {
		gotoAndPlay(1);
	}
	if (_root.displayTime == 0) {
		gotoAndPlay(1);
	}
};

???

BBS Signature

None

UnknownFury

Reply To Post Reply & Quote

Posted at: 6/20/09 03:52 PM

UnknownFury EVIL LEVEL 26

Sign-Up: 08/10/05

Posts: 6,027

At 6/20/09 03:31 PM, AlmostDead1 wrote: _root.onEnterFrame = function() {
if (_root.score.text == 4) {
gotoAndPlay(4);
}
if (_root.health.text == 0) {
gotoAndPlay(1);
}
if (_root.displayTime == 0) {
gotoAndPlay(1);
}
};

The text in dynamic text boxes is a string; you're comparing it to a number.

if (_root.score.text == "4") {
 		gotoAndPlay(4);
 	}
 	if (_root.health.text == "0") {
		gotoAndPlay(1);
 	}

Portfolio(Under construction): UnknownFury.com |
Msn: giant_ak_47@msn.com | Contact: me@unknownfury.com
Follow me on twitter!


None

AlmostDead1

Reply To Post Reply & Quote

Posted at: 6/20/09 04:02 PM

AlmostDead1 LIGHT LEVEL 11

Sign-Up: 10/19/08

Posts: 738

Okay, I have on the main frame:

stop();
score.text = 0;
health.text = 100;
displayTime = 10;
_root.onEnterFrame = function() {
	displayTime -= 1/60;
	if (_root.score.text == "4") {
		gotoAndPlay(4);
	}
	if (_root.health.text == "0") {
		gotoAndPlay(1);
	}
	if (_root.displayTime.text == "0") {
		gotoAndPlay(1);
	}
};

When score is 4 it will go to frame 4, when health is 0 it will go to frame 1.
But the displayTime doesn't go to frame 1 when it is 0.

I think it is because when displayTime -= 1/60; works out the time, it is make it like 9.99999999999 and not rounding up, how do I make it round up. There is a way but I forget what it goes like?

BBS Signature

None

AlmostDead1

Reply To Post Reply & Quote

Posted at: 6/20/09 04:40 PM

AlmostDead1 LIGHT LEVEL 11

Sign-Up: 10/19/08

Posts: 738

I just realized I don't need a timer if I have got the health.

Latest one

Anything else need changing.

BBS Signature

None

CaiWengi

Reply To Post Reply & Quote

Posted at: 6/20/09 04:44 PM

CaiWengi EVIL LEVEL 07

Sign-Up: 09/17/04

Posts: 1,517

At 6/20/09 04:40 PM, AlmostDead1 wrote: I just realized I don't need a timer if I have got the health.

Latest one

Anything else need changing.

Thats your game? The AI Is boring, and the whole premise of the game is poor. Collecting white dots, really thats it? The driving engine is pretty poor, so to base a whole game around it is a bad idea.

Sig by ApothicFlash <3

BBS Signature

None

AlmostDead1

Reply To Post Reply & Quote

Posted at: 6/20/09 04:47 PM

AlmostDead1 LIGHT LEVEL 11

Sign-Up: 10/19/08

Posts: 738

At 6/20/09 04:44 PM, CaiWengi wrote:
At 6/20/09 04:40 PM, AlmostDead1 wrote: I just realized I don't need a timer if I have got the health.

Latest one

Anything else need changing.
Thats your game? The AI Is boring, and the whole premise of the game is poor. Collecting white dots, really thats it? The driving engine is pretty poor, so to base a whole game around it is a bad idea.

Well right now I am just looking for glitches, and the red balls will probaly be turned into police cars, and the white dots will probaly be money, and maybe increase the size of the maps and put something else in like pedestrians walking that when you hit them there is a nice animation, not sure yet, but as I say just taking care of all the glitches and getting the engine ready.

BBS Signature

All times are Eastern Standard Time (GMT -5) | Current Time: 09:50 PM

<< Back

This topic is 1 page long.

<< < > >>
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!