|
TheKhakinator
|
 |
« on: April 29, 2006, 04:47:35 AM » |
|
I was looking at mono, and could not figure out how the bursts on the screen (when you destroy a blob) are generated. I checked out the media, but couldn't find a sprite. How does this work?
|
|
|
|
|
Logged
|
|
|
|
|
fog
|
 |
« Reply #1 on: April 29, 2006, 11:10:50 AM » |
|
Hi TheKhakinator and welcome  I assume you are talking about the coloured circles that make up the background and not the little particles generated from the explosions? Well the background is one large image and the blobs are simply draw onto that image as opposed to being seperate sprites which would be too slow. The colour of each pixel being calculated based on its distance from the centre of the explosion.
|
|
|
|
|
Logged
|
|
|
|
|
Geti
|
 |
« Reply #2 on: April 29, 2006, 10:39:36 PM » |
|
woah, thats a great idea, especially as i couldnt think of why it would work on my crappy laptop if it had to load like 1000 sprites  nice touch...
|
|
|
|
|
Logged
|
|
|
|
|
dadrew1
|
 |
« Reply #3 on: April 29, 2006, 11:30:36 PM » |
|
Ah, the wonders of mathematics :-)
|
|
|
|
|
Logged
|
I didn't know what to write here, so I thought I might fill up the space uselessly, to give you something to read. I know this is a blatant waste of bits and bytes, but if you would be so kind, don't hate me for it. I only sit here and type because I am bored. And you are too, my friendly reader.
|
|
|
|
TheKhakinator
|
 |
« Reply #4 on: April 30, 2006, 01:17:28 AM » |
|
Wow... that had me confused for a while... great idea!
|
|
|
|
|
Logged
|
|
|
|
|
fog
|
 |
« Reply #5 on: April 30, 2006, 11:54:16 AM » |
|
Yeah well I do all my work on a crappy PC so using thousands of sprites isn't an option  And essentially that's what coding is.....finding matematical or logical solutions to a series of problems.
|
|
|
|
|
Logged
|
|
|
|
|
Prime_8
|
 |
« Reply #6 on: May 01, 2006, 11:55:34 PM » |
|
hhe coding on crappy PC's maeks sure stuff runs for most  mono is addictive and should not be used without great care ! 
|
|
|
|
|
Logged
|
|
|
|
|
SiN
|
 |
« Reply #7 on: May 02, 2006, 01:11:37 AM » |
|
Prime8, welcome! Soon we'll have the whole RGT board on here!  Mo
|
|
|
|
|
Logged
|
|
|
|
|
EricT
|
 |
« Reply #8 on: May 02, 2006, 01:22:54 AM » |
|
pfft, people from RGT are teh n00bl3ts... 
|
|
|
|
|
Logged
|
My Achievements Earned:
Sit on my ass and do nothing for 2 hours - CHECK Stare at a computer screen for more than an hour - CHECK Ignore those around me for more than 10 hours - CHECK Kill 2 hookers - 1 To Go
|
|
|
|
fog
|
 |
« Reply #9 on: May 02, 2006, 11:19:08 AM » |
|
Prime8, welcome! Soon we'll have the whole RGT board on here!  Not everyone. We don't want the likes of Eri.....oh wait 
|
|
|
|
|
Logged
|
|
|
|
|
Prime_8
|
 |
« Reply #10 on: May 04, 2006, 06:48:58 AM » |
|
Ah i been here for a while .. lurking .. like fog dose on my forum ..LOL
cept fog is a mod on my forum just incase he sees somthing real nasty before i do .. :: end off topic
|
|
|
|
|
Logged
|
|
|
|
|
fog
|
 |
« Reply #11 on: May 04, 2006, 11:31:50 AM » |
|
Ah i been here for a while .. lurking .. like fog dose on my forum ..LOL
lol. Yeah I've been gripped by the continuing story of the whole corrupted MySQL database saga 
|
|
|
|
|
Logged
|
|
|
|
|
Prime_8
|
 |
« Reply #12 on: May 05, 2006, 01:17:11 AM » |
|
well with all teh hacking my friends counter strike servers and forums are hetting by that turkish freak ..
i thought i got hacked..
turns out just a mod made to smf had a bug in it .. teh created a garbage line in the manage permissions .php
-- hmm reminds me i should tell josh .. he using SMF too .
It's al lin th eorder you apply tour mods.. lol ll
so yah i then tried to fix my forum and poof i f"d up and lost the post data and accidentaly overwrote my backup with the new buggerd copy .
well i learned somthing ..LOL :: end off topic.
|
|
|
|
|
Logged
|
|
|
|
|
fog
|
 |
« Reply #13 on: May 05, 2006, 11:27:42 AM » |
|
so yah i then tried to fix my forum and poof i f"d up and lost the post data and accidentaly overwrote my backup with the new buggerd copy .
lol. sounds like the sort of thing I would do......and that's why I passed all website duties over to las6.....so I have someone else to blame 
|
|
|
|
|
Logged
|
|
|
|
|