[small demo] Paralax Scrolling with PureBasic

Developed or developing a new product in PureBasic? Tell the world about it.
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

[small demo] Paralax Scrolling with PureBasic

Post by va!n »

here is just a very small example of doing paralax scrolling with purebasic... its coded like hell and not the best... but still showing people (esp newbies) whats possible :)

download
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
benny
Enthusiast
Enthusiast
Posts: 465
Joined: Fri Apr 25, 2003 7:44 pm
Location: end of www
Contact:

Post by benny »

@va!n:

runs smooth here. nice one. brings back all the nice memories about the
good old amiga times [ hi traumatic ;-) ].

wonder if esp. the newbies would be interested in the code :roll:
regards,
benny!
-
pe0ple ar3 str4nge!!!
User avatar
Hroudtwolf
Addict
Addict
Posts: 803
Joined: Sat Feb 12, 2005 3:35 am
Location: Germany(Hessen)
Contact:

Post by Hroudtwolf »

Very nice.
This calls old days from good old c64 in my mind, too.
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Post by traumatic »

OT: lol, hi benny! ;)

Hmm... didn't I see the "Shadow Of The Beast" Intro in PureBasic
sometime before? Argh, can't remember...


Ah yes, here it is:
viewtopic.php?t=14664
Last edited by traumatic on Thu Feb 23, 2006 9:57 am, edited 1 time in total.
Good programmers don't comment their code. It was hard to write, should be hard to read.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: [small demo] Paralax Scrolling with PureBasic

Post by PB »

Excellent work, va!n -- it's almost hypnotic watching it! :)
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

Is it done with billboards? (sorry I don't know exactly what billboards are or what they do)
BERESHEIT
User avatar
IceSoft
Addict
Addict
Posts: 1682
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Post by IceSoft »

Please make a windows demo too (not only a full screen variant)
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Hatonastick
Enthusiast
Enthusiast
Posts: 149
Joined: Wed Apr 27, 2005 11:50 am
Location: Adelaide, Australia
Contact:

Post by Hatonastick »

That brings back memories. :) I'd like to see more retro style games myself. Who needs this new fangled 3D stuff eh!?! (Says a guy who plays a lot of 3D games). :) Hrm I really should get back to work on Starsled, which will be a bit of a TimePilot rip-off. Sort of. I was waiting till PB 4 full release, but guess I can keep using 3.94. Anyway, enough of my rambling - you going to release the source for this?
Please forgive my poor English, I'm an Australian.
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Post by va!n »

thanks for all the comments!
btw, i didnt knew that someone already has released a "shadow of the beast" demo (with source as i have seen) for purebasic :roll:

I owned all three versions as original and played all versions! I never managed the level - where a stone must be on balls and moved! ? - in the 3rd version! :)

@benny
I wanted to release the source too, when i sorted it a bit... but seems its not longer requried!? :roll:
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Post by Fangbeast »

Hatonastick wrote:That brings back memories. :) I'd like to see more retro style games myself. Who needs this new fangled 3D stuff eh!?! (Says a guy who plays a lot of 3D games). :) Hrm I really should get back to work on Starsled, which will be a bit of a TimePilot rip-off. Sort of. I was waiting till PB 4 full release, but guess I can keep using 3.94. Anyway, enough of my rambling - you going to release the source for this?
"Who needs this new fangled 3D stuff eh!?!"

Well, I never, How rude!!! Leave my name out of it!!

Fangles
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> "Who needs this new fangled 3D stuff eh!?!"

Heh, I noticed that too but was too lazy to comment on it. :)
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Hatonastick
Enthusiast
Enthusiast
Posts: 149
Joined: Wed Apr 27, 2005 11:50 am
Location: Adelaide, Australia
Contact:

Post by Hatonastick »

Fangbeast wrote:
Hatonastick wrote:That brings back memories. :) I'd like to see more retro style games myself. Who needs this new fangled 3D stuff eh!?! (Says a guy who plays a lot of 3D games). :) Hrm I really should get back to work on Starsled, which will be a bit of a TimePilot rip-off. Sort of. I was waiting till PB 4 full release, but guess I can keep using 3.94. Anyway, enough of my rambling - you going to release the source for this?
"Who needs this new fangled 3D stuff eh!?!"

Well, I never, How rude!!! Leave my name out of it!!

Fangles
Sorry I forgot that it's your fangled 3D stuff. :)
Please forgive my poor English, I'm an Australian.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

@va!n: Any chance of keeping this demo alive somewhere for newbies to see?
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

PB wrote:@va!n: Any chance of keeping this demo alive somewhere for newbies to see?
Well, i am not @va!n, but here is my improved version, compilable with PB4.20 and resizeable window. :)

EDIT: If it does not work for someones it could be related to the fact that there are DisplaySprite like commands in a running thread, and i've heard it is not safe. But it works here. Please let me know if there does not work.
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> i am not @va!n, but here is my improved version

I thought the demo was va!n's original work, but now I see it wasn't. :lol:

Speed-wise, his one scrolls faster and smoother than yours (on my PC).
Did you use his source as your base, or did you both use the DarkBasic
source? It's just weird that the speed difference is so vast on my system.
Post Reply