Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) 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: 162
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 SP3 / Basic4PPC v6.5
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: 15,733
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
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: 162
Default

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

Gary
__________________
PC: Windows XP Pro SP3 / Basic4PPC v6.5
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 Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
the background and sprite GallyHC Questions (Windows Mobile) 4 06-01-2008 02:21 PM
Sprite (gif) Editor MM2forever Questions (Windows Mobile) 0 04-04-2008 06:16 PM
'sprite' dragging (made progress but have new problems) cpc6128 Questions (Windows Mobile) 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 Announcements 2 01-24-2008 07:38 PM


All times are GMT. The time now is 08:50 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0