Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Particle Collision

Author
Message
Paronamixxe
AGK Bronze Backer
12
Years of Service
User Offline
Joined: 10th Feb 2012
Location: Sweden
Posted: 7th Apr 2012 23:53 Edited at: 25th Nov 2016 19:38
---
cheers
polomint
12
Years of Service
User Offline
Joined: 3rd Apr 2012
Location: Lancashire, United Kingdom
Posted: 8th Apr 2012 10:42
I've never thought about using an emitter for emitting lots of sprites to avoid... Good idea though, it would come in handy for a few ideas I had a while back, I'll have to have a look through the docs,

Blackberry App Development & ZX Spectrum Game Development.
Paronamixxe
AGK Bronze Backer
12
Years of Service
User Offline
Joined: 10th Feb 2012
Location: Sweden
Posted: 8th Apr 2012 12:23 Edited at: 25th Nov 2016 19:40
---
cheers
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 8th Apr 2012 17:11
There are no particle collision commands right now.

You must write your own particle system using sprites for that.

A couple of users have already mentioned that they have their own particle system. Maybe someone will make it public soon
Paronamixxe
AGK Bronze Backer
12
Years of Service
User Offline
Joined: 10th Feb 2012
Location: Sweden
Posted: 9th Apr 2012 23:31
Ok, you heard the man! If have any code that could help me out please share. I am very new to this language so I am grateful to all and any help that I get

//Anton
Kobaltic
12
Years of Service
User Offline
Joined: 24th Jan 2012
Location: PA, USA
Posted: 10th Apr 2012 06:56
You could setup an array to generate the sprites, collision and add random movement. If you want them destroyed set up a timer and then just use the delete sprite command.

This is my code for an array. You can use a fixed sprite position or you can set x# and Y# to a random number generator.

Paronamixxe
AGK Bronze Backer
12
Years of Service
User Offline
Joined: 10th Feb 2012
Location: Sweden
Posted: 10th Apr 2012 08:49
Thanks mate!! Thats exatcly what I wanted, now all I have to do is add some movement, collision and random values! Which I will do now, thanks for the help all!

//Anton
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 10th Apr 2012 10:11
Baxslash should have something good
Paronamixxe
AGK Bronze Backer
12
Years of Service
User Offline
Joined: 10th Feb 2012
Location: Sweden
Posted: 10th Apr 2012 16:49
Its ok, Kobaltic's code is great! but thanks anyway.

//Anton
Kobaltic
12
Years of Service
User Offline
Joined: 24th Jan 2012
Location: PA, USA
Posted: 10th Apr 2012 18:45
Well it is a start anyway. Someone else may have more.
Paronamixxe
AGK Bronze Backer
12
Years of Service
User Offline
Joined: 10th Feb 2012
Location: Sweden
Posted: 10th Apr 2012 19:18
Yeah, but I will add the rest myself, this will work fine

//Anton

Login to post a reply

Server time is: 2024-05-08 22:35:41
Your offset time is: 2024-05-08 22:35:41