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.

Newcomers DBPro Corner / Noob- need help with sprites and levels

Author
Message
Whaddaboe
18
Years of Service
User Offline
Joined: 15th Jul 2006
Location:
Posted: 20th Jul 2006 19:47
Hi,

I am working on a 2d platformer (very similar to mario) and so far i have a sprite whom runs left and right, but iv come across a problem...

basically, i have a level editor that works by having a bunch of data strings, made of 1s and 0s,and if there is a 1 present then it should paste an image from a spritesheet



it does not come up with a syntax error but it does not print the sprite either

Please help, thanks in advance

PS. Here is the full code
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 20th Jul 2006 21:47
Haven't looked at your code in too much depth but perhaps you problem lays here:

Maybe you should try this:

and see if that helps.


Whaddaboe
18
Years of Service
User Offline
Joined: 15th Jul 2006
Location:
Posted: 20th Jul 2006 21:55
Oops, yeah i meant to change that
and now i have, but its still the same problem

Login to post a reply

Server time is: 2024-09-25 05:31:40
Your offset time is: 2024-09-25 05:31:40