Search found 135 matches

by PlayerOne
Jan 16, 2008 19:44
Forum: Game Dev
Topic: Game Programming Algorithm
Replies: 36
Views: 12478

I'm not sure why everyone is so bothered about pixel-perfect collision, to be honest. Just use bounding boxes, it's much simpler and hardly anyone will notice.
by PlayerOne
Jan 13, 2008 19:21
Forum: Archive
Topic: [Alzir] 3-Week Roguelike outcome...
Replies: 17
Views: 10791

You should be able to save a level map just by saving the random seed that was used to generate it (I'm assuming it does have random maps, I haven't actually played it yet).

If you want other information to persist (eg, which monsters are dead) then it might be a bit trickier.
by PlayerOne
Dec 23, 2007 23:27
Forum: Community Discussion
Topic: Natural Sorting Algorithm Competition
Replies: 20
Views: 9685

Is it recognising i as a number? :-) (If so it's still wrong, because i would come before 037)
by PlayerOne
Dec 20, 2007 15:29
Forum: Community Discussion
Topic: Natural Sorting Algorithm Competition
Replies: 20
Views: 9685

In the end, you have to make assumptions about what the text represents, which can easily be wrong. Everything is a compromise, a best-guess. How does it cope with dates, fractions, hexadecimal, etc? Is it really best to try to guess what the user means with insufficient evidence, or is it better th...
by PlayerOne
Dec 17, 2007 21:33
Forum: Community Discussion
Topic: Natural Sorting Algorithm Competition
Replies: 20
Views: 9685

Heh, that smart sorting in Explorer (only since XP, I believe, my Win98 certainly doesn't sort like that) actually bugs me at work, where I have some files that I would prefer not to be sorted like that. That article/discussion also seems to be missing the point that an ascii sort is also case-sensi...
by PlayerOne
Dec 13, 2007 23:20
Forum: Community Discussion
Topic: Defining a Community. Why is Ours Lost?
Replies: 76
Views: 35782

Should FB even have a community? I'm playing Devil's Advocate a bit here, but QB, essentially, was (is) a ghetto. It runs in its own obsolete little world - DOS - that everyone else hasn't seen for over a decade, with greatly restricted capabilities and a largely incestuous audience. It seems to me,...
by PlayerOne
Oct 22, 2007 19:18
Forum: Game Dev
Topic: Game Development: Square One
Replies: 19
Views: 10639

Now PlayerOne, why the community wasn't informed about this lovely game of your? Love the graphics! Can I add it to my FreeBASIC Games Directory ( http://games.freebasic.net )? Sure. I meant to add it myself, but I'm pretty disorganised and lazy most of the time. It doesn't even have a proper home ...
by PlayerOne
Oct 21, 2007 19:27
Forum: Game Dev
Topic: Game Development: Square One
Replies: 19
Views: 10639

Hmm, an RPG ought to be no different from any other "simpler" game, except in terms of scale. You can get away with bad practice easier on a simpler game, though, and it often takes people a few goes to figure out what good practice is, when it comes to making a game. For instance, I've wr...
by PlayerOne
Dec 11, 2006 20:14
Forum: General
Topic: Rendering Algorithm
Replies: 6
Views: 2053

There are techniques used in emulators which might be what you're after, such as 2xSaI:

http://en.wikipedia.org/wiki/2xSaI

edit: and hq3x:

http://www.hiend3d.com/hq3x.html
by PlayerOne
Sep 23, 2006 10:52
Forum: General
Topic: random files in Qb and in FB not compatible !! CLOSED
Replies: 15
Views: 4619

The types are not compatible. That is why counting_pine's code has functions to read and write them in a QB-compatible way.
by PlayerOne
Aug 28, 2006 9:57
Forum: General
Topic: screen sync
Replies: 13
Views: 3684

Yes, I found screensync pretty useless at avoiding tearing, too. And if anonymous1337's code is accurate then it's not really surprising since it's not doing anything like what I expected. Flip seemed to be a much more reliable way of getting clean refreshes. Personally, I don't find the error margi...
by PlayerOne
Aug 28, 2006 9:40
Forum: General
Topic: Sleeping...
Replies: 4
Views: 2783

I think there are actually 1024 "milliseconds" in a second when it comes to computer timing, but that ought to speed up the sleep not slow it down. Perhaps the extra time is, as you originally suggested, the time lost waking up to poll for keyboard input? The last thing to remember is that...
by PlayerOne
Aug 16, 2006 20:24
Forum: General
Topic: Crimson Editor FB Syntax File?
Replies: 3
Views: 1572

That never occurred to me, either. I've just been using one based on the default basic template which I add to every now and again.
by PlayerOne
Aug 14, 2006 19:56
Forum: General
Topic: What's wrong with this floodfill routine?
Replies: 4
Views: 2340

Also, I think you're making the same mistake I did with mine (which should be archived in these forums somewhere*): it will go into an infinite loop if target and replacement are the same colour.



*Okay, I looked it up: http://www.freebasic.net/forum/viewtopic.php?t=2455
by PlayerOne
Aug 12, 2006 13:35
Forum: General
Topic: Windowed Games
Replies: 7
Views: 2302

We have a pixel-doubled mode in OHRRPGCE for exactly that reason. I also added optional borders to bring it up to 640x480 fullscreen for monitors that don't cope well with old DOS resolutions. It's not necessarily an easy fix, though. I did it by doing all the graphics internally, drawing to a 320x2...