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




mike_g

Binary game

23rd March 2007

Heres a little Binary Game I made in javascript. Its nowhere near as nice as the cisco one. But its got some hex questions too.


mike_g

Just out of curiosity...

21st March 2007

If you learn how bit shifting works then coding something like that is pretty straight forward. Shl shifts a bit left doubling its decimal value. Shr shifts right halving the value.
As an example: you can take a binary true state (1) and shift it left 7 t*snip*


mike_g

#092 - The Photo Challenge

20th March 2007

This sounds like it could be fun. I might have to make an entry this week :)


mike_g

Just out of curiosity...

20th March 2007

I'm pretty sure you cant :(
Intergers allocate 4 Bytes in Blitz. You could use an integer to hold up to 32 bool values using bit shifting if you really wanted to.
[edit]If you are writing to files then you can write Bytes, but not individual bits.[/edit*snip*


mike_g

ACM 2007

19th March 2007

Some of those look pretty hard to me. Dont think I would do very well at it :(


mike_g

Pixel-perfect collision detection between types

18th March 2007

Heres a very simple sandbox prog I made. It aint very realistic, but its a start:
[code]
Graphics 400, 400, 32, 2
SetBuffer BackBuffer()
Type grain
Field x, y
End Type
Dim pile(400)
For i = 0 To 399: pile(i)=340: Next
time = MilliSecs()
While No*snip*


mike_g

Pixel-perfect collision detection between types

18th March 2007

Imho I think that something like this would be do-able in Blitz.


mike_g

Faster collision detections

18th March 2007

Heres something I just came up with. It cuts out some unecessary checks when doing collision detections. Its only a rough start and I imagine that it can be made quite a bit faster but it goes to show how many duplicate collison checks get done by using th*snip*


mike_g

Pixel-perfect collision detection between types

18th March 2007

Since the 'parts' are only 1 pixel big in you prog I would imagine that it would be faster to check to see if they have the same x\\y co-ords instead of using RectsOverlap().
The code for checking the parts against one another can also be improved as many *snip*


mike_g

Pixel-perfect collision detection between types

18th March 2007

[quote= blitz3dman]
GAH HOW I MAKE SMILEYS GO BYEBYE?[/quote]
Dude you put the code in quotes instead of a
[code] code box [/code]


mike_g

Pixel-perfect collision detection between types

18th March 2007

Hey blitz3dman, If you post your code maybe someone could help you to optimize it if possible.


mike_g

#091 : The MyGameIdeas.com Challenge

15th March 2007

Looks like it will be fun to play :)


mike_g

Hello

13th March 2007

Hi :)


mike_g

20 Second Fish Tank Demo

12th March 2007

A short old school demo I made. Can anyone let us know if you get a MAV when you run this? It works fine for me but someone else said that they had a problem with it. Cheers :)


mike_g

My First Forums

12th March 2007

Looks good :)


mike_g

Amoeba Things In Cobra

11th March 2007

A Cobra version of a Blitz prog I posted a while back. It now has a fill parameter using the built in FloodFill command, which makes it look much nicer :)
[code]
program
uses pure2d, keyset
var
fuzzer: array[10, 360] of integer
fuzzdir: *snip*


mike_g

Rounded Rectangles

11th March 2007

Draws Rounded Rects


mike_g

Scrolling LED text

5th March 2007

Heres some code for scrolling LED-like text I just finished. It shouldent be too hard to add to programs. Theres still a bit of tweaking I want to do to it but other than that its pretty much finished :)
[code]
Graphics 640, 480, 32, 2
;----------------*snip*


mike_g

CreateTimer and WaitTimer

4th March 2007

When I want to control the speed that my prog runs at I use CreateTimer and WaitTimer. I have seen people before moan about how bad this is. I was just wondering why? Coding a timer wouldent exactly be hard but is there really a benefit to it?


mike_g

Eclipse

4th March 2007

Well its not such a bad picture cucco considering that you would need a mega telescopic zoom to get even a half decent photo of the moon :)


mike_g

Scrollbars

4th March 2007

Heres a pair of functions I posted on dev-crunch. But since its gone i figured i may as well put em here. Once function does a vertical scrollbar, the other a horizontal one. They work pretty much perfectly as long as you dont use more than one of each typ*snip*


mike_g

Eclipse

4th March 2007

I had cloud where I was :(


mike_g

Sector Drawing Function

3rd March 2007

Draws a sector of a circle


mike_g

type help

28th February 2007

Delete this.array?
Never tried using an array in types like that myself. Wouldent it be better just to have a load of "array"'s instead using a handle to get the one you want.
I aint that big & clever so i'm probably all wrong, but at least i got somethi*snip*


mike_g

Went to devcrunch...whoa!!

19th February 2007

Just had a look. Seems that devcrunch hasent dissapeared. They are changing it. No more forums tho.

Newer Posts More - Older Posts