Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Sprite problems


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-28-2008, 02:32 PM
willisgt's Avatar
Senior Member
 
Join Date: Aug 2007
Location: Nacogdoches, Texas USA
Posts: 154
Default Sprite problems

I've been toying with the new Sprite library (way cool, Erel!) and having a lot of fun with it - but I'm running into two problems.

1.) When my sprite hits the left side of the window, collisionEdge gets raised and gw.Edge contains a value of 4 (southwest, according to the help). I'm expecting gw.Edge to contain a value of 5 (west).

2.) When my sprite hits the edge, I 'pop' it back to the center of the window. This leaves a ghost sprite at the window edge. I've tried setting isActive, the lifetime counter, etc., before and after the move, with no luck. I'm trying to avoid disposing of the sprite and recreating it at the new location.

Ideas?


Gary
__________________
PC: Windows XP Pro SP2 / Basic4PPC v6.3
PPC: HTC 8925 (AT&T Tilt) / Windows Mobile 6
Reply With Quote
  #2 (permalink)  
Old 02-28-2008, 03:46 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,818
Default

These two bugs are now fixed.
You can download the updated library here: http://www.basic4ppc.com/forum/showt...0140#post10140
Reply With Quote
  #3 (permalink)  
Old 02-28-2008, 05:30 PM
willisgt's Avatar
Senior Member
 
Join Date: Aug 2007
Location: Nacogdoches, Texas USA
Posts: 154
Default

Thanks, Erel. I haven't had time to try the new library, but I appreciate the quick response.

Gary
__________________
PC: Windows XP Pro SP2 / Basic4PPC v6.3
PPC: HTC 8925 (AT&T Tilt) / Windows Mobile 6
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sprite (gif) Editor MM2forever Questions & Help Needed 0 04-04-2008 06:16 PM
'sprite' dragging (made progress but have new problems) cpc6128 Questions & Help Needed 5 03-06-2008 12:51 PM
Sprite library - V1.1 Erel Official Updates 0 02-28-2008 03:45 PM
New Sprite library Erel Official Updates 4 02-22-2008 03:00 PM
New Sprite library Erel Announcements 2 01-24-2008 07:38 PM


All times are GMT. The time now is 01:08 PM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0