Gamestudio Links
Zorro Links
Newest Posts
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
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
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, Ayumi, howardR), 505 guests, and 2 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
Page 2 of 3 1 2 3
Re: Any way to move a sprite placed with ent_decal ? [Re: rayp] #437199
02/11/14 22:02
02/11/14 22:02
Joined: Jul 2008
Posts: 2,107
Germany
rayp Offline OP

X
rayp  Offline OP

X

Joined: Jul 2008
Posts: 2,107
Germany
Faced another problem maybe a bug. I read in manual that the first decal is removed and a new is set if particles > max_particles. I set max_particles to 10. But only 10 decals are created, then it stops creating. Why? Manual says it removes the first placed decal then.

Can somebody explain this to me ?


Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;
Re: Any way to move a sprite placed with ent_decal ? [Re: rayp] #437200
02/12/14 05:07
02/12/14 05:07
Joined: Oct 2004
Posts: 900
Lgh
rojart Offline
User
rojart  Offline
User

Joined: Oct 2004
Posts: 900
Lgh
Hi, some time ago i coded Animated decals, if you are interested just pm me.

Click on picture to see the video:



Regards, Robert

Quote
Everything should be made as simple as possible, but not one bit simpler.
by Albert Einstein

PhysX Preview of Cloth, Fluid and Soft Body

A8.47.1P
Re: Any way to move a sprite placed with ent_decal ? [Re: rojart] #437201
02/12/14 07:22
02/12/14 07:22
Joined: Dec 2003
Posts: 1,225
germany
gri Offline
Serious User
gri  Offline
Serious User

Joined: Dec 2003
Posts: 1,225
germany
hi rojart,

it works like the solution above with removing old decal and create a new one ?

If you move an existing decal, so I would interested on your code too.


"Make a great game or kill it early" (Bruce Shelley, Ensemble Studios)
Re: Any way to move a sprite placed with ent_decal ? [Re: gri] #437212
02/12/14 09:47
02/12/14 09:47
Joined: Oct 2004
Posts: 900
Lgh
rojart Offline
User
rojart  Offline
User

Joined: Oct 2004
Posts: 900
Lgh
Second solution, i'll make a contribution about Animated Decals, but a bit later.


Regards, Robert

Quote
Everything should be made as simple as possible, but not one bit simpler.
by Albert Einstein

PhysX Preview of Cloth, Fluid and Soft Body

A8.47.1P
Re: Any way to move a sprite placed with ent_decal ? [Re: rojart] #437214
02/12/14 10:17
02/12/14 10:17
Joined: Dec 2003
Posts: 1,225
germany
gri Offline
Serious User
gri  Offline
Serious User

Joined: Dec 2003
Posts: 1,225
germany
hey ho.... that would be nice !


"Make a great game or kill it early" (Bruce Shelley, Ensemble Studios)
Re: Any way to move a sprite placed with ent_decal ? [Re: gri] #437227
02/12/14 13:12
02/12/14 13:12
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
yeah!


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: Any way to move a sprite placed with ent_decal ? [Re: sivan] #437247
02/12/14 22:30
02/12/14 22:30
Joined: Jul 2008
Posts: 2,107
Germany
rayp Offline OP

X
rayp  Offline OP

X

Joined: Jul 2008
Posts: 2,107
Germany
Ahhh this is community.

@rojart
Great. Iam looking forward to the contribution. Would be nice to see it soon so i dont write a pm. idlemode. ^^

Thanks alot!


Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;
Re: Any way to move a sprite placed with ent_decal ? [Re: rayp] #437248
02/12/14 23:00
02/12/14 23:00
Joined: Oct 2004
Posts: 900
Lgh
rojart Offline
User
rojart  Offline
User

Joined: Oct 2004
Posts: 900
Lgh
Originally Posted By: gri
hi rojart,

it works like the solution above with removing old decal and create a new one ?


@gri, if you meant eg. me.lifespan = 0.001; i overlooked this in my code and will be first solution, sorry.

@sivan, smile

@rayp, sorry but it's going to take a little bit longer, thanks for your interest.


Regards, Robert

Quote
Everything should be made as simple as possible, but not one bit simpler.
by Albert Einstein

PhysX Preview of Cloth, Fluid and Soft Body

A8.47.1P
Re: Any way to move a sprite placed with ent_decal ? [Re: rojart] #437310
02/14/14 01:13
02/14/14 01:13
Joined: Jul 2008
Posts: 2,107
Germany
rayp Offline OP

X
rayp  Offline OP

X

Joined: Jul 2008
Posts: 2,107
Germany
Thanks alot. But i hoped ( like gri did ) there would be another way to "move" decals. Anyway great example to learn from when its up to decals.
If that was a bit longer i wonder how fast you are grin

Here's the contribution for all who want to know:
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=437309#Post437309

Greets

Edit: Anyway. Whats with that max_particle thing ( my first post on this page ). Still asking myself why this doesnt work.


Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;
Re: Any way to move a sprite placed with ent_decal ? [Re: rayp] #437394
02/15/14 14:36
02/15/14 14:36
Joined: Oct 2004
Posts: 900
Lgh
rojart Offline
User
rojart  Offline
User

Joined: Oct 2004
Posts: 900
Lgh
Originally Posted By: rayp
...
If that was a bit longer i wonder how fast you are grin
...

It was figuratively, you know work, family, gamble with my son Minecraft and a bit spare time for my best A8 hobby that i've. wink


Regards, Robert

Quote
Everything should be made as simple as possible, but not one bit simpler.
by Albert Einstein

PhysX Preview of Cloth, Fluid and Soft Body

A8.47.1P
Page 2 of 3 1 2 3

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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