Author |
Message |
Topic: Glut |
ViolentAJ
Replies: 3
Views: 8538
|
Forum: Derelict Posted: Thu Apr 23, 2009 9:36 am Subject: Glut |
I'll probably look into Arc if I can. I have looked over those tutorials (not the Arc part though, since I didn't want to dl another library; last time I tried installing Tango it ruined everything el ... |
Topic: Array of objects |
ViolentAJ
Replies: 6
Views: 19390
|
Forum: General Posted: Thu Apr 23, 2009 2:42 am Subject: Array of objects |
Thanks. It worked out. |
Topic: Glut |
ViolentAJ
Replies: 3
Views: 8538
|
Forum: Derelict Posted: Thu Apr 23, 2009 2:31 am Subject: Glut |
I'd like to know how to import glut. Would it be import derelict.glut?
I want towork on this guy's tutorials. They actually make sense to me out of all of the tutorials that I've seen.
http://ww ... |
Topic: Array of objects |
ViolentAJ
Replies: 6
Views: 19390
|
Forum: General Posted: Tue Apr 21, 2009 11:28 pm Subject: Array of objects |
Thank you.
I'll try to learn more D over the summer. I think that I did a bit for this project, now I just have to work on my powerpoint. Thanks everyone.
I just have one more question. I'm tryi ... |
Topic: Random Integers |
ViolentAJ
Replies: 7
Views: 21350
|
Forum: General Posted: Sun Apr 19, 2009 4:22 pm Subject: Random Integers |
I used C's srand() and rand(). It was a bit easier for me to understand. |
Topic: SDL Tutorial Problem |
ViolentAJ
Replies: 3
Views: 7822
|
Forum: Derelict Posted: Sun Apr 19, 2009 7:01 am Subject: SDL Tutorial Problem |
Thanks. I'll have to revamp the whole bloody thing.
It sees like tons of code from Lazy Foo just doesn't apply in D... |
Topic: SDL Tutorial Problem |
ViolentAJ
Replies: 3
Views: 7822
|
Forum: Derelict Posted: Sun Apr 19, 2009 4:25 am Subject: SDL Tutorial Problem |
I'm sorry for posting continuously, but I'm trying to get some stuff done for my semester project. I regret choosing D since it's so hard to search for info and specific tutorials. I should have chose ... |
Topic: Array of objects |
ViolentAJ
Replies: 6
Views: 19390
|
Forum: General Posted: Sun Apr 19, 2009 12:42 am Subject: Array of objects |
Ok. This is my new code, and I get the following errors:
module GameClient;
import std.stdio; //I must remember the import declarations go under module
import std.cstream;
import std.conv;
... |
Topic: Array of objects |
ViolentAJ
Replies: 6
Views: 19390
|
Forum: General Posted: Sat Apr 18, 2009 9:39 pm Subject: Array of objects |
I'm sorry for posting here continuously, but there are so few resources. I try googling, but to little avail.
I'm trying to make an array of Enemy objects for a simple RPG battle that I'm making.
... |
Topic: Object-oriented troubles |
ViolentAJ
Replies: 2
Views: 13575
|
Forum: General Posted: Sat Apr 18, 2009 9:04 pm Subject: Object-oriented troubles |
Nevermind. I have to use "%s" for strings and %d" for numbers. I'm very sorry for wasting your time. Thanks anyway. |
Topic: Object-oriented troubles |
ViolentAJ
Replies: 2
Views: 13575
|
Forum: General Posted: Sat Apr 18, 2009 9:00 pm Subject: Object-oriented troubles |
Well, I fixed it by changing the empty methods from method(); to
method() {
}
Now, when I try to run it, I get the following erro (it compiles but actually running the .e ... |
Topic: Object-oriented troubles |
ViolentAJ
Replies: 2
Views: 13575
|
Forum: General Posted: Sat Apr 18, 2009 8:49 pm Subject: Object-oriented troubles |
I had a similar problem before, but it was easily solved. This time, I don't know what's wrong. I have a few classes for a basic RPG type battle.
Character:
//This will be a character super clas ... |
Topic: Random Integers |
ViolentAJ
Replies: 7
Views: 21350
|
Forum: General Posted: Sat Apr 18, 2009 7:01 pm Subject: Random Integers |
Nevermind. I just had to use null instead of NUL with all caps. Problem solved for now lol thanks for your help. |
Topic: Random Integers |
ViolentAJ
Replies: 7
Views: 21350
|
Forum: General Posted: Sat Apr 18, 2009 6:53 pm Subject: Random Integers |
Thanks. I think that the way to do it in C is much easier to understand though. The only problem is I get the following error.
This is my code:
//Random number generation. This is an important ... |
Topic: Random Integers |
ViolentAJ
Replies: 7
Views: 21350
|
Forum: General Posted: Fri Apr 17, 2009 11:21 pm Subject: Random Integers |
Michael, I tried to click the replies to that linkt hat you gave me, but they lead to some other thread... |
|