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...
Want to share photos of your group with the world? Add a group photo to Flickr.

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 7554 - 7583 of 7611   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
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
7579
I don't know if this would be practical for you, but wouldn't it help if you treated non-animated sprites as an animated sprites that have only one frame of...
ai_no_kareshi
Offline Send Email
Dec 12, 2007
12:13 pm
7580
It doesn't make sense to derive sprites from images since you may have 10 aliens attacking you and they could use the same image which would save much memory....
Igor Stojkovic
jimyiigor
Offline Send Email
Dec 13, 2007
10:13 am
7581
Hello, The Image class that my sprite class derives from is quite memory efficient as it just holds a pointer to a SDL surface (I don't create individual...
Ian Munro
ianathome12345
Offline Send Email
Dec 13, 2007
10:49 am
7582
Ani_Silvia <ani_silvia@...> wrote: Hi guys, I'm trying to do control with real transparency – when you put a picture...
rbaprog
Offline Send Email
Dec 13, 2007
9:38 pm
7583
Hi rbaprog, I've read very carefully your post (2 times). Here are some observations: "You can get background using Themes unit" Do you know how? (I know that...
ani_silvia
Offline Send Email
Dec 17, 2007
10:01 am
Messages 7554 - 7583 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