The Dink Network

Reply to Re: New Dmod: Adventurer's Adventure

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
August 5th 2024, 01:04 PM
goblins.gif
drone1400
Peasant He/Him Romania
C# nerd 
>One minor issue I had with WDED was placing sprites near screen edge, if beyond that edge, there's no other screen. It won't do it if your mouse is not in correct position, which is impossible sometimes, due to how mouse behaves when you select the sprite to move it around.

Focus mode should help with that (unless you are on the very edge of the map... was kinda too hard to hack focus mode into working properly on map edges at the moment xD)

>The problem with bomb missing the target is... eh... Problematic. You can detect that something was hit, but you can't detect if it was missed.

Hmm, indeed... I could think of two approaches for this...
1 - set a variable when the bomb hits, and when the bomb spawns, start a script that checks that variable a set amount of time after starting. If the variable is not set, it should mean the bomb has not hit...
2 - you can maybe detect the bomb's X position when it is placed and see if it would hit or not? But that might be tricky to get working right... You'd probably have to find the exact pixel offset or something?

Edit: RobJ would probably have a better idea for this!