Dad72 Posted February 17, 2014 Share Posted February 17, 2014 Hello, Would it be possible to have the opportunity to choose with 'Pick()' a Sprite. I would like to be able to delete with dispose() a sprite by clicking it.Kind: pickinfo.PickedSprite would be great.That is all that is missing to the sprites. It also allows to check the gold of a pick if it was click on the ground or on a sprite with pickinfo.PickedSprite.name or of delete with pickinfo.PickedSprite.dispose() And aslo : Sprite[x].isVisibleThank You Deltakosh Quote Link to comment Share on other sites More sharing options...
Dad72 Posted February 19, 2014 Author Share Posted February 19, 2014 What do you think Deltakosh. Is this possible to have its additional features in the Sprites? Please. It is really important for my project that I intend to circulate freely in the future. Quote Link to comment Share on other sites More sharing options...
Dad72 Posted February 20, 2014 Author Share Posted February 20, 2014 Good, i am solving this topic, I have no more need of sprites. Quote Link to comment Share on other sites More sharing options...
Feldspar Posted March 19, 2014 Share Posted March 19, 2014 I am currently working on sprite picking, i'll give you a heads up when I have something for you. Cheers Quote Link to comment Share on other sites More sharing options...
Dad72 Posted March 19, 2014 Author Share Posted March 19, 2014 This is cool. Thank you. You can also propose for adding to Babylon. Quote Link to comment Share on other sites More sharing options...
Dad72 Posted April 14, 2014 Author Share Posted April 14, 2014 I am currently working on sprite picking, i'll give you a heads up when I have something for you. Cheers I was just at the new, concerning your proposal. Quote Link to comment Share on other sites More sharing options...
Feldspar Posted April 15, 2014 Share Posted April 15, 2014 Concerning sprite picking, what I did - awaiting for a better solution - is creating a simple invisible plane which always face towards the camera, and which size and position match the sprite's one. Then I just use this invisible plane for picking the collision with the sprite. It's kinda ugly but it works very well Quote Link to comment Share on other sites More sharing options...
bruyata Posted May 5, 2015 Share Posted May 5, 2015 I'm very interested of picking sprite! I can't use the solution of Feldspar regarding the number of sprite that I have (5000-6000). I can help you in this task if needed. Feel free to ask! Quote Link to comment Share on other sites More sharing options...
Dad72 Posted May 15, 2015 Author Share Posted May 15, 2015 Up. Is something possible? My editor can create sprites, but you can not move the gizmo because it can not retrieve the piskResult on sprites. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted May 15, 2015 Share Posted May 15, 2015 This is not for 2.1 as far as I'm concerned Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.