Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by M_D. 04/26/24 20:22
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (M_D, Quad, Ayumi, AndrewAMD), 810 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
combine a sprite to a terrain skin #423609
06/01/13 21:23
06/01/13 21:23
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
DLively Offline OP
Serious User
DLively  Offline OP
Serious User

Joined: Apr 2005
Posts: 1,988
Canadian, Eh
Im trying to make it so that when a bomb explodes it leaves a black mark on the ground

Is it possible to make it just add the sprite to the terrain skin? this way it will combine to the terrain and i can morph the ground below it


A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com
Re: combine a sprite to a terrain skin [Re: DLively] #423611
06/01/13 21:25
06/01/13 21:25
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Why don't you use 'ent_decal' to place the sprite as a decal? What Ackenex version you use?


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: combine a sprite to a terrain skin [Re: 3run] #423651
06/02/13 17:05
06/02/13 17:05
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
DLively Offline OP
Serious User
DLively  Offline OP
Serious User

Joined: Apr 2005
Posts: 1,988
Canadian, Eh
I found a cheaper solution tongue I am still using A7 (I prefer c-script)


A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com
Re: combine a sprite to a terrain skin [Re: DLively] #423803
06/06/13 03:51
06/06/13 03:51
Joined: Jan 2013
Posts: 17
B
BySharDe2 Offline
Newbie
BySharDe2  Offline
Newbie
B

Joined: Jan 2013
Posts: 17
There is a demo with falling snow and terrain decal.
Try to find it.

Re: combine a sprite to a terrain skin [Re: BySharDe2] #423839
06/06/13 18:26
06/06/13 18:26

M
Malice
Unregistered
Malice
Unregistered
M



@Devon that falling snow demo (weather.c in samples) is were I got the color check code from our other post. So if you can those functions in A7 then you can 'paint' the terrain like the snow.
You could read pixels from a source bmap and the paint them on to the terrain and even do a scaling of the area with a little logic. I'm sure this is not fast. lol

Last edited by Malice; 06/06/13 19:02.

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1