Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Need help with Grade 10 Game Proj.
Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Shazaam




PostPosted: Thu Jun 05, 2008 7:01 pm   Post subject: Need help with Grade 10 Game Proj.

I'm new to the forums, but the community seems amazing so far and I believe you guys could help me. I hope. Very Happy

Anyways, I'm making a game that is sort of like The World's Hardest Game on addictinggames.com http://www.addictinggames.com/theworldshardestgame.html

So far, I have an axe man sprite moving on a picture of some lava/hellish looking background. This has all been done with bit blocking and such so that everything is compiled into a picture2, lets say, and then painted onto the form, like simple bit blocking you would learn in this grade. This means I have the lava picture put into the picture 2, the axe man mask (black and white) put into picture2, the axe man actual colour sprite with black background put into picture2, and then all this painted onto the form. So this all works with the axe man moving too because i put all those bit blocking lines under key async things so that he moves. I also have 3 lives for each level, which works.

So now I wanted to make shapes moving within the playing area, so that when the axe man hits them or the walls, you loose a life. I've got all my collision detection code working and working with my lives system.

The problem comes with the actual moving of those shapes. I had it working when i didn't have bit blocking and I just used regular rectangle shapes. I used vdir and hdir as horizontal and vertical movements and stuff. So, then the usual code, like when the rectangles .width and left and height and top etc. <= or >= watever the walls, the rectangle will -vdir or -hdir, meaning bounce off and go opposite way. however with all this bit blocking confusion added in, it's kind of screwed it up. i made a firey hell rectangle thing in paint and made masks and all that hub bub above. Then i put the bit blocking stuff in with the movements of the picture rectangle. So now the rectangle is all glitchy like. It doesn't show the smooth movements like without bitblocking, now it shows up at the top wall then after 5 seconds or so it shows up at the bottom wall. So basically it's not shwoing the transition from top to bottom. the picture just pops up then later pops uo again at the bottom. I really have no idea what to do.

This would probably be a way shorter description if i could put the game here, but it's unfortunately at school, so I gotta send it to myself. It would be so much easier if you could just take a look at it. I tried to best describe the jist of my game. I hope it's enough to go on for you guys to help if you can. Thanks in advance Very Happy
Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 1 Posts ]
Jump to:   


Style:  
Search: