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.

DarkBASIC Professional Discussion / May I ask a little help?

Author
Message
MaskarenzzO
15
Years of Service
User Offline
Joined: 9th Jan 2011
Location: Brazil
Posted: 9th Jan 2011 07:52
Ok, first sorry for my question about images and bitmaps, but I'm looking around the forum and found nothing useful in this case.
I trying to make a sprite explosion, but I can not use an animated sprite because the sprite has to be literally blown up, I tried some things but nothing works, simply because there aren't any image/bitmaps scale commands, anyone have any idea or any other alternative to end my pain?

i tried:
1: copy parts of image and to save as separated image files to load again later...
2: paste a resized sprite to screen and capture a image resized...

i dont know how i can do that
appreciate any help...

here's a piece of my code:



The life is short, burry... steady sword!
CumQuaT
AGK Master
16
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 9th Jan 2011 14:50
One thing you could try is to - when the image needs to blow up - use the POINT command or the GET IMAGE command to grab individual bits of your image, turn each bit into a sprite and use various commands such as MOVE SPRITE, ROTATE SPRITE, SCALE SPRITE, etc, to move those parts in various random fashion to make them look like they're exploding, then, once they're done, delete the sprites using the DELETE SPRITE command.

Malevolence: The Sword of Ahkranox
The infinite RPG
http://swordofahkranox.blogspot.com
Sven B
21
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 9th Jan 2011 17:48
Well, sounds to me like Image Kit would be useful to you. Man I'm really starting to sound like on of those salesmen again (don't worry, it's free)...

Sven B

Login to post a reply

Server time is: 2026-07-21 20:36:15
Your offset time is: 2026-07-21 20:36:15