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...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

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 7549 - 7578 of 7611   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
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
7568
This is mostly a test. But Stream is realy a good thing. I'd like to introduce some of useful class I ever used. 1. DataObj TDataObj= class procedure...
xiaorang@...
xiaorang2003...
Offline Send Email
Nov 23, 2007
2:57 am
7569
Hi guys, It is quite these 2-3 months in this group. That is way I hope my question will activate discussions. Here I have a component derived from...
ani_silvia
Offline Send Email
Nov 28, 2007
2:59 pm
7570
Hello, I've not tried this but you may want to give it a go. As TGraphicControl derives from TControl, why not make use of TControl's OnResize event ? First...
Ian Munro
ianathome12345
Offline Send Email
Nov 28, 2007
3:18 pm
7571
Well, this will work if I want the calculations to be made outside the component. But my goal is that the component itself will make the calculations when the...
ani_silvia
Offline Send Email
Nov 28, 2007
3:38 pm
7572
The calculations can be done inside your object by setting the OnResize callback in the constructor of your object: Class declaration: TmyComponent = class...
Ian Munro
ianathome12345
Offline Send Email
Nov 28, 2007
4:04 pm
7573
It's been a long time since I have done any Delphi component coding, but in these cases there is usually a virtual method that calls the event handler. In...
Steve Williams
slygamer
Offline Send Email
Nov 28, 2007
8:33 pm
7574
For number 1, you can override the AdjustSize proc: ex. procedure AdjustSize; override; For number 2, you can override the CMColorChanged message: ex....
win95progman@...
win95progman
Offline Send Email
Nov 29, 2007
1:16 am
7575
Wow guys, you are great! First thing that came to my mind was what Ian suggested. But as Steve said: "Events are for external use. The methods are for internal...
ani_silvia
Offline Send Email
Nov 29, 2007
5:37 pm
7576
... It's been a while since I wrote a component as well, but I think a WM_SIZE message will only get fired for controls that have a Window Handle. Dominique....
Dominique Louis
dominiqueats...
Offline Send Email
Nov 30, 2007
11:10 am
7577
Hi guys, I'm trying to do control with real transparency – when you put a picture under it you must see the picture trough transparent pixels. Can you give...
ani_silvia
Offline Send Email
Dec 12, 2007
8:13 am
7578
I have a design question and am interested in your views. In my game I use images as tiles to display the background and all the bits that move around and...
Ian
ianathome12345
Offline Send Email
Dec 12, 2007
11:50 am
Messages 7549 - 7578 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