This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Checking Sprite Location


Checking Sprite Location

Postby sponge » Oct 30, 2004 @ 10:20pm

holy internets batman.
User avatar
sponge
Not sponge
 
Posts: 12779
Joined: Jan 13, 2002 @ 8:04am
Location: New Hampshire


Postby kornalius » Oct 31, 2004 @ 12:23am

Hi Sponge,

1. Use SpriteX(sprite$) - OriginX and SpriteY(sprite$) - OriginY. This will give you the real position ON SCREEN of the sprite.

You can alternatively use SetSpriteFixed(sprite$, true). The sprite will always be on screen and the SpriteX and SpriteY will be real on screen values not altered by the OriginX and OriginY.

2. Flipping sprites... Mmm, I will check if it's possible. It would serve you well for the sprites animations hein? :)

3. PF is kinda strange on the desktop. The next version will apparently allow real desktop fullscreen and different resolutions. At this point there is not much I can do but I will give a look at the PF forums to see if it's feasible.
Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Postby sponge » Oct 31, 2004 @ 4:15am

holy internets batman.
User avatar
sponge
Not sponge
 
Posts: 12779
Joined: Jan 13, 2002 @ 8:04am
Location: New Hampshire


Postby kornalius » Oct 31, 2004 @ 2:05pm

Regards,
Kornalius
President
ArianeSoft Inc.
http://www.arianesoft.ca
User avatar
kornalius
pm Member
 
Posts: 1704
Joined: Dec 9, 2003 @ 6:04pm
Location: Montreal, Québec, Canada


Return to Pocket Programming Language (PPL)


Sort


Forum Description

Discuss this new development tool.

Moderator:

kornalius

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron