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



spinal

Sine of Ints

20th October 2019

hmmm, not right....
[code] Graphics 440,352,0,2

Cls

Global numHills = 200
Global hillMin = 40
Global hillMax = 176-40
Dim hillTops(numHills)
Global offsetX = 0;
Global hillWidth = 48*4;
Global fps
Global groundMidPoint = 0.0

Global GRAVIT<snip>


spinal

Sine of Ints

20th October 2019

hmmmm, this seems a little less accurate on higher angles than I expected. Have I done something wrong do you think?


[code] Graphics 440,352,0,2

Cls

Global numHills = 200
Global hillMin = 40
Global hillMax = 176-40
Dim hillTops(numHills)
Gl<snip>


spinal

Sine of Ints

19th October 2019

Yeah, changed it to just plot the first pixel and getting 60fps.


spinal

Sine of Ints

18th October 2019

OK, it seems to work, but I can't imagine why it would be son incredibly slow... I'm getting an out of this world 3fps from this.

[code] Graphics 800,600,0,2

Cls

Global numHills = 200
Global hillMin = 40
Global hillMax = 176-40
Dim hil<snip>


spinal

Sine of Ints

18th October 2019

I wish they would pass laws about sin/cos using degrees or radians 😤


spinal

Sine of Ints

18th October 2019

OK, attempted to pop the code into blitz for speed of testing etc. but for some reason this no work

[code] Graphics 800,600,0,2

Cls

Global numHills = 200
Global hillMin = 40
Global hillMax = 176-40
Dim hillTops(numHills)
Global offsetX = <snip>


spinal

Red Dwarf ''Special''?

18th October 2019

Apparently its another feature-length special.... If it's anywhere near as good as Back To Earth, I'll give it a miss. I can't stand when comedies are slow and boring.


spinal

Sine of Ints

16th October 2019

Broke it. Ok time to start over.... Tomorrow 😆


spinal

Sine of Ints

15th October 2019

Tried a different approach. Rather than adding global gravity to the wheels, I tried rotating each wheel around the other and the acceleration moving in the direction of the angle between the wheels...

[img]https://socoder.net/uploads/124/2019/42/hillga<snip>


spinal

Sine of Ints

14th October 2019

OK, started it up in java on pokitto. So far, I have plenty of hills and a small wheeled 'car' (that's a stretch, its a line with two wheels), currently I'm only using forward acceleration and gravity, like what I learned doing platformers <snip>


spinal

MSDOS Archive

14th October 2019

If only I could install DOS /win95 natively on my old mac mini the same way I can with win10


spinal

Pixaki

11th October 2019

Why not make your own? Give it all the features you need for yourself?


spinal

ST Picard

10th October 2019

Data shouldn't have aged, but has, but what can you do

CGI? Crash Diet? Max Headroom style mask?


spinal

ST Picard

10th October 2019

Am I not following the trek timeline properly, but wouldn't characters from different shows be completely different ages and therefore be too old/young/not born/dead to be in this?


spinal

Sine of Ints

8th October 2019

I was thinking something along the lines of linerider (pun not intended). I assume knowing your angle compared to the 'ground' and applying some sort of acceleration would need a bunch of trig.


spinal

Sine of Ints

8th October 2019

Looks like I'll have to change language, making the above a bit of a waste of time.
The 'without floats' was because micro-python on the pokitto doesn't support floats. But I think the rest of the project will require plenty of angles and<snip>


spinal

Sine of Ints

8th October 2019

OK, that's part 1 done! Many thinks to Jay for that!

Not sure if its the best way to produce a hilly terrain, but it looks OK

[code] Graphics 800,600,0,2

Cls

Dim cosTable(180)
;output = WriteFile("cossine.txt")
For t=0 To 1<snip>


spinal

Sine of Ints

7th October 2019

Almost what I need!

[code] Graphics 800,600,0,2

Cls

Dim cosTable(180)
;output = WriteFile("cossine.txt")
For t=0 To 180
y = 50+50*Cos(180-t)
; Plot t, y

cosTable(t) = y
; a$ = y + ","
; WriteLine output, a$
Next

<snip>


spinal

Sine of Ints

7th October 2019

My brain has turned to mush.

[code] Graphics 640,480,0,2

Cls

Dim cosTable(180)
;output = WriteFile("cossine.txt")
For t=0 To 180
y = 50+50*Cos(180-t)
Plot t, y

cosTable(t) = y
; a$ = y + ","
; WriteLine output, a$
<snip>


spinal

Sine of Ints

7th October 2019

Yeah, I was thinking something like that


spinal

Sine of Ints

7th October 2019

I don't suppose anyone here has every tried drawing a sine wave without floats (including PI)?


spinal

Building a Touchable Keyboard

22nd September 2019

It would probably be very hard to fit something 'DIY' in there, I imagine that the insides are all full up with it's own insides. It did cross my mind initially but I ruled it out because of the presumed space issues, also I wanted a C64 keyboa<snip>


spinal

Sega's Mega Mini Tower

22nd September 2019

Wouldn't it have been nice if the SNES mini had a mario world cart and a Satellaview.... But Nintendo aren't sega and don't want the extra money.


spinal

Sega's Mega Mini Tower

21st September 2019

Well that didn't work well at all


spinal

Sega's Mega Mini Tower

21st September 2019

2019 and sega still doing what nintendon't(ing) - [url=https://www.amazon.co.jp/%E3%82%BB%E3%82%AC%E3%82%B2%E3%83%BC%E3%83%A0%E3%82%B9-%E3%83%A1%E3%82%AC%E3%83%89%E3%83%A9%E3%82%BF%E3%83%AF%E3%83%BC-%E3%83%9F%E3%83%8B/dp/B07SPZ2R4K/ref=pd_sbs_63_2/355<snip>

More - Older Posts