Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
16
Posts with Upvotes
15
Upvoting Members
14
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
4 Commented Posts
0 Endorsements
Ranked #977
~36.0K People Reached
Favorite Tags

78 Posted Topics

Member Avatar for CJMW

Hi there! I'm interested in the constents of `core.badTiles`. How is it populated? Have you checked that there are more than just one rectangle? Could you post the code where the list is built? Also, one thought that also came into my mind is the last else if statement (`else …

Member Avatar for CJMW
0
275
Member Avatar for James_25

Hi there! I would suggest you use the programming language that you feel the most comfortable with. I would use C# since you get a lot of tools for building UI around your map editor. In terrain generation, there are a number of approaches depending on how you want to …

Member Avatar for emilo35
0
265
Member Avatar for yup790

Hi there! I've tested your code and come up with the following: 1. You might want to check your random values. According to Oracles documentation, Math.random() does the following: ***Returns a double value with a positive sign, greater than or equal to 0.0 and less than 1.0.*** Less than 1.0 …

Member Avatar for yup790
0
185
Member Avatar for carlakawill

Try to first search your items for the required text to find out its index, then select that index from the box

Member Avatar for ChrisHunter
0
198
Member Avatar for otengkwaku

Okay, so it is powered. Can you see anything on the screen? It may be the graphics card that doesn't respond. Try removing it (if possible), drying and cleaning it an re-insert. If that doesn't work, try booting with another graphics card (again if possible)

Member Avatar for JorgeM
0
226
Member Avatar for rohit_static

I suggest you solve this by creating a list of all the parameters that are included on a specific flight. Then you compare this list to the users list, and each match adds to the rating points.

Member Avatar for emilo35
0
159
Member Avatar for sanket044

You can create a procedure for that. Example: Sub Update() MessageBox.Show("A button was clicked.") End Sub Sub FirstButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) MessageBox.Show("FirstButton was clicked.") Update() End Sub Sub SecondButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) MessageBox.Show("SecondButton was clicked.") Update() End Sub Regards, Emil Olofsson

Member Avatar for debasisdas
0
79
Member Avatar for abhishek_ag

Hmm it looks to me like you forget to reset `count` after every `posinteger` check. If one particular integer has too few divisors, I assume you want to start counting divisors from zero on the next integer. I hope this helps! Regards, Emil Olofsson

Member Avatar for emilo35
0
145
Member Avatar for mrexp21

Hi. I suggest you start going through the program, one bubble at a time. For example, concentrate on the first bubble. It says "Reading [data.txt]". Ask yourself these questions: **What does that mean?** It means that the program should read the contents of data.txt. **What is the goal of this …

Member Avatar for deceptikon
0
2K
Member Avatar for carlosebotero

