Page 1 of 1

Check out my scrolling demo!

Posted: Fri Dec 26, 2003 10:39 pm
by cbmeeks
Man, PB is awesome!

I have run into some bugs (may be video card related...see my DisplaySprite3D garbage thread)

ANYWAY, download the demo below and let me know if it runs smooth (the scrolling is slow...but it should be smooth).

Left/right to move. Also, scroll to the end and you will see Kraid. Mouse up/down to move him.

What do you think of the lava and steam effect?

-cb

DOWNLOAD HERE --> cb.signaldev.com/lava.zip

Posted: Fri Dec 26, 2003 11:05 pm
by Karbon
Perfect on my system..

comment out the joystick info on mine ...

Posted: Sat Dec 27, 2003 11:01 am
by Iria
Commented out the joystick info on mine and we were rocking and rolling... V nice :)

Posted: Sat Dec 27, 2003 12:14 pm
by blueznl
new_bitmapimage... have you been grabbing from another program? :-)

Posted: Sat Dec 27, 2003 6:44 pm
by cbmeeks
Commented out the joystick info on mine and we were rocking and rolling... V nice
Did the joystick not work?

Posted: Sat Dec 27, 2003 8:45 pm
by Num3
If no joytsick or sound are present you must not call the functions associated to them. Keep in mind many people do not have joysticks and some PC's don't have sound cards...

Just use:

Code: Select all


If initjoystick()
 Joy=true
else
 Joy=false
endif

If initsound()
 Sound=true
else
 Sound=false
endif

more game here...

If joy=true
 do joystick things
endif

If sound=true
 do souns things
endif

Posted: Sat Dec 27, 2003 8:59 pm
by Danilo
@Num3:
No If...Else...Endif needed for the init commands.

Code: Select all

Joystick = InitJoystick()
Sound    = InitSound() 

If Joystick
  ; do joystick things
EndIf 

If Sound
  ; do sound things 
EndIf
BTW:
Would be nice if InitJoystick() returns the number of available
joysticks in the system.
All joystick-commands should get a "joystick-number" param then...