Dark Bit Factory & Gravity

GENERAL => Projects => Topic started by: KrazyK on March 22, 2024

Title: No Escape oldskool stylie
Post by: KrazyK on March 22, 2024
Just finished this oldskool style demo after many hours trying to figure out how to bend a scroller in front and behind moving raster bars!
Lost count of the variations I tried to get it working but I think it looks really cool now and learned quite a bit too.  I can make it better given more time.
I took the liberty of ripping some of the objects from the lost boys red sector demo too just for fun too.
Title: Re: No Escape oldskool stylie
Post by: Knurz on March 23, 2024
Hey.

Did you kinda pack the exe with UPX or something - defender went crazy when I try to run the exe.

cheers.
Title: Re: No Escape oldskool stylie
Post by: KrazyK on March 23, 2024
Hey.

Did you kinda pack the exe with UPX or something - defender went crazy when I try to run the exe.

cheers.
It's packed with upx and a upx scrambler.
I can post the unpacked exe later?
Title: Re: No Escape oldskool stylie
Post by: Knurz on March 23, 2024
Hey.

Did you kinda pack the exe with UPX or something - defender went crazy when I try to run the exe.

cheers.
It's packed with upx and a upx scrambler.
I can post the unpacked exe later?

Ahhh..the upx scambler seems to mess with the defender! usually upx packed stuff is frowned upon by the defender but it's not going WorldWar 3 on that executable ;)

Yea pls, would appreciate to see that.

Cheers.
Title: Re: No Escape oldskool stylie
Post by: KrazyK on March 23, 2024
unpacked exe in this zip now.
Title: Re: No Escape oldskool stylie
Post by: STos on March 23, 2024
Hey.

Did you kinda pack the exe with UPX or something - defender went crazy when I try to run the exe.

cheers.
It's packed with upx and a upx scrambler.
I can post the unpacked exe later?

Knurz,

In a hex editor open .EXE file.

In the sections header, change...
   "code" to "UPX0"
   "text" to "UPX1"
   "rsrc" to "UPX2"

..and after "3.96\0" (33 2e 39 36 00) change the 4 next bytes to "UPX!"

Save.

Unpack with normal UPX -d.

Not really scrambled!


KrazyK, fine work.  Keep'em coming.
Title: Re: No Escape oldskool stylie
Post by: KrazyK on March 23, 2024
Thanks for the info STos. I never knew exactly what the scrambler did until now. Did the demo work ok on Wine?
Title: Re: No Escape oldskool stylie
Post by: STos on March 23, 2024
Thanks for the info STos. I never knew exactly what the scrambler did until now. Did the demo work ok on Wine?

Runs reasonable upto the 3Dballs then I can notice a slow down, but it's not until the sine/rotating scroller when I can start to physically count the frames.

Just my crappy laptop though!

P.S. No-Escape = kill -9 $(pgrep No-Escape) ;)
Title: Re: No Escape oldskool stylie
Post by: KrazyK on March 23, 2024

P.S. No-Escape = kill -9 $(pgrep No-Escape) ;)
[/quote]
Left Alt - if you managed to get that far in the scrolltext.
Title: Re: No Escape oldskool stylie
Post by: STos on March 23, 2024
Left Alt - if you managed to get that far in the scrolltext.

I'll be honest, I cheated and looked at the scrolltext using a hex editor to find the escape button.
The speed was diminishing with every extra effect, I had no patience; sorry.


These bloody bugs in DBF are killing it.  No smileys, occasional attachment errors, on and on...........
Title: Re: No Escape oldskool stylie
Post by: Knurz on March 23, 2024
Hey.

Did you kinda pack the exe with UPX or something - defender went crazy when I try to run the exe.

cheers.
It's packed with upx and a upx scrambler.
I can post the unpacked exe later?

Knurz,

In a hex editor open .EXE file.

In the sectins header, change...
   "code" to "UPX0"
   "text" to "UPX1"
   "rsrc" to "UPX2"

..and after "3.96" change the 4 next bytes to "UPX!"

Save.

Unpack with normal UPX -d.

Not really scrambled!


KrazyK, fine work.  Keep'em coming.

Oh okay, I've never used an upx scrambler or something, just plain UPX =).

Cool scroller effects in the demo, looks very dynamic!
Thanks for uploading the unpacked/scrambled version =).






Title: Re: No Escape oldskool stylie
Post by: ttemper on March 24, 2024
that intro was great. i really enjoyed that one.

the curved text twisty scroller, like it was wrapped around a cylinder looked great... great effect. and then to sinewave it and wrap it in front/behind the raster/vu bars. a nice touch (trying to think how you did it). i guess based on the sine + or - state, and then blit the raster bars back over the letters (or under).

i dig the flashing keyboard lights too, caps/num/scroll... it took me a minute to realize they were flashing.

and the esc "there is no escape"... lulz. nice. but a quick "alt + esc" worked for me :P

i'd be keen to peek some source at some stage to see how things (effects) were achieved (external libs used?). im still learning the basics of PB, so i have a ways to go in diving in to complex blitting.

nice one once again krazy k... oh, and thanks for the greets too :) i watched it twice over to make sure i saw it the first time :D

keep em coming!
Title: Re: No Escape oldskool stylie
Post by: STos on March 24, 2024
nice one once again krazy k... oh, and thanks for the greets too :) i watched it twice over to make sure i saw it the first time :D

Ditto, I had to look twice; albeit using a hex editor ;D

Never been mentioned in a scrolltext before, but then I had no reason to be either.
It took me back a bit, KrazyK popped my greetz cherry! :bfuck2:
Title: Re: No Escape oldskool stylie
Post by: KrazyK on March 24, 2024
that intro was great. i really enjoyed that one.

the curved text twisty scroller, like it was wrapped around a cylinder looked great... great effect. and then to sinewave it and wrap it in front/behind the raster/vu bars. a nice touch (trying to think how you did it). i guess based on the sine + or - state, and then blit the raster bars back over the letters (or under).

i dig the flashing keyboard lights too, caps/num/scroll... it took me a minute to realize they were flashing.

and the esc "there is no escape"... lulz. nice. but a quick "alt + esc" worked for me :P

i'd be keen to peek some source at some stage to see how things (effects) were achieved (external libs used?). im still learning the basics of PB, so i have a ways to go in diving in to complex blitting.

nice one once again krazy k... oh, and thanks for the greets too :) i watched it twice over to make sure i saw it the first time :D

keep em coming!

Yeah, the in-front /behind thing is based on the +- values of the sine wave.  If it's increasing then it's behind so draw the bars first then the scroller and vice versa for decreasing,   
No external libraries used, all native PB stuff.  It did take a while to work out the best way to spin and scroller though and show the back side though.
I'm glad the keyboard lights worked and I can't test that any more with my new keyboard as it doesn't have led lights, but I know it used to work with my old one so I added that just for a bit of fun.
I'll share the code for it bit by bit on the Purebasic section just to keep things alive in here. ;-)