Hello! I am looking for some help, and have provided the code. I'm just trying to do some simple stuff. I'm trying to create a simple game without using classes (but using lists). What I'm trying to do is create collision detection among list objects ("bullets" and "baddies"), as you'll be able to see in the code. I'm also trying to fire 10 bullets at once from an "ammoCrate". My problem is that I have to stay on the "ammoCrate" in order for the bullets to do their thing, otherwise they stop in place and disappear, but continue if the …

Member Avatar
Member Avatar
+0 forum 2

This tutorial is the first time I write about coding techniques for improving the performance of software. This is going to be a step-by-step journey through a real example, with real benchmark results at every step so that you can see the effect of the different optimization techniques. And as my first tutorial on performance optimization, I have to talk about the most important principle in performance optimization: keeping things hot. If you expect this tutorial to be about showing bits of code and the assembly listings generated by the compiler and then, showing how to reduce the number of …

Member Avatar
Member Avatar
+7 forum 3

Hey, all! I'm trying to figure out how to add collision detection to the following code but I'm having trouble trying to figure out how to pull in the x and y coordinates of the different eggs that are falling randomly. Would you be able to tell me what I'm doing wrong? Thank you! <html> <style> #playingArea { position: absolute; top: 1; left: 1; width: 750; height: 720; z-index: 2; } #basket { position: absolute; top: 650; left: 228; width: 100; height: 145; } </style> <script type="text/javascript" language="Javascript"> var basket; var basketLeft = 228; function keyListener(e) { document.getElementById("si"+i).style.top=eggsTop; document.getElementById("si"+i).style.left=eggsLeft; if …

Member Avatar
Member Avatar
+0 forum 4

I have been looking for a solution to isolate markings and have not found anything on the internet that is close to for what I am looking. I am trying to isolate the markings in a series of pictures. I have one, unmarked image. I then have a series of identical images with markings. I would like to remove the original image from the succeeding images leaving only the markings "floating" on a white background. I have removed the color from the images, but that leaves the black and white original markings. I am looking for any hints, ideas, comments, …

Member Avatar
Member Avatar
+0 forum 5

I want to make a game that requires the arrow keys to be pressed. How do I detect if a key has been pressed?

Member Avatar
Member Avatar
+0 forum 3

I am trying to determine collision in a 2D Side Scroller environment using Rectangles. However, the way most people do it is to get the bounds of the Tile. I do not use Tile's in this case, I am just drawing Simple Full Colored Rectangles using Graphics2D. `g.drawRect(int x, int y, int width, int height)` I would obviously need a GameObject Class, which I have below, and I do check for an intersect, but I don't think that would actually check for collision because I dont know where it should be called. Also, how would you know which parameters to …

Member Avatar
Member Avatar
+0 forum 4

Hi everyone I need a suggestion on detecting the faults/bugs in a java program. To say I should check whether my program is faultless. Thanks, Varun Krishna. P

Member Avatar
Member Avatar
+0 forum 7

So im making a simple RPG using c# and xna. For collision, i am using a text file that contains data about whether a tile is passable or not. I iterate through them and create rectangles based on the position of the 'bad' tile in the text file. I then used these rectangles for collision detectiong. Now, I can easily check whether or not the player is collision with these 'bad' tiles by using the 'Intersection()' method of the Rectangle type. What I am struggling with however, is what do I do once the collision is detected. So far, I …

Member Avatar
Member Avatar
+0 forum 1

So im posting this here and not under game development because this is more of a problem solving question, not directly game related. Im making a simple RPG using xna. Im currently working on collision detection, however running into difficulty. I can successfully check for a collision between the player and a 'bad' tile, however I am stumped as to what the engine should do to prevent the player from passing throguth it! Currently, I am getting the players based on an enum 'Direction', which is set whenever one of the 4 arrow keys are pressed. I am then creating …

Member Avatar
Member Avatar
+0 forum 1

