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




Dan

Box Dispensing

15th May 2022

If you have to place the boxes around the fixed size (i mean not going smaller) rectangle, then calculate if they fit.
If they do not, increase the size and do the calculation again until they fit.
arbitrary code is:
[code]
rem increase the rectangle u*snip*


Dan

Box Dispensing

15th May 2022

The trouble, at leas for me is, that i do not know what you want to do.
see these question to understand the problem:
What happens if you have 1 box instead of 100 ?
What should be, if you have 2 boxes ? 3 ? 4?
if you have 4 boxes, shall they be on th*snip*


Dan

Box Dispensing

15th May 2022

Just start with what i gave you. see the result, then you may discover how to apply dynamic values.
Because as soon as you start thinking in that way, a solution may come up.


Dan

Box Dispensing

15th May 2022

To calculate the top count, you simply use, say 5 (box width) + 2 (spacing) = 7 pixel
If the rectangle is 200 pixel in width, then calculate
200/7, and you get how many squares can fit there (rounded down)
at least, this is how i would begin with.


Dan

Box Dispensing

15th May 2022

What you should have is the width/height of the boxes and the spacing in between.
When you have it, it is easy to calculate how many boxes fit in the top part.
You can do that with one side.
Then you calculate the (count of the top part*2 + the count o*snip*


Dan

Happy Birthday, Dabz

11th May 2022

Happy Birthday !


Dan

The A500 Mini

10th May 2022

Yes, and a working keyboard mod like this:


Dan

Language Comparison Code : Basic Functionality Example

9th May 2022

Ok i have decided to try it in AutoIt3.
If you want to test it, you have to get the include file from Here (My Ascii Game Framework)
[code]
#include ''GDIP_AsciiGamework_include.au3''
#include <ScreenCapture.au3>
;;Startup and ending
In*snip*


Dan

Language Comparison Code : Basic Functionality Example

9th May 2022

Great.
If you do not have an image then replace the img=loadimage line with this:
[code]
img=CreateImage(128,128) ; Any image will do
SetBuffer ImageBuffer(img)
For x=1 To 100
Color Rnd(200)+55,Rnd(200)+55,Rnd(200)+55
Line Rnd(128),Rnd(128),Rnd(128)*snip*


Dan

The A500 Mini

4th May 2022

I do not have an amiga mini. But i saw someone doing some mods, on youtube:


Dan

Two Jobs

30th April 2022

If you like to do an experiment:
When going to sleep, this night, say with your thoughts: ''When i wake up, i will know which job to take.''
Do this few times (at least 3 times in the exact same wording), in a sense to have a dream which will bri*snip*


Dan

Picard Season 2

29th April 2022

Hmm, thinking about it ...
Picard became synthetic at the end of seson 1.
They switched the reality in S2.
Seven is not a borg ... but why is picard still android ?


Dan

Picard Season 2

29th April 2022

He got Androided ...
I think it is fine. Recalling that he always loved Data, now even he became synthetic.


Dan

Jay's A600

26th April 2022

Maybe this can help ? (Linkage)


Dan

Happy Anniversary, Ian and Pam

25th April 2022

Congratulations x29


Dan

Poll Chat

25th April 2022

If the question were: which is worse, then i would vote for the tatoos. You can not remove them that easy, and if you get fat, they get bigger and uglier !


Dan

Happy Birthday, Qube

22nd April 2022

Happy Quake-Day !
(quake = mix of Qube and cake !)


Dan

AGameAWeek 2022

22nd April 2022

Hmm, have you thought about to make a random game name generator ?


Dan

Happy Birthday, JProfitt

10th April 2022

Happy Birthday !


Dan

Jay's A600

8th April 2022

[quote]
I might have to get one of those Joystick Extenders, and trail all that dongle-chaos around the back of the ''desk''
[/quote]
eh, i was looking at the picture, haven't read that before !


Dan

Happy Birthday, Steve Ancell and Blanko1324

8th April 2022

Happy Twinsday !


Dan

Jay's A600

8th April 2022

One advantages of the Aniga 500/1200 is that the joystick/mouse ports are on the Back side.
Is that the A500 mini mouse ?


Dan

Picard Season 2

4th April 2022

I'm happy to see the Picard series.


Dan

Jay's A600

31st March 2022

uw.
Too easy ?
Hmm i had a score of 220ish ... playing it 4 or 5 times ...
If you want to raise the difficulty, maybe add movement to some of the spikes ?`
Like up down, or left right ?
Btw that game reminds me of Flappy Birds.


Dan

Jay's A600

30th March 2022

Do you mind if i post the link over on the english amiga board forum ?
I think some of them would like it.

Newer Posts More - Older Posts