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.

Code Snippets / place bullet holes onto images

Author
Message
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 27th May 2004 11:07
Not sure if this will be useful to anyone or not. Click anywhere on the screen. The mouse coordinates are translated to the texture image size, and then a bullet hole image is applied to the texture image of the plains.
sorry for the sloppy, disorganized code. its just one of many image memblock things i've been playing with during the night.



and here's the images used:
http://www.dannywartnaby.co.uk/rgt/attachments/images12321.zip

"eureka" - Archimedes
aks74u
20
Years of Service
User Offline
Joined: 2nd Jun 2004
Location: arizona
Posted: 14th Jun 2004 08:32
very cool dude
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 18th Jun 2004 20:03
Quote: "just one of many image memblock things i've been playing with during the night."


Doesn't sound too good :p

Two strings walk into a bar. I'll have a pint says the first$%ASLDJ09920D"$"$D. Excuse my friend says the second, he isn't null terminated.
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 19th Jun 2004 01:00
Why's that? I don't sleep nights, so I may as well do something.

"eureka" - Archimedes
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 20th Jun 2004 18:22
Okay - I just had this vision of coding during the early hours of the morning, desperate to get a memblock thing working

Two strings walk into a bar. I'll have a pint says the first$%ASLDJ09920D"$"$D. Excuse my friend says the second, he isn't null terminated.
Guhill The friendly one
20
Years of Service
User Offline
Joined: 12th Jun 2004
Location: The fourth demension
Posted: 20th Jun 2004 19:43
Quote: "sorry for the sloppy, disorganized code."


Don't beat yourself up. My code looks like hell. As long as the program functions correctly. Besides, if your code is sloppy, it makes people who want to manipulate your program get confused and it's harder for them to steal your idea.

I know now, without a doubt, that Kingdom Hearts... IS LIGHT (Sora)
CPU
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Carlsbad, CA
Posted: 26th Jun 2004 23:58
but you see i've found that when that happens you tend to lose yourself rather than your rivels.

CPU

Sparring - Loved by many, Pefected by few.

I'm going to live forever, or DIE IN THE ATTEMPT!!!"
jwurmz
21
Years of Service
User Offline
Joined: 6th Oct 2003
Location: Arizona, USA
Posted: 27th Jun 2004 08:01
nice job phaelax, kugw

"Creativity is knowing how to hide your sources" - Einstein

Login to post a reply

Server time is: 2024-11-23 19:23:25
Your offset time is: 2024-11-23 19:23:25