Hello good day. I am hoping to discover some free/trial software that will allow we to identify a printed/drawn symbol/sticker on images in a folder. I have taken a picture of a few pages from my notebook(handwritten). On these pages I have put stickers. Is there a software that allows me to have a reference picture which can be used to search and locate other images in my folders with that reference picture in them? I'm aware of Evernote's Moleskin smartbook and its page camera. Are there any others however for the desktop computer please? Thank you so much for …

Member Avatar
Member Avatar
+0 forum 2

I am new to perl. Is there any way that perl can detect when a field is focused in an external program? The script would just need to know when a text input field was selected. Thanks,

Member Avatar
Member Avatar
+0 forum 1

Im making a 2D platformer-ish shooter its really simple and not much effort put in it, it is my first game Im making in python and its for a school project and needs to be finnised really soon. Everything is working just fine but Im having problem with some collision detection with my shoots, I don't know how to make it. So would really appreciate any help I could get. Feel free to tell me if anything is wrong or could be better and use this code for your own learnings. And I know its a bit messy but I …

Member Avatar
Member Avatar
+0 forum 11

Hello, I've been having a lot of trouble with collision detection recently. I'm attempting to make a 2D platformer. All I need is rectangle-on-rectangle collision detection, and then to respond on collision by moving the two rectangles involved in opposite directions. Thanks in advance.

Member Avatar
Member Avatar
+0 forum 10

I am trying to add collision detection to this simple game, but I am a little lost on where to begin. I know I need to use rects to do this but I am struggling to find out what I need to code to make this work. Any pseudocode or any hints pointing me in the right direction would be greatly appreciated. Here is my code: #Image Variables bg = 'bg.jpg' bunk = 'bunker.png' enemytank = 'enemy-tank.png' #Import Pygame Modules import pygame, sys from pygame.locals import * #Initializing the Screen pygame.init() screen = pygame.display.set_mode((640,360), 0, 32) #Loading Images and More …

Member Avatar
Member Avatar
+0 forum 4

