sorry for the late reply:P
havent tried chrome. only C#.
dont know if they can be mixed in a project, and i havent used 3rd prty libs, so i dont know how they would work:P
Type: Posts; User: Diaboli
sorry for the late reply:P
havent tried chrome. only C#.
dont know if they can be mixed in a project, and i havent used 3rd prty libs, so i dont know how they would work:P
Hi guys!:D
I've been away from delphi and pascal for the last several months. Since january i have been programming a XNA-Game for the Imagine Cup 2008, and i have more or less fallen in love with...
The last version of GM tha Mark Overmars made was written in Delphi 7, as far as i know (from the old GM-pages)...
very cool!
thx, all! :D
i'm currently trying to solve some other problems in the MORPG, and dont use much time on this mapeditor, as i'm not come to the point of actually loading maps in the client yet. and...
found this "bug":
procedure TPHXAnimation.Update(State: PPHXAnimationState; FrameTime: Single);
var Frame: TPHXAnimationFrame;
begin
// Only update if active
if( State^.Active) then begin...
Well, i bet this isnt really a large feat, but i think it is nice. especially when i think of that i only just started programming it at school today...
It is programmed in Delphi 2006, using...
ah... i thought it had checked that it wasnt a register.
i now have a strange problem, though:
when i use getint or getsingle, it sometimes doesent terurn the way it should.
for instance in my...
yeah, it didnt compile :P
i think the forum changed some parts of it...
anyways: i got it working now, so :D
hmm... i have had no trubble with that...
i use Indy 10 for sockets (just figured out how to get it to listen properly, as you can see of my previous thread), and have made my own End-Of-Line,...
well, the code is actually highly useful to me. I am supposed to use it to send data between client and server for a rpg i'm trying to code.
of course, the project is not one i believe i will...
floattostr converts a float to a string representation of that float.
like:
f: Single = 1.526543;
s: string;
s:= floattostr(f);
then s is: "1.526543"
System: Dell M1710 (2,16GHz Duo|2048mb RAM|GeForce Go 7950GTX 512mb)
IDE: Delphi 2006
Lib: none
I trying to make a function that stuffs a single into a string.
A single is 4 bytes, so i thought...
thx!:)
The criticalsections i use are taken from a guide to multithreading that AthenaOfDelphi has written. i'll see if i can rewrite it to use your method instead, if it is needed.
My topmost...
Now this is possitively puzzling:
When there are no characters assosiated with the account, the packet is received and everything "works".
When there is a character assosiated with the account,...
I use the critsections in the other threads that uses "Client", for instance the thread that sends packets that are in the outgoing que:
procedure TConnectionthread.SendPacket(Packet: TPacket);...
More info:
This happens when the client receives my "SMSG_CharEnum" packet (wich contains the characters that are registerred to the account).
When the client receives an "Login OK" flag, it...
System: Dell M1710 (2,16GHz Duo| 2048mb RAM | GeForce Go 7950 GTX 512mb)
IDE: Delphi 2006
Library: Indy 10
I have encountered an irritating problem with the thread that i made to listen for...
So if I resize my patterns to 32x32 (blank space on both sides of characters), and put some spacing between petterns, it will look better?
will it help if i in addition to that resized the...
I dont do any resizing at all, so there really shouldnt be any problem.
each sprite is 24x32pixels, and 24 does not add up to 256.
i dont see any reason for having spritesheets that are uniform...
well, my problem is still there. maybe it doesent have anything to do with this at all?
i sometimes get artefacts from the above animation (in the spritesheet), and there seems to be some blurring...
i've been thinking about that too, though i didnt really understand why my sprites were of so much lower quality.
(originally 24x32 pixelart-sprites, that gets blurred... strange artefacts now and...
Hmm... does the TAnimatedSprite's Z property do anything?
In my game, a character is a set of different sprites put together. to get this working in UndelphiX, all i had to do, was to adjust the...
thx! :D now i just have to find out how to use it... :P
EDIT: wich i just did... :P
i meant like a component that you can put on a form. like the TDXDraw, wich can be placed on a form and scaled and whatnot.