Sprite Solid?
Hi, I wanted to know if it is possible to make the created sprite remain solid, and can make other players touch it?
PHP Code:
|
Re: Sprite Solid?
create_entity("info_target")
:arrow: create_entity("env_sprite") Then add entity_set_int(amaterasu, EV_INT_rendermode, kRenderTransTexture); entity_set_float(amaterasu, EV_FL_renderamt, 255.0); |
Re: Sprite Solid?
First thanks again for the help and guidance
i try this, but the black background was still PHP Code:
PHP Code:
https://i.pinimg.com/564x/18/2f/dd/1...f93de29b0c.jpg |
Re: Sprite Solid?
well i found the solution find the solution to achieve the animation:
PHP Code:
|
Re: Sprite Solid?
Using engine entity_set_float(amaterasu, EV_FL_scale, 2.0); // 2.0 is double the sprite size.
|
Re: Sprite Solid?
Thanks!
but i have another question, I realized that the green flame is not generated on the floor, as if the blue one does, how can I solve this? i try drop_to_floor(amaterasu) but it didn't do anything, and i guess it's not the solution either |
Re: Sprite Solid?
make the entity MOVETYPE_TOSS then use the function drop_to_floor
|
Re: Sprite Solid?
thanks but it didn't work either, but i realized i could do this:
PHP Code:
PHP Code:
|
Re: Sprite Solid?
You're very welcome.
You probably need to change the entity move type after you spawn the entity with DLLFunc_Spawn |
| All times are GMT -4. The time now is 11:35. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.