(Request) Windmill sails rotating

Description: Internal scripting system of SMBX-38A Engine based on the simple VB-like language
Moderators: Lx Xzit, Yoshi021, 5438A38A, Semi-moderatos, Moderators

Mushroom King
Topic author, Marquis
Marquis
Mushroom King
Topic author, Marquis
Marquis
Reputation: 35
Posts: 160
Joined: 31 Dec 2015

Post #1by Mushroom King » 25 Feb 2017, 17:01

I need to rotate a graphic for a windmill. Any script to make it possible? Thanks.

Yoshi021 M
Moderator
Moderator
Avatar
Yoshi021 M
Moderator
Moderator
Age: 22
Reputation: 170
Posts: 693
Joined: 15 Feb 2016
Location: Yoshi's Island

Post #2by Yoshi021 » 25 Feb 2017, 18:10

You can make a bitmap and use rotang: rotatang (Double) stands for the the rotation angle of the bitmap
Bitmap(id).rotatang = number
Links
ImageImageImage
Image
Image
"Going to University is FUN!" :pardon:

Mushroom King
Topic author, Marquis
Marquis
Mushroom King
Topic author, Marquis
Marquis
Reputation: 35
Posts: 160
Joined: 31 Dec 2015

Post #3by Mushroom King » 25 Feb 2017, 21:28

Actually I made the graphic for the sails replacing a npc made friendly, npc-340 so I wouild need a script working for rotate a npc graphic in png format.


Return to “TeaScript”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest