![]() |
![]() |
#1 |
gone
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
|
Flickering sine scroller
Watcha boys.
![]() Sorry to be asking for help *again* but... I've been playing around with updating my sine scroll source into more of a proper sine scroll intro - source code (non dbl buf version) attached. Problem is that the actual sine scroll flickers big style. My first thought was double buffering was needed. However, I tried adding double buffering and it made no difference so I took it out again. Now, I know that my sine scroll routine when it was running on its own worked OK without double buffering, certainly while it was a four pixel sinus copy anyway but this one won't. ![]() There's a couple of other things going on in this intro (scrolling logo, some copper colour poking and music playing) but I don't think it's those things causing the problem cos if I turn them off the sine scroll still flixx0rs all to shit. ![]() Anyone got any ideas what stoopid thing I'm doing wrong this time? EDIT: bugged code attachment removed. Last edited by pmc; 24 June 2009 at 08:09. |
![]() |
![]() |
#2 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,848
|
Check if you fetch the right values from the sintable, looks like your sintab ptr gets trashed somewhere to me. Don't have time to check the code atm though.
|
![]() |
![]() |
#3 |
gone
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
|
Cheers Stingray - I'll check.
![]() |
![]() |
![]() |
#4 | |
gone
Join Date: Apr 2007
Location: completely gone
Posts: 1,596
|
Quote:
StingRay, I'm starting to think you're a Jedi. ![]() You've reached a higher plane where you 'feel' the errors in code! ![]() Last edited by pmc; 24 June 2009 at 09:34. |
|
![]() |
![]() |
#5 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,848
|
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sine scroller | pmc | Coders. Tutorials | 95 | 02 July 2017 16:40 |
Help with a sine effect | bobster | Coders. Tutorials | 16 | 17 October 2012 12:11 |
Sine scroller - dycp | blazeb | Coders. Asm / Hardware | 6 | 02 May 2012 10:08 |
Help with sine regression | Ed Cruse | Coders. General | 14 | 30 June 2008 01:15 |
|
|