Dark Bit Factory & Gravity

GENERAL => Projects => Topic started by: padman on April 02, 2013

Title: Cynix Remake
Post by: padman on April 02, 2013
Aloha!

Ok, it was about time I coded a remake again. Haven't done that in ages... It was coded rather quickly and I cheated like hell once again.  ;D The filesize might give you a hint.  Anyway, before uploading it to RR (and probably getting blamed for not using a 4:3 ratio in fullscreen ^^) along with KrazyK's D-Bug remake it'd be great if some of you guys tested it. Don't wanna have a bugfix discussion over there. ;)

Thanks in advance!

Pad  :cheers:
Title: Re: Cynix Remake
Post by: Dr.Death on April 02, 2013
Works fine for me mate & a nice little remake from you.  ;)
Title: Re: Cynix Remake
Post by: jace_stknights on April 03, 2013
 :( running supra-slow on my i7 double video card (ati and nvidia) on Seven Pro... windowed or fullscreen it looks like taking about 10 frames...

Have you tried this trick by Krazyk?

Quote from: KrazyK on September 28, 2012
Thanks Kiri, glad to see this one isn't too fast for you this time.  How about windowed mode?

I discovered a really annoying bug with Purebasic when running fullscreen in Win7 with 2 monitors where it would simply crash all the time.  But i've now fixed it by disabling Aero for the duration of the demo by adding the following code after the fullscreen check.



If OSVersion()=#PB_OS_Windows_7 Or OSVersion()=#PB_OS_Windows_Vista
    OpenLibrary(1,"dwmapi.dll")
    CallFunction(1,"DwmEnableComposition",0)
    CloseLibrary(1)
EndIf

Title: Re: Cynix Remake
Post by: Zorro 2^NoExtra on April 03, 2013
I confirm, very slow on SEVEN. Very nice to see CYNIX menu by mister Padman ;)
Title: Re: Cynix Remake
Post by: padman on April 03, 2013
Thanks for testing guys! :)

@jace: Yeah,  I'm disabling Aero with the mentioned code. I really don't know why it is so slow on some Win7 machines. It appears to be a little, but just a little, slower on my Win7 compared to my XP system where it runs just fine. And how am I supposed to fix a bug which doesn't appear on my systems. *scratching head* Seems like Purebasic isn't the best choice for coding anymore, if you want your stuff to run fine on current OS. Annoying shite! Anyway, I'll have a look at the code later eventhough I have no clue what could cause the problem... :(
Title: Re: Cynix Remake
Post by: KrazyK on April 03, 2013
The animation's a bit slow on my work Win7 pc but will test it on my home pc later.
Title: Re: Cynix Remake
Post by: padman on April 03, 2013
Thanks KrazyK.  ;)

Ok, I quickly put together a version based on my old "framework" for remakes. Standard 800x600 screen in both windowed and fullscreen. No adjustment to current desktop resolution, no special shebang and no use of CrapSprite() ahem I mean Grabsprite(). Please let me know, if it helps speed things up for you guys. Thanks!

Title: Re: Cynix Remake
Post by: KrazyK on April 03, 2013
Much faster now mate and works in fullscreen too.  Always loved that digidrum tune.  Sweet.  :clap:
Title: Re: Cynix Remake
Post by: Kirl on April 04, 2013
Excellent, the new version runs much better for me too, fullscreen as well. Good stuff!  :clap:
Title: Re: Cynix Remake
Post by: padman on April 05, 2013
Alrighty, thanks guys. It has been up'ed to RR along with KrazyK's remakes.  :cheers:
Title: Re: Cynix Remake
Post by: jace_stknights on April 08, 2013
Run faster but still taking severalframes...  ??? ??? ??? what did you used in the code? Your old remakes still run fine here  ??? ??? ???
Title: Re: Cynix Remake
Post by: padman on April 08, 2013
Honestly, I have no clue why it's so slow. Maybe it has to do with the dual monitor setup. Or it doesn't like your ATI/Nvidia combination. It probably can't decide which one to use. :D Or it doesn' t like french OS's. That would explain why it doesn't work for Zorro either... :P Oh and btw: all my remakes work fine on my machines. Not just the old ones.  8)

:cheers: