Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #18  
Old 04-11-2004, 08:11 AM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
Quote:
Originally posted by -Ramirez-

That's irresponsible. You should realize that when you do the calculation and use the appropriate calculations to make it an exact pixel coordinate rather than half. Well, on Graal, that's no big deal to leave it that way, as it's going to use the right coordinate for you regardless, but it's just bad to get in the habit of being lazy.


I never said you were wrong about anything. I was pointing out the fact that you were saying the middle of the player is a half-pixel coordinate.
The players' onwall block is located 16 pixels (1 tile) down, and is 31 (an odd number) pixels deep. This information shows that the middle of the player is, in fact, 30.5 pixels (1.96875 tiles) down from playery. I have no idea what you are trying to argue with me about, since I thought I made it blatantly obvious I don't use that number. actually it appears you are spreading your platform, switching from argueing against the possibility that the middle could be a half pixel, and against using such a calculation in script, tut tut tut
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:52 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.