IM A COMPLETE TOOL PLEASE IGNORE / DELETE THIS POST Hello everybody, im currently trying to learn 3d game development (ive developed 2d games in the past, nothing this complex, i am a third year programming student). Ive been working on this project in my spare time for the past few weeks, and im really stumped. Im using axis aligned prisms for my collision detection, and I cant seem to get it to work correctly. Im using java lwjgl to program openGL. I would really appreciate any assistance you guys can offer (even if its just pointing me in the …

Member Avatar
+0 forum 0

hi frnds, do anyone of you have theoritcal notes on Computer Organization, which include topics like Number Systems, Hamming Code, Error detection method ?? if you have can u pls let me know ?

Member Avatar
Member Avatar
+0 forum 3

Hi all, I have a robot which detects an object using hsl filtering and a blob counter to draw a rectangle around the object. What I am trying to do is get the robot to move to its right if the object is on the right side, else it moves to the left. Essentially I want it to work as a goalkeeper, so as the object comes towards it, it moves into the objects path. I am far from a C# expert and have tried various ways to get it to function properly, to no avail. When the program runs …

Member Avatar
Member Avatar
+0 forum 1

Hello forum, I have been asign a presentation in novelty detection. I'm searching the internet and many of the articles I find are either too advance or too simple. Does anyone have/ known good articles about novelty detection?

Member Avatar
+0 forum 0

Hello guys, Recently, I'm working on a project to develop voice activation detection for my predicative dialer system. I'm using a sample program called Ozeki VoIP SIP SDK and I'm quite satisfied with it. This SDK is very flexible as you can implement it to already existing systems. You can use different developer environments such as Visual Studio 2010, Visual Studio 2008 or Visual Studio 2005. The support team helped me to configure the VAD to my actual needs. ;) So if you would like to check this site, you can do it here [Link Anchor Text](http://www.voip-sip-sdk.com/p_238-voice-activation-detection-voip.html.) Cheers, Roger

Member Avatar
+0 forum 0

Hi i need that when i put something like a ball in front of my webcam a square is putten around that ball and keep following it if i moved the ball i currently have no idea on how i can do this so any help whould be appreciated thank you all

Member Avatar
Member Avatar
+0 forum 2

Hi All, I am trying to create a image text detection program. The program is up and running, and I can distinguish between text and non-text using laplacian based method with an acceptable accuracy. However, the problem is that I need the program run with the speed > 100 (images/s), and the best record so far is 10(images/s) with the resolution of 1280x768. My program spend most of the time on Laplacian convolution calculation and maximum laplacian difference. I tried most of the optimization methods that I have heard of. The only thing that I haven't tried is programming in …

Member Avatar
Member Avatar
+0 forum 2

Yesterday my Toshiba laptop crashed, i pulled out the HD and plugged it into my desktop in an attempt to retrieve some data. To make space for the laptop HD I accidently removed the Desktop C: drive HD (mistaking it for another), when I plugged it back in I found that I couldn't boot up (missing hal.dll). No biggie, I only had Windows 7 32 bit installed a few days ago, so I do clean install thinking this will solve the problem... Well it installed ok but the setup could not detect the old C: drive HD. Now i'm in …

Member Avatar
Member Avatar
+0 forum 4

Okay, I was downloading some zip files some while ago while at the same time, I'm also extracting downloaded zip files on my hd. By accident, the zip files that are still in extraction, I managed to click delete on them. The programs started to hang, then froze, which left me no choice but to restart it. When I plugged my external hd back, it can't be detected anymore. How did that happen and what should I do to fix this? I've tried everything, my dad opened it to check if its loose or something, but it's not. It's not …

Member Avatar
Member Avatar
+0 forum 11

Hello, I have been given the source code of a large tailor made .Net Windows Application and im required to scan through it and certify that it is safe and Malware-free. Are there any tools out there that actually scan .Net source code to detect possible embedded/hidden Malware code? A logical strategy may be to look for code that sends sensitive data outside the application (such as by email, WCF, web services...etc), correct? If not, what else should i look for? Any advice would be greatly appreciated... Regards, Ziad.

Member Avatar
Member Avatar
+0 forum 1

My school assignment is to use browser detect to get the name and variation of a browser. I have been looking for detectible features, but the codes are way long. Document.all is good for seeing if this is explorer 4+, but what is a good thing for finding explorer 7? Explorer 8? What is a feature exclusive to Safari? To Chrome? to Firefox? This seems really hard, as browsers seem to be trying to get more compliant, that means there is less variation to check on. Thanks

Member Avatar
Member Avatar
+0 forum 1

Greetings, I've been given a challenge to build a simple game for my daughter. The idea is that you smash the spacebar, and a ball drops into the game, goes down some ramps, and lands at the bottom. Being a newbie programmer, this is becoming a challenge. I decided to use ray-tracing to determine if my ball has collided with the ramps, and I have a Polygon class that defines the vertices of the bounding boxes for collisions with the ramps. I know that I need to determine how many times the rays cross the edges of the polygon, and …

Member Avatar
Member Avatar
+0 forum 1

Hey, I am new to this forum. I wanted some help . I was planning to do a project in remote OS detection . what would be the best way forward. the language to be used( i was thinking of java). basically how to start :)... thanks..

Member Avatar
+0 forum 0

Hello, I'm working on a bluetooth chat application project called 'BlueChat'. I coded the server (BServer.java) and client (BClient.java) parts (2 separate threads). The visual part is called BlueChat.java and allowes the user to select to be the server or the client. I wrote a lot of System.out.println("")'s to check WHY NO MESSAGE IS SEND (there are no errors or exceptions). So I detect that: - On the server, when it reaches [code]con = notifier.acceptAndOpen();[/code] part, loopes infinitely as it doesn't receive any join from a 'Client' - On the client when it passes the 'inquiry' but it's waiting infinitely …

Member Avatar
Member Avatar
+0 forum 7

The End.