The Daily Click ::. Forums ::. Klik Coding Help ::. Need help with Scorched Earth kind of Engine
 

Post Reply  Post Oekaki 
 

Posted By Message

GeckoPy (BigFoot Games)



Registered
  24/04/2004
Points
  16
2nd August, 2004 at 15:15:00 -

Hi, I'm making a remake of the classic game Scorched Earth for my friend who thinks that is the best game ever. For the ones who doesn't know about it, is the game where you are a tank and you have to aim moving the angles of the cannon and the force of the shot. I made all the engine for the game but I have a problem, in Scorched Earth when you shoot to the background, it deform, like the Worm Series. I made that part making lot of active objets that made the background of the game, the problem is that it takes lot of memmory. So if anyone have an idea of how to make that it will be very aprecciated. Thanks in advance

 
n/a

GeckoPy (BigFoot Games)



Registered
  24/04/2004
Points
  16
2nd August, 2004 at 15:20:38 -

To express myself better:
I made the part of the deformable background making lots of littles squares, so when the bullet touch the square, it destroy. So you have the impression of a deformable background. But It takes lots of memory and active objects so I'm asking if anyone knows another way of making this. Thanks

 
n/a

Cazra

Crazy?

Registered
  24/07/2002
Points
  4472

Game of the Week WinnerVIP Member
2nd August, 2004 at 15:53:05 -

You could try this(This will use backdrops instead of memory-wasting active objects):

1)Make a solid colored background( background as in sky ; not platforms )

2) Make a circular object that is the exact same color as the background. Name it "ground blaster" or something like that.(be sure to center your hot spot)

3)Make the event:

>If missile collides with an obstacle backdrop
-create "ground blaster" at 0,0 from the missile
-destroy missil
-paste image of "ground blaster" into background as not an obstacle
-destroy "ground blaster"



Its not the best way to do it, but it works as long as the level has no scrolling.

 
n/a

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
2nd August, 2004 at 16:27:25 -

If you have MMF, the Overlay Redux object is a much more efficient way of doing this, and it allows you to have a patterned backdrop behind it using its Transparency feature.

 
n/a

GeckoPy (BigFoot Games)



Registered
  24/04/2004
Points
  16
2nd August, 2004 at 22:14:21 -

Thanks for the answers guys.
Snerlin: I will try making the way you said, but I think it has one problem, when the bullet touch the transparent object It won't pass throug because of the obstacle background, so the effect won't work. Just will look like a deformable background. Or maybe I'm wrong...
Cris Branch: Can you explain more about the overlay redux object???

 
n/a

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
3rd August, 2004 at 08:17:37 -

It's an object that lets you draw circles, lines, polygons etc. It can be made transparent by drawing pure black, so the background behind it can show through.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click