Search found 14 matches

by HienTau
Thu Jan 20, 2011 2:08 pm
Forum: Applications - Feedback and Discussion
Topic: Komplot CSV plotter
Replies: 0
Views: 2602

Komplot CSV plotter

Important: As of 2011-08 this project is discontinued and the download links removed. If you have interest in parts of the source code please PM me. Otherwise have a look at KST here , a great plotter superceding Komplot in about every aspect (except for name :wink:).

Hello,

I wrote a plotter for ...
by HienTau
Sun Jan 16, 2011 9:36 pm
Forum: Applications - Feedback and Discussion
Topic: "Drug Test" screensaver
Replies: 2
Views: 2153

Re: "Drug Test" screensaver

Good to hear that it's not too tough for the eyes :)

Random side note: Saving the output of the saver as compressed video is practically impossible, because current algorithms cannot deal with videos where every pixel changes often.
by HienTau
Sun Jan 16, 2011 4:39 pm
Forum: Applications - Feedback and Discussion
Topic: "Drug Test" screensaver
Replies: 2
Views: 2153

"Drug Test" screensaver

Hi,

I did a sort of texture screensaver some months ago. It's quite psychedelic and colorful. :lol:
You can download it here . Ugly, undocumented source code included.

Color ranges are calculated at startup. So everytime you restart the exe the colors will be different.

http://nursokram.de/blog ...
by HienTau
Sat Jan 15, 2011 12:55 pm
Forum: Coding Questions
Topic: OpenWindowedScreen and double addition
Replies: 4
Views: 1435

Re: OpenWindowedScreen and double addition

I opened a bug report topic. Thanks for checking the code :D
by HienTau
Sat Jan 15, 2011 3:52 am
Forum: Coding Questions
Topic: OpenWindowedScreen and double addition
Replies: 4
Views: 1435

Re: OpenWindowedScreen and double addition

Thanks for the reply, IdeasVacuum.

The example I posted is actually part of a larger piece of software for plotting data on screen. I need floating point numbers to store other types of dates, but using your hint I can at least work around the issue. 8)
by HienTau
Sat Jan 15, 2011 1:44 am
Forum: Coding Questions
Topic: OpenWindowedScreen and double addition
Replies: 4
Views: 1435

OpenWindowedScreen and double addition

Hi,

Either it's too late :shock: or there's something strange going on in this piece of code:

t.d = 0
x1.d = t + ParseDate("%yyyy/%mm/%dd %hh:%ii:%ss", "2021/01/01 17:02:01")
x2.d = ParseDate("%yyyy/%mm/%dd %hh:%ii:%ss", "2021/01/01 17:02:02")
x3.s = FormatDate("%yyyy/%mm/%dd %hh:%ii:%ss", x1)
x4 ...
by HienTau
Fri Jul 15, 2005 2:03 pm
Forum: Off Topic
Topic: FREEBASIC compiler
Replies: 31
Views: 9547

I'd say you better look for another compiler. I tested it once, didn't like it and really don't know why one should invest money and time into it. As far as I can see it's Windows-only and isn't exactly the best tool for games. PureBasic and even FreeBasic are better for such tasks.

Apart from that ...
by HienTau
Fri Apr 22, 2005 6:55 pm
Forum: Game Programming
Topic: Bomb Jack
Replies: 22
Views: 7063

The speed problem is no PureBasic error. To avoid this problem programmers must use SetFrameRate() and SetRefreshRate() correctly, otherwise default rates are selected (and these can differ from system to system). But back to the topic...
by HienTau
Mon Feb 28, 2005 10:21 am
Forum: Game Programming
Topic: Sprite Mirroring
Replies: 12
Views: 4486

Good job blueznl 8), even though I can't use the code. :cry: If I would use BMPs instead of JPGs the game would become about 7x larger than now. Even if I mirror my JPGs I use less space. I also can't use DataSections, because this would require a rebuild as soon as one single image changes ...
by HienTau
Sat Feb 26, 2005 12:31 am
Forum: Game Programming
Topic: Sprite Mirroring
Replies: 12
Views: 4486

Thank you guys. I'll use Hroudtwolf's suggestion (StretchBlt), even though this solution is Windows only. Using Linux compatible code seems to be too much of a mess. TransformSprite3D is a nice idea, but it doesn't work (I tested it). Using TransformSprite3D the way it should work results in a black ...
by HienTau
Fri Feb 25, 2005 6:49 pm
Forum: Game Programming
Topic: Sprite Mirroring
Replies: 12
Views: 4486

Thank you again. Sounds interesting. I will give it a go... and tell you if one of your suggestions works for the game.
by HienTau
Fri Feb 25, 2005 6:06 pm
Forum: Game Programming
Topic: Sprite Mirroring
Replies: 12
Views: 4486

Thank you for your suggestion. I guess you meant the flip sprite code. Unfortunately it is still Windows only. Or did I miss something?
by HienTau
Fri Feb 25, 2005 5:08 pm
Forum: Game Programming
Topic: Sprite Mirroring
Replies: 12
Views: 4486

plgblt and some other blitting functions are great for Windows development (BitBlt was my best friend some years ago), but I am planning to do a game that works on Linux and Windows (at least the base; advanced stuff must be done with DirectX). I wondered, whether it is possible to get the Sprite ...
by HienTau
Fri Feb 25, 2005 4:23 pm
Forum: Game Programming
Topic: Sprite Mirroring
Replies: 12
Views: 4486

Sprite Mirroring

I am trying to mirror (a lot of) sprites during runtime to safe some hard disk space, but unfortunately using an array and the Plot command is very slow. Is there a fast way to do this?

The current code looks like this:

; get source pixels
StartDrawing(SpriteOutput(srcImg))
For i2=0 To ...