Search found 1290 matches

by dafhi
Nov 16, 2011 22:41
Forum: General
Topic: Line Input and hex code 1A
Replies: 5
Views: 979

the actual painting is meant to be viewed as text.

I am creating databases for a game.
they look like

+---------------------
| Name | Mana | HP

It's difficult to do in a text editor. I've solved the problem though. I just wont use char 1A when painting
by dafhi
Nov 16, 2011 18:04
Forum: General
Topic: Line Input and hex code 1A
Replies: 5
Views: 979

@jevans I'm developing a paint program of sorts, for text. To test, I filled this portion with random data, formula equal to 14 + Rnd * 50 [][][][][][CR][LF] [][][][][][CR][LF] I doubt I'll be using hex 1A as a value to paint with, but if it came down to it, I'll write my own Line input function. I ...
by dafhi
Nov 16, 2011 4:52
Forum: General
Topic: Line Input and hex code 1A
Replies: 5
Views: 979

Line Input and hex code 1A

Thought I'd bring this up as I'm working with file data.

I discovered that when Line Input finds this value, it thinks "End Of File", returns data not including the 1A char, and breaks any EOF loop.
by dafhi
Nov 15, 2011 20:38
Forum: General
Topic: Squares
Replies: 7518
Views: 451751

@dodicat. oops, i meant x2,y2 :)

doesn't surprise me one bit you've already got something like that. I will have a look. project code is expanding rapidly.

I make it sound like I'm the Borg.

[EDIT] had a look. Loving the elegance of your snippets.
by dafhi
Nov 15, 2011 1:17
Forum: General
Topic: Squares
Replies: 7518
Views: 451751

@dodicat I had a neat idea. I'm creating text databases for a game thing, like so: +------------------+-------------+-------- | | | | Base | | | +-------- | | | | | | | | | | | | | | | | | | | | | Name | Cool | Mana | Cast | +------------------+-------------+------- | Firebolt | | 50 | 8 | +--------...
by dafhi
Oct 29, 2011 9:06
Forum: General
Topic: Squares
Replies: 7518
Views: 451751

@Richard

Fun read. It feels about the same for me. Probably not as in-depth and well-thought out as what you've got, but stuff I'm proud of nonetheless.
by dafhi
Oct 22, 2011 2:55
Forum: Tips and Tricks
Topic: mandelbrot
Replies: 14
Views: 1926

Thanks doder
by dafhi
Oct 20, 2011 1:26
Forum: Tips and Tricks
Topic: mandelbrot
Replies: 14
Views: 1926

mandelbrot

Smooth color mandelbrot with color cycling. Lets you save a .bmp twice as big as viewport. Note: alpha channel with .bmp only visible in a handful of editors / viewers. - UPDATES - Jan 23 - code clarifications and general improvement Jan 17 - A quick update to improve visibility during initial calcu...
by dafhi
Oct 20, 2011 1:05
Forum: Projects
Topic: mp3 to midi realtime program
Replies: 3
Views: 824

I noticed this too. Just being able to read and write midi data is a valuable skill.
by dafhi
Oct 20, 2011 1:01
Forum: Tips and Tricks
Topic: gfx pointer arithmetic
Replies: 2
Views: 579

small code size is quite impressive. looking forward to seeing more of your opengl stuff
by dafhi
Oct 18, 2011 16:51
Forum: Tips and Tricks
Topic: gfx pointer arithmetic
Replies: 2
Views: 579

gfx pointer arithmetic

in all her quirky glory. [Updated] for readability Dim As Integer SCR_W = 480, SCR_H = 360, bpp = 32 Dim As Integer wid,hgt,bypp,pitch ScreenRes SCR_W,SCR_H,bpp ScreenInfo wid,hgt,bpp,bypp,pitch Dim As Integer widm = wid - 1 Dim As Integer hgtm = hgt - 1 Dim As Integer pitchm = pitch - bypp Dim As U...
by dafhi
Oct 07, 2011 12:57
Forum: General
Topic: Squares
Replies: 7518
Views: 451751

definitely some scene material :)
by dafhi
Sep 15, 2011 3:52
Forum: General
Topic: Squares
Replies: 7518
Views: 451751

reminds me of pig guard with food in a basket :)
by dafhi
Sep 15, 2011 2:26
Forum: General
Topic: Squares
Replies: 7518
Views: 451751

pretty cool dodi. I had a crazy idea. There I am using that word again. Anyway, if Unlimited Detail tech is for real, there is the potential for crazy built upon crazy. Faster rendering through masks, for instance.
by dafhi
Sep 15, 2011 1:14
Forum: Tips and Tricks
Topic: Fast polygone and triangle BPP 8,15,16,24,32
Replies: 15
Views: 4979

@badidea

check out Richard's post at the bottom
http://www.freebasic.net/forum/viewtopic.php?t=17111

Go to advanced search