Search the web
Sign In
New User? Sign Up
delphigames · Discussion of game programming in the Delphi development environment.
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 7538 - 7567 of 7611   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
7538
Hello, I'm after some advice on the following design idea. I'm currently creating some classes for my new side scrolling shooter game (R-Type style). The...
Ian Munro
ianathome12345
Offline Send Email
Aug 29, 2007
2:58 pm
7539
We use a similar concept in our commercial console games to reduce memory fragmentation and memory alloc/free overhead. We create a pool of objects at the...
Steve Williams
slygamer
Offline Send Email
Aug 29, 2007
3:11 pm
7540
Thanks for you input Sly. I don't know why I didn't think about using two lists rather than trying to be "clever" with one. You mention console games and...
Ian Munro
ianathome12345
Offline Send Email
Aug 29, 2007
3:48 pm
7541
Delphi most certainly does support double linked lists. :) Here is a very simple class to get you started. type TLinkedListNode = class public Next, Prev:...
Steve Williams
slygamer
Offline Send Email
Aug 29, 2007
3:59 pm
7542
Hi Sly, Thanks for the code, I'll give it a go when my boss isn't looking ... I guess what I should have said is that Delphi doesn't have a built in double...
Ian Munro
ianathome12345
Offline Send Email
Aug 29, 2007
4:13 pm
7543
Hi Sly, I've had a little Google on Double Linked Lists and played around with some code. I have two questions/comments for you. Firstly, the code you supplied...
Ian Munro
ianathome12345
Offline Send Email
Aug 30, 2007
11:10 am
7544
Hi Ian, You could make a private list, let's say FSprites : TList; then make a property Sprites [Index : Integer] : TMySprite read GetMySprite; Then make a...
Martin Jochems
earley50
Offline Send Email
Aug 30, 2007
1:48 pm
7545
Yes, Next and Prev should be of type TLinkedListNode. That's what you get for typing code directly into an email reply. :) It's also been a few years since...
Steve Williams
slygamer
Offline Send Email
Aug 30, 2007
1:50 pm
7546
Thanks for that Sly. Quite a bit of coding there :o) I'll grab a coffee and modify my game classes based on your linked list concept / code snippets. Once I...
Ian Munro
ianathome12345
Offline Send Email
Aug 30, 2007
2:44 pm
7547
I would say the best thing to do would be to try to understand it before integrating it. It is better to use code that you understand than code you don't. :) ...
Steve Williams
slygamer
Offline Send Email
Aug 30, 2007
2:58 pm
7548
I totally agree with what you say Sly. I'm reasonably happy with the way Linked Lists work. I used them many years ago when I maintained a C++ application....
Ian Munro
ianathome12345
Offline Send Email
Aug 30, 2007
3:20 pm
7549
Hi all, I'm looking for an interface programmer (I'm using Delphi 6 right now) for a wargame project. Paid position of course. Experience not necessary, a...
Frank Hunter
adanaccs
Offline Send Email
Sep 4, 2007
9:44 pm
7550
Hello, In my game I have a sprite object that will display a background tile. When I create one of these it gets a pointer to a surface that contains many...
Ian Munro
ianathome12345
Offline Send Email
Sep 17, 2007
8:30 am
7551
I think your proposed solution would work just fine. We do a similar thing in our commercial games, but my example comes from 3D animation data. The...
Steve Williams
slygamer
Offline Send Email
Sep 17, 2007
11:04 am
7552
Hi Ian, Storing the information in the class makes the code more clean and readable. This solution is especially good if you have many instances. On the other...
ani_silvia
Offline Send Email
Sep 21, 2007
7:01 am
7553
Hello, Thanks for your comments (and to Sly's). My program is now starting to grow and I have a nice bit of scrolling going. As soon as I can get some decent...
Ian Munro
ianathome12345
Offline Send Email
Sep 21, 2007
2:31 pm
7554
Hi all, Recently, I started to study GDI+. It happens that impressive things can be done with just a few lines of code and good enough speed. I want to make...
ani_silvia
Offline Send Email
Oct 30, 2007
10:12 am
7555
Hi, How you want to apppy this is an important factor. But you can get some very good source and examples at Torry or EFG labs. On Torry there is one FW...
win95progman@...
win95progman
Offline Send Email
Oct 30, 2007
6:23 pm
7556
Hi This TGradient component is really nice and extremely fast. I would love to learn how does it things so fast. However it uses GDI for drawing, which is slow...
ani_silvia
Offline Send Email
Nov 1, 2007
8:42 am
7557
Hi, In a number of applications I needed a structure like this: type MyStructure = record Num : integer; Arr : array[0..n] of ...; Str : array[0..n] of ...; ...
ani_silvia
Offline Send Email
Nov 1, 2007
9:55 am
7558
Would this work for you ? MyStructure = record Num : integer; Arr : array of integer ; Str : array of integer ; end; Ian ________________________________ From:...
Ian Munro
ianathome12345
Offline Send Email
Nov 1, 2007
10:02 am
7559
Here are a couple of good GDI+ for delphi links: http://lummie.co.uk/gdi-controls-for-delphi/ - several good GDI+ controls FW ...
win95progman@...
win95progman
Offline Send Email
Nov 1, 2007
10:31 pm
7560
Hello everybody! I wasn't very active here for some time but I managed to get almost to the end of Electrotehnic faculty and now I got a job so again I don't...
Igor Stojkovic
jimyiigor
Offline Send Email
Nov 3, 2007
8:26 pm
7561
Hi Igor, This group is very quiet these days which is a real shame. You should try posting on the SDL section of this website ...
Ian Munro
ianathome12345
Offline Send Email
Nov 5, 2007
8:46 am
7562
Hi guys I came to a very strange situation: Folowing th advice of Ian, I declared: type TmyGradient=record Numb : integer; Colors : array of cardinal; Pos...
ani_silvia
Offline Send Email
Nov 13, 2007
10:15 am
7563
Hello, I've created a program that exports map data for use in my game. The information about each tile is held in a record and is saved to disk using the...
Ian Munro
ianathome12345
Offline Send Email
Nov 16, 2007
10:14 am
7564
Hello, I think I've resolved my problem. I am now writing out the file using "file of integer". I first write the header which has a fixed length, this is...
Ian Munro
ianathome12345
Offline Send Email
Nov 16, 2007
5:15 pm
7565
Hi Ian, Use TFileStream, it is faster and more efficient. Example: var Stream : TFileStream; I : Integer; begin // write Stream :=...
win95progman@...
win95progman
Offline Send Email
Nov 16, 2007
7:07 pm
7566
win95progman@... wrote: Use TFileStream, it is faster and more efficient. Example: var Stream : TFileStream; I : Integer; begin // write Stream :=...
rbaprog
Offline Send Email
Nov 19, 2007
8:40 pm
7567
Thanks to all of you that gave advice. Streams certainly seem the way to go. Now I just have to design loads of graphics :o( Ian. win95progman@......
Ian Munro
ianathome12345
Offline Send Email
Nov 20, 2007
8:19 am
Messages 7538 - 7567 of 7611   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help