| We hope you enjoy your visit. You're currently viewing the Ultimate 3D Community as a guest. This means that you can only read posts, but can not create posts or topics by yourself. To be able to post you need to register. Then you can participate in the community active and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you are already a member please log in to your account to access all of our features: |
| Particles isn't showing up!; This is stupid! | |
|---|---|
| Tweet Topic Started: Sep 26 2007, 04:23 PM (297 Views) | |
| Ogeon | Sep 26 2007, 04:23 PM Post #1 |
|
Member
![]() ![]() ![]() ![]()
|
Ok. I want to make some kind of explotion effect with particles and I have tried to make it with different methods and they don't want to show up! I have this code in create event for the particle object:
This one in step event:
And this in destroy event:
So, what's wrong? This is driving me crazy! |
| Do you expect a signature? Forget it! | |
![]() |
|
| Despellanion | Sep 26 2007, 04:46 PM Post #2 |
|
Forum God
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Try putting 0 or nothing for both of the last two parameters in LoadTexture(). |
![]() |
|
| Ogeon | Sep 26 2007, 04:50 PM Post #3 |
|
Member
![]() ![]() ![]() ![]()
|
Empty like a desert. They are still invisible. |
| Do you expect a signature? Forget it! | |
![]() |
|
| MysteriXYZ | Sep 26 2007, 04:56 PM Post #4 |
|
Master Matrix Masher
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Adding SetParticleCount(...) might help ;).
And it's true that these parameters don't really set the in-game size of the texture; they will always be scaled up to the next power of 2, relative to what you pass for them in LoadTexture(...). So in your case, they would be 2x2 if you set both Width & Height to 1. |
| U3D is like candy; after extensive consumption, it's Best to brush. | |
![]() |
|
| Despellanion | Sep 26 2007, 05:01 PM Post #5 |
|
Forum God
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Oh, why didn't I see that
|
![]() |
|
| Ogeon | Sep 26 2007, 05:04 PM Post #6 |
|
Member
![]() ![]() ![]() ![]()
|
HAHA! Now I see! X'D This is kind of funny! I mixed up CreateParticleSystem() and SetParticleCount()! How stupid! |
| Do you expect a signature? Forget it! | |
![]() |
|
| Ogeon | Sep 26 2007, 05:19 PM Post #7 |
|
Member
![]() ![]() ![]() ![]()
|
Ok. Now they are like big squares flying around. have any idea how to scale them down? |
| Do you expect a signature? Forget it! | |
![]() |
|
| MysteriXYZ | Sep 26 2007, 05:24 PM Post #8 |
|
Master Matrix Masher
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Wouldn't passing smaller values to SetParticleSize(...) help? |
| U3D is like candy; after extensive consumption, it's Best to brush. | |
![]() |
|
| Ogeon | Sep 26 2007, 05:27 PM Post #9 |
|
Member
![]() ![]() ![]() ![]()
|
Ok. This was the last question. Now I'm satisfied. ^^ Thank you. Some times, I'm not thinking.
|
| Do you expect a signature? Forget it! | |
![]() |
|
| Ogeon | Sep 26 2007, 05:53 PM Post #10 |
|
Member
![]() ![]() ![]() ![]()
|
Oh.. This is weird! Now I have changed the pixels into smoth dots and at first it's ok, but almost at the end of the explotion they turn into pixels again! I think it's just lag, because it's hapening when the botom bar disappears in fullscreen. |
| Do you expect a signature? Forget it! | |
![]() |
|
| MysteriXYZ | Sep 26 2007, 06:31 PM Post #11 |
|
Master Matrix Masher
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
What do you mean by "bottom bar" ? The Windows task bar?
When I suggested that 1 isn't a power of 2, I wasn't thinking either :lol:! Every number raised to the power 0 equals 1 ^_^. |
| U3D is like candy; after extensive consumption, it's Best to brush. | |
![]() |
|
| Ogeon | Sep 26 2007, 07:08 PM Post #12 |
|
Member
![]() ![]() ![]() ![]()
|
Yes. I forgot the english name. Btw, now I see that It's hapening a little now and then.
I didn't thought about that either.
|
| Do you expect a signature? Forget it! | |
![]() |
|
| « Previous Topic · Questions about Ultimate 3D · Next Topic » |





![]](http://z1.ifrm.com/static/1/pip_r.png)



? The Windows task bar?
2:34 AM Jul 11