Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / jumpin' jumpin'

Author
Message
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 13th Mar 2003 20:13
I'm fairly new to dark basic (classic) but i've been playing with sprites i've got a simple sprite to move left and right on a background but could someone tell me how to make my sprite jump. i've seen some other posts like this but didn't really understand so could someone help please
thanks
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 15th Mar 2003 09:50
could someone give me a hand i've been trying but can't seem to get it right.

'You were born crying while people around you smiled'
Blazer
21
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: United States
Posted: 15th Mar 2003 18:19
*digdigdigdig* I got it (old jump code):



As I walk through the vally of the shadow of death, I will fear no evil.
- Psalms 23:4
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 16th Mar 2003 13:54
thankyou

'You were born crying while people around you smiled'
Problems with mirrowing sprite
21
Years of Service
User Offline
Joined: 18th Mar 2003
Location:
Posted: 31st Mar 2003 03:29
yeah this works for me but i cant figure out how to make a background image, and how to make the stick figure into a sprite. please help

ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 3rd Apr 2003 20:46
i had this problem a while ago just before i needed help with jumping just put this

somewhere near the beginning of your program

'You were born crying while people around you smiled'
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 3rd Apr 2003 20:47
i had this problem a while ago just before i needed help with jumping just put this

somewhere near the beginning of your program
make sure the image is included with your project and that it is the right size
(640*480)

'You were born crying while people around you smiled'
Problems with mirrowing sprite
21
Years of Service
User Offline
Joined: 18th Mar 2003
Location:
Posted: 6th Apr 2003 05:11
ya but how do i make a sprite instead of a stik man

ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 7th Apr 2003 00:31
this would probably work


'You were born crying while people around you smiled'
Problems with mirrowing sprite
21
Years of Service
User Offline
Joined: 18th Mar 2003
Location:
Posted: 16th Apr 2003 02:55
you still havent answered my question, i want the jump code with the sprite, ive tried and tried and nothing works, u gave me the same code i already had with the sprite thing

ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 17th Apr 2003 11:57
ok here's my first 2d game i made with jumping
it does use media but just replace the images with the ones you want to use.

'You were born crying while people around you smiled'

Login to post a reply

Server time is: 2024-04-19 04:05:43
Your offset time is: 2024-04-19 04:05:43