Search found 61 matches

by szdarkhack
Wed Feb 08, 2012 5:02 am
Forum: Programming Discussion
Topic: What IDE should I use for cross platform development?
Replies: 26
Views: 10768

Re: What IDE should I use for cross platform development?

YOU CAN DO CROSS PLATFORM ON THAT!!!!! :-D How? I (foolishly) wrote my entire project in that and have been trying to port it with Code::Blocks. You definitely can. VS allows you to customize the build process, you can even build using makefiles. Hell, I've compiled code for the Nintendo Wii on VS....
by szdarkhack
Tue Feb 07, 2012 12:25 pm
Forum: Game Development
Topic: Dawn Engine Development
Replies: 3
Views: 1967

Re: Dawn Engine Development

I'm also doing a similar project (it has kinda stalled for some time now, because of lack of time mainly), so i'll be looking forward to following your progress with this :)
by szdarkhack
Tue Feb 07, 2012 12:23 pm
Forum: General/Off-Topic
Topic: What influenced you to become a geek/nerd?
Replies: 20
Views: 8371

Re: What influenced you to become a geek/nerd?

Well, my first game system was the Gameboy Color (i know, kinda sad having missed the NES era...). My first game was Pokemon Gold, i really enjoyed it. What got me interested in programming, though, were some glitches in the game (i'm sure most of you remember the cloning bug). I was very interested...
by szdarkhack
Fri Feb 03, 2012 11:26 pm
Forum: Programming Discussion
Topic: OpenGL Ambient Light grays out my models
Replies: 3
Views: 1028

Re: OpenGL Ambient Light grays out my models

Check this link and see if you do everything it says, especially setting the material color correctly: http://www.sjbaker.org/steve/omniv/opengl_lighting.html If you cannot figure it out still, post some of the light setup and the rendering code. By the way, the old built in opengl lighting is horri...
by szdarkhack
Mon Jan 30, 2012 7:07 pm
Forum: Programming Discussion
Topic: Data Storage
Replies: 5
Views: 1567

Re: Data Storage

Ok I guess a better way of rewording the "question" would have been what is the best way to store a linked list in a text file. =) If all your list nodes have 1 parent and 1 child you can just put the data in order with some sort of separator between nodes and lists. Now, if your list is ...
by szdarkhack
Thu Jan 19, 2012 10:40 am
Forum: Current Events and Science/Technology
Topic: SOPA derailed
Replies: 10
Views: 6899

Re: SOPA derailed

Here's a very good informative video from TED.



I fear to think of what the internet will become if these bills (or future similar ones) come to pass.
by szdarkhack
Wed Jan 18, 2012 9:00 am
Forum: Programming Discussion
Topic: Too many DLLs!
Replies: 13
Views: 3553

Re: Too many DLLs!

I don't have experience linking to libraries based on relative folder location, but a common trick I've seen is to have a "bin" folder that contains your main binary and all the DLLs. Then, in the main directory, there is a single script to run it (either a .bat or a .sh). That keeps it f...
by szdarkhack
Wed Jan 18, 2012 7:51 am
Forum: Programming Discussion
Topic: Too many DLLs!
Replies: 13
Views: 3553

Re: Too many DLLs!

If you think that looks messy, look at the Steam installation folder (or any game for that matter :lol: ). As for your question, i didn't find anything with a quick google search, but i might look more into it later when i have the time.
by szdarkhack
Wed Jan 18, 2012 6:23 am
Forum: Current Events and Science/Technology
Topic: SOPA derailed
Replies: 10
Views: 6899

Re: SOPA derailed

OK. Sounds like it was being too strict and even regulating sites when it wasn't much their fault. I don't know if I'd consider piracy JUST endangering big business though. Not that I back up what the bill said, but I think piracy can hurt more than just major corporations; not everyone in the crea...
by szdarkhack
Tue Jan 17, 2012 8:07 am
Forum: General/Off-Topic
Topic: Riddles - Warm your brain up for today's awesome dev session
Replies: 10
Views: 3947

Re: Riddles - Warm your brain up for today's awesome dev ses

I already know the answer to the first one. Concerning the second one: Why don't we have a spoiler tag? I have tried to make the text the same color as the background, so highlight it if you want to read it :) Actually the answer is a bit different. I used the same trick, so highlight below if you ...
by szdarkhack
Mon Jan 16, 2012 5:52 pm
Forum: Programming Discussion
Topic: Perspective
Replies: 33
Views: 5958

Re: Perspective

Your frustum's near plane is 0.1 unit away from the camera. Since you do NOT change the view matrix, the camera is positioned at 0 and looking down the NEGATIVE z axis. Thus, the vertices you have defined are *behind* your view. Set a normal FoV and either flip the vertices' z coordinate to negative...
by szdarkhack
Wed Dec 21, 2011 4:27 pm
Forum: Programming Discussion
Topic: Bullet keep following mouse please Help c++/sfml
Replies: 8
Views: 2206

Re: Bullet keep following mouse please Help c++/sfml

You need to store the velocity of each bullet separately and keep updating all of them, each using its own velocity. So, for example, say you click and create a bullet. You calculate its direction and velocity. Now, for each frame you must update it's position in order for it to keep moving (note th...
by szdarkhack
Tue Dec 20, 2011 5:14 am
Forum: Programming Discussion
Topic: Bullet keep following mouse please Help c++/sfml
Replies: 8
Views: 2206

Re: Bullet keep following mouse please Help c++/sfml

Ok, let's see. If i understand correctly, when a mouse click occurs, you increase the counter by 1 and create a new bullet. However, if you look at your CreateBullet function, it loops over all the bullets. You only need to setup the new bullet, not change every single one. In fact, you don't seem t...
by szdarkhack
Mon Dec 19, 2011 7:05 pm
Forum: Programming Discussion
Topic: Bullet keep following mouse please Help c++/sfml
Replies: 8
Views: 2206

Re: Bullet keep following mouse please Help c++/sfml

Hmm, it seems that you're getting the mouse position every frame and that's why it keeps following the mouse. You should only get the input once (when you click) and calculate the velocity at that point, rather than on every redraw of the sprite. I'm assuming here that you're calling Draw every fram...
by szdarkhack
Thu Dec 08, 2011 9:21 am
Forum: General/Off-Topic
Topic: Languages and linguistics
Replies: 38
Views: 14096

Re: Languages and linguistics

Here's my list: -Greek (native) -English since i was 6 -Japanese for 4-5 years (i have neglected it for a long, LONG time unfortunately, due to time constraints) -German for 2 years at school, i'd love to learn more at some point. -Russian, i can read and write, and that's about it. No idea what i'm...