Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / sprite cut in half error

Author
Message
SAAB Driver
20
Years of Service
User Offline
Joined: 1st Nov 2005
Location:
Posted: 14th Aug 2009 20:38 Edited at: 14th Aug 2009 20:39
I bought the Bengies sprite pack for use in Dbpro. In the 3d_examplecode thats located in the spritefolder (for us with Dbpro) the script is using 3 diffrent sprites.



since i only use one sprite in my game i erased this part


Once i run the code in my game sprite looks like this (picture), it do play the way i should but it kind of look splitet in half. Why? something wrong with the vertexdata?

Greatful for all help

Hello!
Dream And Death
20
Years of Service
User Offline
Joined: 21st Feb 2006
Location: The circus! Juggling job, kids and DBPro
Posted: 15th Aug 2009 10:52
Quote: "SetTextureFrame( 1, iObjectFrame, 4, 4 )
"


Does your sprite have 4 frames across and 4 frames down?

"You get what everyone gets, you get a lifetime!" - Death, The Sandman Library

First you Dream, then you ... - Neil Gaiman, 2001

Login to post a reply

Server time is: 2026-07-20 16:52:57
Your offset time is: 2026-07-20 16:52:57