-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|106|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-




Dan

Bitmapfont as text

18th November 2018 Blitzbasic, Windows
Bitmap fonts as easy as text. Color is changeable with the color statement.
This was made only for one font (at time), but can be expanded to use multiple fonts. For example, replacing img_font, img_char and Fontstring$ for arrays.
This is for monospace*snip*


Hotshot

Twisters Demo in just 9 Lines of Codes!

10th October 2011 Blitz Max, Windows
[code]
Const xRes = 800,yRes = 600,Pos1=175,Pos2=375;Global a#,x1#,x2#,x3#,x4#,ang#=0,amp#=7 ,HideMouse;Type Twister;Field X1#,X2#,X3#,X4#;Function twister();For a=1 To 600 Step 2;x1=((Sin((a/amp)+ang))*100)+30 0;x2=((Sin((a/amp)+ang+90))*100) +300;x3=((S*snip*


Andy_A

Cartoon Sheep Function

3rd July 2011 Blitz, Windows
Make all the cartoon sheep you could ever want...


Andy_A

Filled Rotated Ellipses

3rd July 2011 Blitz, Windows
Rotate an ellipse to any angle and fill it


Andy_A

Cartoon Speech Bubbles

3rd July 2011 Blitz, Windows
Function to draw cartoon speech bubbles


Andy_A

Cartoon Thought Bubbles

1st July 2011 Blitz, Windows
Function to draw cartoon thought bubbles


Andy_A

Texture Filled Triangle Function

13th June 2011 Blitz, Windows
Fill any triangle with any texture


Andy_A

Intersection Points of Two Circles

1st April 2011 Blitz, Windows
Get the intersection coords


Andy_A

FAST! - Scan line filled polygons

17th March 2011 Blitz, Windows
Fill ANY polygon quickly


Teasy

Generic rendering routines

30th January 2011 Blitz, Windows
Handy text routines, RGB modification and HSL conversion, and some custom Rect/Oval functions.


Jayenkai

4096 Baddies

24th October 2010 Blitz, Windows
[code]
Graphics 640,480,32,2
SetBuffer BackBuffer()
bigimg=CreateImage(1024,1024)
Global img=CreateImage(16,8,2)
Global seed=MilliSecs()
ex=0
ey=0
Repeat
MakeBad()
SetBuffer ImageBuffer(bigimg)
DrawImage img,ex,ey,0
DrawImage img,ex+16,ey,1
Se*snip*


HoboBen

Simple Random Terrain Generator

14th May 2010 Cobra, Windows
Simple fractal random terrain generation. Less than 100 lines of code, including displaying to screen. Adjustable turbulence.
[code]
{
By Ben Golightly 2010, tophatstuff.co.uk
Feel free to modify and use with or without credit
}
Program
*snip*


JL235

Gradients

26th July 2009 Blitz, Windows
Generic gradients ready to use


Evil Roy Ferguso

Spectrum-Style Graphics

7th June 2009 Blitz, Windows
Does what it says on the tin.


Jayenkai

Cogs!

7th November 2008 Blitz, Windows
I'm not entirely sure that this'll ever be useful to anyone.. ever!
But either way, here's how I made the cogs for my Gearworks game.. ('cos I was scared of drawing it by hand!!!!)
This makes nice black and white cogs.
To then add a bit of chunkyness,*snip*


Andy_A

Dot Matrix Font

5th September 2008 Blitz, Windows
A font for 'Retro' projects


steve_ancell

2D Image Flipping.

2nd September 2008 Blitz, Windows
A couple of simple image flip functions.


Jayenkai

Ye-Olde Vector Font

14th August 2008 Blitz, Windows
Straight from Invisible Munky comes a nice little vector font!
Enjoy!
And feel free to tweak to your own style of font..
[code]
Graphics 800,600,32,2
SetBuffer BackBuffer()
Gosub GetFont
Repeat
Cls
DrawText 0,0,''This is probably too small&quo*snip*


Phoenix

3D in 2D Cube

20th March 2008 Blitz, Windows
A classical and simple 3D effect made in 2D


Andy_A

Fast Image Color Replacement

26th February 2008 Blitz, Windows
Good way to change sprite colors in real time


Andy_A

Alpha Sprites

23rd February 2008 Blitz, Windows
Realtime alpha blended sprites


Jayenkai

Simplistic Scrolling

1st October 2007 Blitz, Windows
Scroll to the right place!


Jayenkai

Cheap lighting effect

18th June 2007 Blitz, Windows
But probably slow!


flying_cucco

Falling Sand

12th May 2007 Cobra, Windows
My first Cobra program

More - Older Posts