![]() |
updateboard question
Okay, so I am working on a shovel. I am trying to make it place tiles in the level where I dig. I wan't them to wait so long then disappear. The problem is that they only seem to disappear if I replace the tiles for blank grass 2047 I think it is. If I place my tiles over any other tile they do not automatically disappear. Is there any trick to making the tiles revert after a set amount of time? I was thinking I could just re-replace the tiles but then it gets mad ugly when the player leaves the level because then your not in the same level and they don't end up getting reverted back ect.
PHP Code:
|
hello!
you should consider dropping a dirt npc on serverside instead, that way it can be made to either fade or transition out rather than disappear at once, plus there are ways to create the illusion of no lag if you make the player do a showani()/showimg() on clientside when triggering to serverside, then have that display disappear as soon as the npc they are the placer of appears on their client. dirtholes can then be checked for using findareanpcs(); which if it contains other non dirthole npcs you will probably want to trigger an event such as 'onDig' on them anyway |
Quote:
|
Well the dirt hole would be draw-under-player?
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
But you really shouldnt have to draw the item
Under the player, that would just be weird. |
Create a new gani and add a param for the dirt image and one for the item icon.
|
Quote:
|
Quote:
Dirt hole => under player Object => same layer as player ? |
Quote:
|
Quote:
|
Quote:
|
All times are GMT +2. The time now is 09:57 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.