The Daily Click ::. Forums ::. Klik Coding Help ::. Small problem actually 2
 

Post Reply  Post Oekaki 
 

Posted By Message

Sagal



Registered
  17/10/2007
Points
  36
4th May, 2008 at 10:20:28 -

First this game involves lot of alien blood but i cant get it under character ive tried changing order etc.
And i have problems with blood is there any good tutos where is show how to make good looking blood so the FPS doesnt drop too much. Atm i can have like 2.5k objects on screen because of blood effects. but im pretty sure i can get it under 500 but its hard as ive thought of hundreds of enemies comin for you in this game.

 
n/a

lembi2001



Registered
  01/04/2005
Points
  608

VIP MemberIt's-a me, Mario!Wii OwnerI like Aliens!Has Donated, Thank You!PS3 OwnerI am an April Fool
4th May, 2008 at 10:22:08 -

What is the code which creates your blood? this may have some bearing on what is on the top.

 
n/a

-MacAdaM-

Megaman Fosho

Registered
  12/02/2008
Points
  560
4th May, 2008 at 10:25:13 -

for the blood, couldnt you just do something like:
-Always
+Bring to back

 
Your just jealous that you're not as awesome as me.
(And my megaman avatar )

MJK

Possibly Insane

Registered
  22/03/2006
Points
  3592

Game Of The Week Cup 1Game Of The Week Cup 2Game Of The Week Cup 3Game Of The Week Cup 4Game Of The Week Cup 5Game Of The Week Cup 6
4th May, 2008 at 10:53:59 -

Do you need the blood objects to be active? If not, then paste them to the background and destroy immediately after creating.

 
n/a

-MacAdaM-

Megaman Fosho

Registered
  12/02/2008
Points
  560
4th May, 2008 at 15:15:52 -


MacAdaM + 20
JonWOG - 20

Image Edited by the Author.

 
Your just jealous that you're not as awesome as me.
(And my megaman avatar )

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
4th May, 2008 at 15:39:05 -

Anything newly created always starts at the front if i recall. I guess making the player move to the front or the blood to the back when they're overlapping would work.

 
.

Rick (AntiMatter Entertainment)

Possible psychotic

Registered
  18/10/2002
Points
  814

VIP Member360 OwnerWii Owner
4th May, 2008 at 22:29:32 -

Unless your blood is animated (or transparent), do the paste into background method. That way you can have as much on screen as you like and it won't take up your active object limit or slow the game down.

 

Sagal



Registered
  17/10/2007
Points
  36
5th May, 2008 at 06:20:04 -

Okay i try that paste to background. My blood goes like this:
bullet hits enemy create blood splatter1 at the pos of enemy. (bloodsplatter is what stays)
bullet hits enemy create blood splatter2 at the pos of enemy. (this blood splatter has movement so when you shoot the enemy it does nice effect. and i got like 4-6 of these movin event on 1 enemy but i decided these to fade out and destroy so you wont get 2k active objects.

 
n/a

Sagal



Registered
  17/10/2007
Points
  36
5th May, 2008 at 09:18:08 -

Now i got that blood fixed but theres now new problem my AI which is simple because of only bugs it goes like this:
Smell range which is 800x800 square.
Smell moves with my character and when bug enters taht square it should move towards me and then try to eat well first harm enough but then. Now i got 100-200 bugs on my level and im planning to add 1000 as the level is 5000x5000 but the AI doesnt work as it should sometimes they follow and sometimes not. I have used alterable values so when they enter alte goes to 1 and when alte is 1 bug moves toward me. So there shouldnt be "lead" bug. Any suggestions?

 
n/a

Rick (AntiMatter Entertainment)

Possible psychotic

Registered
  18/10/2002
Points
  814

VIP Member360 OwnerWii Owner
8th December, 2009 at 20:43:54 -

I'd say you've forgotten to add in the 'Pick one of' condition. Try adding in "Pick one of 'Bug'" at the top of your 'smell detection' event and it should work, what is most likely happening is the game's only allocating the smell range to the first enemy that it 'detects', or loads into the game.

[EDIT] ZOMG, bump of the century. I'm sorry, I found this thread through the 'last posted in' field and I tend to overlook the fact that I haven't been an active member here for years. Next time I'll check the date of the last post first.

Edited by Rick (AntiMatter Entertainment)

 
   

Post Reply



 



Advertisement

Worth A Click