asebomm.blogg.se

Dark Basic Pro Error 165
dark basic pro error 165

























dark basic pro error 165dark basic pro error 165

///////////////////////////////////////////////////////////Now that i reinstalled DarkBasic i get this error. If I press OK it says file/sprite missing.Finally gets to the edge of the paddle, or it gets sucked into the inside of the paddle, or it does the same thing where it gets stuck on the paddle, but it does it from behind. (with white label, red cross and a number 13). No problem testing or building, but when I try to run it I get a message which says:' Dark basic Pro: Enhancement Expansion Pack Runtime Error'. Completed my first level today. I've known Basic fans who dropped out of C++ because it was too hard.If you are unable to check the box Printer can match document sizes when setting up CorelDraw for printing to the Fusion Pro, you may see the following error.The problem i am having is that when the ball hits the paddle it gets like stuck(itll move away like 3 pixels and the back onto the paddle), and will move up or down until itThanks to the forum I got FPSCx9 running on my new Windows 7 machine.

Dark Basic Pro Error 165 How To Solve This

You need to think more about how to solve this problem. I was able to work out what these referred to, but I had to put some time and brain power into it, which is less brain power I can give toward helping you with your collision problem.Improved version of your code, much easier for others to read and help you out with: paddle1y = 150Load image "media\paddle1.png", paddle1ImageLoad image "media\paddle2.png", paddle2ImageSprite paddle1Image, paddle1x, paddle1y, paddle1SpriteSprite paddle2Image, paddle2x, paddle2y, paddle2SpriteSprite ballImage, ballx, bally, ballSpriteIf upkey()=1 then paddle1y = paddle1y - 4If downkey()=1 then paddle1y = paddle1y + 4Num_paddle1_collisions = sprite collision(paddle1Sprite,0)Num_paddle2_collisions = sprite collision(paddle2Sprite,0)Num_ball_collisions = sprite collision(ballSprite,0)You also aren't using that for loop in there, just running your set of if statements twice for no real reason. Also, don't use extremely short variable names such as x and ax. Make sure it's indented properly and don't use raw numbers for image or sprite or whatever other type of object ID. Also, you'll be doing yourself and others who read your code a favor if you clean it up.

Use it, and do a little more homework instead of just dumping code here. The Game Creators' community site has plenty of resources and of plenty good examples on how to implement a pong game. Keep track of the positions and collision rectangles yourself, you'll learn a lot more.This site does not respond well to posts that are just making us fix your code.

dark basic pro error 165