Hello! Here is an example of how you could implement a timer that will generate events every interval of `delay` millisecs. If you wand an event generated after 3.124 minutes, you could either initialize your timer with delay `delay = 187440` (and then use `t.stop();` when you received your event. …

Member Avatar for emilo35
0
142
Member Avatar for PeTo.

Hi there! I need to see more code than this to be able to help you. To solve this problem I would use an array of coordinates like this: `[ (5, 5) (4, 5) (3, 5) (3, 6) ]` for example. Then, when I move up for example, I take …

Member Avatar for PeTo.
0
2K
Member Avatar for SyncMaster170

What is the output of the following: <% response.write "Credit Total: " & varCreditTotal %> And this: <% response.write "Credit Total: " & varCreditTotal*-1 %> Since I don't think there's something wrong with the FormatCurrency function, maybe varCreditTotal is not declared properly?

Member Avatar for SyncMaster170
0
111
Member Avatar for SAM2012

Hello! I don't really understand your question. Do you want to programatically get the name of the pointer that points to a certain queue object? I think that could be rather tricky. What are you gonna use this for? I'm sure there's another way to solve your problem. Regards, Emil …

Member Avatar for emilo35
0
173
Member Avatar for chinee
Member Avatar for jwill222

You could convert the number into a string, then creating substrings of every two characters, and then parse them back to int and add them together? Another approach would be using modulus, adding the rests of your value **x** mod 100, 10000 (then split by 100) and so on. Good …

Member Avatar for raptr_dflo
0
2K
Member Avatar for choosenalpha
Member Avatar for ghada ali

Hello! I need more code in order to understand what has gone wrong. From what I understand it's the line `this.Close();` That generates the error message? Where is this line located? Is it somewhere in the code section of the Form1 class, or are you calling it in the same …

Member Avatar for skatamatic
0
160
Member Avatar for pokie_da_codie

Please show us your code so far and specify what your problem is. Then maybe I can help you. Regards, Emil Olofsson

Member Avatar for WaltP
0
80
Member Avatar for gdp_87

Hello! I think every programmer should have a good understanding of C/C++ (to fully understand the concept of pointers and freeing memory and stuff). This makes it easier to understand the relationship between object references and object clones and how to efficiently control your garbage collector in higher level languages …

Member Avatar for gdp_87
0
172
Member Avatar for jinglylime

Just looking at your code makes me wonder if your scene is animated correctly. I found this after a little Googling: http://www.opengl.org/resources/libraries/glut/spec3/node46.html. Thats a pretty interesting example of an alternate way of animating your glut scene. I suspect that your problem lies with your use of `glutSwapBuffers();`. You could try …

Member Avatar for emilo35
0
239
Member Avatar for Labdabeta

Hey take a look at http://nehe.gamedev.net/tutorial/texture_mapping/12038/. NeHe got some really nice OpenGl tutorials, and this lesson should cover pretty much of what you seem to need fo this exercise. Regards, Emil Olofsson

Member Avatar for Labdabeta
0
696
Member Avatar for Behseini

x1 = startx y1 = starty x2 = x1 + cos(angle) * length y2 = y1 + sin(angle) * length Regards, Emil Olofsson

Member Avatar for Behseini
0
10K
Member Avatar for Thermalnuke

Well, this really sounds like a typical homework assignment to me, so I'm not going to provide the full solution to you -just in case.. This is some pretty fundamental java you are asking about, and if you want to start programming, this is something you must learn to figure …

Member Avatar for Ezzaral
0
184
Member Avatar for emilo35

Hi there! I'm currently working on a school project using a Kinect device. Me and my friend decided that we wanted to create the same 3D effect as [url=http://www.youtube.com/watch?v=Jd3-eiid-Uw]this[/url] guy (Using our Kinect instead of using a Wii). We've made everything work perfectly, and we actually get a really cool …

0
124
Member Avatar for emilo35

Hi all! I'm playing around a bit with my old Visual Basic 6.0. I'm working with images, and this rather strange error came up: First I isolate a small piece of a larger picture to a smaller picturebox using PaintPicture: [ICODE]picBoxSprite.PaintPicture picBoxResource.Picture, 0, 0, 64, 64, (X * 64), (Y …

Member Avatar for BitBlt
0
1K
Member Avatar for frogboy77

I feel it is a good way to repeat techniques that I learned in the past, so they will root even better deep down somewhere in my brain :D

Member Avatar for jon.kiparsky
0
267
Member Avatar for derek123

What came to my mind was that you can try interpolating a couple of points along the radians-axis like [ICODE]x = {(-3*pi), (-2*pi), -pi, 0, pi, (2*pi), (3*pi)}[/ICODE] and the known cosine values; [ICODE]y = { 0, -1, 0, 1, 0, -1, 0 }[/ICODE]. Now I'm using 7 points, but …

Member Avatar for Ezzaral
0
148
Member Avatar for hallinan

Hi there. I'm sorry to say that I'm not going to set up the jogl environment for the sole purpose of debugging/finding a solution for you here. However, looking through the code (not analyzing your algorithms too closely) I thought I still might be able to push you in the …

Member Avatar for emilo35
0
376
Member Avatar for gopi17

May I guess that it is drawing exactly 12 satellites? Is it [ICODE]drawSeat(pObj);[/ICODE] that draws your satellite? If that is the case, you may want to try something like: [CODE=C++] // First declare i as global so its value can be used // over several iterations: float i = 0.0f; …

Member Avatar for emilo35
0
96
Member Avatar for ram619

Change your definition of fun to [ICODE]int fun(int,int,int,int,int,float*,float*);[/ICODE] Remember you are dealing with pointers

Member Avatar for ram619
0
5K
Member Avatar for gopi17

When you are drawing a square you can add a texture to it like this: [CODE] glEnable(GL_TEXTURE_2D); glBindTexture(GL_TEXTURE_2D, myTexure->textureID); glBegin(GL_QUADS); glNormal3f( 0.0f, 0.0f, 0.0f); //Normals are needed for things like light reflection glTexCoord2f(0.0f, 0.0f); glVertex3f(-1.0f, -1.0f, 0.0f); glTexCoord2f(1.0f, 0.0f); glVertex3f( 1.0f, -1.0f, 0.0f); glTexCoord2f(1.0f, 1.0f); glVertex3f( 1.0f, 1.0f, 0.0f); glTexCoord2f(0.0f, …

Member Avatar for emilo35
0
492
Member Avatar for vinujohnpanicke

At first I was going to ask you if you have any berserking pointers or char* strings without end character, but it struck me that your ram and secondary storage are separated ;P However, if you are doing some intense file manipulating (on an OS that doesn't intervene when trying …

Member Avatar for emilo35
0
128
Member Avatar for bops

You are correct. I usually sleep for about 10 ms, that should be enough. I have been thinking about another way too, if your game relies heavily on graphics (your scene takes long to draw), then maybe it's a good thing to try calculate movements etc based on how long …

Member Avatar for klemmerj
0
134
Member Avatar for gunbuster363

Or you could take a look over at [URL="http://nehe.gamedev.net/"]NeHe[/URL], there you can find tutorials on a lot of handy OpenGL things. Over at their "New tutorials" session, you can also find how to set up OpenGL in [URL="http://www.codeblocks.org/"]Code::Blocks[/URL], which is a pretty handy free C++ IDE Good Luck! Emil Olofsson

Member Avatar for gunbuster363
0
111
Member Avatar for hmdb

If you don't have any formulas to start with, I suggest you start off by looking up some things: - At which latitude is the north/south polar circle (beyond this one there's midnight sun 24 hours a day during a period in summer and dark 24 hours a day during …

Member Avatar for emilo35
0
94
Member Avatar for ithelp
Member Avatar for Agilemind
0
132
Member Avatar for speedy94519

If i'm not mistaken, (B * C(not) * D) + (B(not) * C * D) can be rewritten as (B XOR C) * D I'm not sure if this is what you're after. But if I were to construct a triple gate XOR, I think it would look like this: …

Member Avatar for Haneen Dweikat
0
195
Member Avatar for rollercoaster

Hi, please show us what you have done so far, and please specify what it is that you can't get to work

Member Avatar for vijaykrishnabor
0
122
Member Avatar for Annettest

Yeah I feel the same. What is the return value of array.NumberOfIntervals(), and what has it to do with your actual arrays instantAct and mS? And what is xAg?

Member Avatar for chief427
0
767
Member Avatar for gisek

Hi there. I'm into pretty much the same thing as you, and I have been thinking alot about loading and moving a 3D character around. In my opinion, the simplest way to do this is to draw all body parts separately. When loading them in OpenGL, you should check out …

Member Avatar for emilo35
0
583
Member Avatar for Brokenpwn

Well, if I'm not mistaken, it looks like you define i.e your constructor as [ICODE] TileClass::TileClass() [/ICODE] in your .h file, but in your .cpp file it looks like you're trying to implements [ICODE] Main::TileClass::TileClass() [/ICODE] Which you haven't defined anywhere. Take a look at your main() function and its …

Member Avatar for Brokenpwn
0
197
Member Avatar for harpay

Well, I really see no point in why you need the option to quit using 'q' in this case. Just let the user enter the number 2 or whatever. I ran some tests with your code, and if you enter a char from within the for-loop you enter an infinite …

Member Avatar for emilo35
0
285
Member Avatar for dubulover

Your flowchart looks fine. And from the looks of it, your pseudocoding as almost complete aswell. Start by giving the value 'y' to flipAgain. Then you will need a loop of some sort. I suggest a while-loop. And where diamond squares are, use If. [ICODE] Initialize flipAgain to 'y' WHILE …

Member Avatar for emilo35
0
222
Member Avatar for gisek

I don't think that creating a new process for every player is the right approach in your case. In order to manage your threads correctly you have to do a bunch of shared data checking (google locks, semaphores, atomic operations). This will take some of the processors time every time …

Member Avatar for Ancient Dragon
0
153
Member Avatar for _Nestor

Ah it's a quite interesting little function you have there. Unfortunately, I can't come up with any significant strategy changes to improve your conversion; I would probably have solved this problem in a similar fashion myself. However, If you really want to keep your code on edge, there are always …

Member Avatar for Schol-R-LEA
0
170
Member Avatar for sunshine24

First of all, I'm not familiar to that particular book you mention, so I don't really know what you mean by T0 and T1. I can tell you however thet the code you wrote down indeed is a fetch cycle. Your program counter tells you on which line in your …

Member Avatar for sunshine24
0
229
Member Avatar for Member 785174

Hello there! May I ask what the meaning of these lines is? [CODE] if (userNumber < smallNumber){ smallNumber = userNumber; if (userNumber > largeNumber) largeNumber = userNumber; } [/CODE] It seems you are only looking for a larger number if the user number is the smallest number? I would like …

Member Avatar for NormR1
0
138
Member Avatar for tonka1

Direct3D is a part of Microsoft DirectX series. You should check out the game's requirements on which DirectX version is required. Then use google to find an appropriate download. It should be available to download for free (And distributed along side almost every game that requires it. Have you checked …

Member Avatar for kashimahar
0
75
Member Avatar for etisermars

[QUOTE=etisermars;1216599]You are funny Buffalo101, but the problem is much more complex than i presented here! how can u handle if you have hundred variables which depend on "a" in different ways? you write (call) again all that functiuns (to calculate all "b"-s )?[/QUOTE] Well, yes. You need to create a …

Member Avatar for Banfa
0
114
Member Avatar for ollie60

Hi there! The answer is simple; Don't initiate uniqueID several times! Try moving [icode]unsigned int uniqueID = 0;[/icode] to outside of your loop, or pass it as an argument if you are using recursion! Good luck! Emil Olofsson

Member Avatar for ollie60
0
74

The End.