Erasing, not destroying on actors (need help)

You must understand the Game Editor concepts, before post here.

Erasing, not destroying on actors (need help)

Postby speckford123 » Wed Jun 21, 2006 1:51 pm

On a collision event i want to erase parts of an animation without destroying it, is this possible? cause making thousands of copies doesn't sound fun.....
speckford123
 
Posts: 334
Joined: Fri May 05, 2006 6:33 pm
Score: 49 Give a positive score

Postby makslane » Wed Jun 21, 2006 2:52 pm

No, sorry
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby Fuzzy » Wed Jun 21, 2006 3:34 pm

Give me some more details; I might be able to think of a work around.
Mortal Enemy of IF....THEN(and Inspector Gadget)

Still ThreeFingerPete to tekdino
User avatar
Fuzzy
 
Posts: 1068
Joined: Thu Mar 03, 2005 9:32 am
Location: Plymostic Programmer
Score: 95 Give a positive score

Postby speckford123 » Tue Jun 27, 2006 11:01 pm

ThreeFingerPete wrote:Give me some more details; I might be able to think of a work around.


i mean when colliding it erases only a part and keeps it alive, etc.
speckford123
 
Posts: 334
Joined: Fri May 05, 2006 6:33 pm
Score: 49 Give a positive score

Postby DilloDude » Wed Jun 28, 2006 10:17 pm

So like something such as Worms, where you can blow holes in the ground?
I have thought of this, too. I figure there are only two ways
  • Have a couple million individual actors that get destroyed (don't try this, your computer will probably crash)
  • use a canvas to draw scenery, then draw transparency over parts of it.
The two main problems are:
  • Making something to draw a level on the canvas, so you have a good looking level (perhaps a draw_canvas_from_bitmap feature would be useful).
  • Getting script tw erase sections the right shape and size that you want.
Image
User avatar
DilloDude
 
Posts: 866
Joined: Tue Jan 24, 2006 9:51 am
Location: Nyerellion
Score: 58 Give a positive score

Postby Fuzzy » Wed Jun 28, 2006 10:24 pm

Diggable ground is possible, and pretty simple in execution, as computers have been doing this since 8086 days. It is possible in GE, but you are going to have to do your own collision detection routines.
Mortal Enemy of IF....THEN(and Inspector Gadget)

Still ThreeFingerPete to tekdino
User avatar
Fuzzy
 
Posts: 1068
Joined: Thu Mar 03, 2005 9:32 am
Location: Plymostic Programmer
Score: 95 Give a positive score


Return to Advanced Topics

Who is online

Users browsing this forum: No registered users and 1 guest

cron