Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Sprites in Turing 4.0.5!!!
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
DemiBlitz




PostPosted: Sun Nov 20, 2005 1:42 pm   Post subject: Sprites in Turing 4.0.5!!!

Yes that is right, I have version 4.0.5 of turing which allows you to use the Sprite commands, anyway...
I need some help figuring these commands out, this is what I have so far...

code:
%No Comments on Test Program.
setscreen ("graphics:800;600")

var BackGround : int
var BGSprite : int

BackGround := Pic.FileNew ("x800600grass.bmp")

BGSprite := Sprite.New (BackGround)

Sprite.SetHeight (BGSprite, 1)
Sprite.SetPosition (BGSprite, 0, 0, true)

Sprite.Show (BGSprite)



Am I missing somthing?
Sponsor
Sponsor
Sponsor
sponsor
ZeroPaladn




PostPosted: Mon Nov 21, 2005 10:02 am   Post subject: (No subject)

have you tried checking the help file (just hit F9 and type in sprite). I personnaly dont understand this new "sprite" stuff myself. I'd rather jsut stick with the Pic module.
Tony




PostPosted: Mon Nov 21, 2005 10:38 am   Post subject: (No subject)

I think HoltSoft broke Sprites in 4.0.x

There was a way to repair/write your own module. Something along the lines of DanSprite, though it appears to be missing since we changed servers. You could PM Dan about that.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
DemiBlitz




PostPosted: Mon Nov 21, 2005 2:48 pm   Post subject: (No subject)

Nevermind, I figured this out, Though it says the sprite commands are active, they are gay and don't work lol, back to 3.1.1 I go!
Dan




PostPosted: Mon Nov 21, 2005 5:18 pm   Post subject: (No subject)

Sigh, DanSprites, i am glad it dispared.

Any how you do not need sprites in turing 4.x. insted you can uses view update and double buffering techneaks to do it in a much better way. This is alot more like how it whould be done in real life progaming.

I blive there are some tuturals posted about how to do it this way.
Computer Science Canada Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!
codemage




PostPosted: Tue Nov 22, 2005 8:26 am   Post subject: (No subject)

You can use the BSprite module, which isn't too far off the old DanSprite.

http://www.compsci.ca/v2/viewtopic.php?t=8108&highlight=bsprite
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 6 Posts ]
Jump to:   


Style:  
Search: