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.

Newcomers DBPro Corner / Images and sprites

Author
Message
Andrzejef
12
Years of Service
User Offline
Joined: 26th Dec 2011
Location:
Posted: 12th Sep 2013 20:27 Edited at: 12th Sep 2013 23:56
Hi,
lately I worked on tile-based map, and encountered problem I am not able to solve alone (I am still newbie I believe). When I try to display unit sprites on the map, they dissapear underneath it. I tried Paste Sprite commands, hide and show commands, draw sprites first and nothing!
And here comes my question: is there any (apart from paste sprite, i still need them fully manipulatable) way to draw them over the tilee images?
tyvm,
Andrzejef

EDIT: Nevermind, picked wrong image numbers. Now, how to make sprites static (pinned down to one place and scrolling with it)?
EDIT2: Nevermind, solved itself while rebuilding the code.
Phaelax
DBPro Master
20
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 13th Sep 2013 00:53
Feels better when you solve it yourself doesn't it.

Andrzejef
12
Years of Service
User Offline
Joined: 26th Dec 2011
Location:
Posted: 13th Sep 2013 17:36
Yeah, much better

Login to post a reply

Server time is: 2024-03-29 10:08:23
Your offset time is: 2024-03-29 10:08:23