≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
sprite sheet
Posted by:
(you are not logged in)
Enter the missing letter in: "Int?rnational"
(you are not logged in)
Text:
[quote][b]Robo[/b] wrote: Very cool 'samgrady' - thanks for that. I haven't had much time for shaders of late - it worked ! Step 1 - I just created some global variables on first load: var partX = 0; var partY = 0; var maxX = 4; // horizontal images var maxY = 4; // vertical images Step 2 - then just ran this little bit of code every 100ms: if (partX == maxX) { partX = 0; partY += 1; if (partY == maxY) {partY = 0; }} shader(maxX, maxY, partX, partY); partX += 1; and badda boom !! - she's a goer !! I also just changed line 42 from 0 to 13 for transparent... Cheers ![/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact