123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|26|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Off Topic -> Sine of Ints

Page : 1 Prev 2
Next
Fri, 18 Oct 2019, 10:22
Jayenkai
I think that might just be a Blitz thing.
You're drawing a lot of lines, and doing a lot of trig. .. for Blitz3d..
Soon adds up!!

-=-=-
''Load, Next List!''
Fri, 18 Oct 2019, 11:17
Jayenkai
*tests*
Yeah, it's blitz's slow line drawing that's doing it. Comment out the line command to see the framerate shoot up.
Blitz3D has always been a bit rubbish at drawing 2D stuff. If you're using.. .. anything else.. worry less about it!

-=-=-
''Load, Next List!''
Sat, 19 Oct 2019, 11:10
spinal
Yeah, changed it to just plot the first pixel and getting 60fps.

-=-=-
Check out my excellent homepage!
Sun, 20 Oct 2019, 11:19
spinal
hmmmm, this seems a little less accurate on higher angles than I expected. Have I done something wrong do you think?




|edit| Got it,



-=-=-
Check out my excellent homepage!
Sun, 20 Oct 2019, 14:38
spinal
hmmm, not right....


-=-=-
Check out my excellent homepage!
Sun, 20 Oct 2019, 15:24
Jayenkai
You've forgotten to add gravity to the player's trajectory whilst in the air.

Where


Make




.. or thereabouts!

-=-=-
''Load, Next List!''
Mon, 21 Oct 2019, 04:39
spinal
Still doesn't 'jump' off the hills, just falls This is one of those things where I think I know how to do it, but I just don't know how to do it

o Increase player speed by gravity
o Apply gravity to player
o If player hits ground, change player angle to ground angle, keep moving forward at same speed
o If in air, drop angle so that player falls back to ground in forward direction

Why isn't it that simple?



-=-=-
Check out my excellent homepage!
Tue, 22 Oct 2019, 04:00
spinal
Dear google, 'import huge physics engine' does not help me in the slightest in achieving my aim.

-=-=-
Check out my excellent homepage!
Tue, 22 Oct 2019, 04:11
Jayenkai
*shrugs*
Sure looks good enough to me!!

(The above engine thus far, not the "Add all these includes that bloat your engine to insanity" stuff)

-=-=-
''Load, Next List!''
Tue, 22 Oct 2019, 05:18
spinal
Closer, player seems to fall through the ground more, but does fly a bit...



-=-=-
Check out my excellent homepage!
Tue, 22 Oct 2019, 08:42
Jayenkai
Tweaked the "grip" a little


-=-=-
''Load, Next List!''
Tue, 22 Oct 2019, 13:28
spinal
better.
It still aint this though ....


View on YouTube

-=-=-
Check out my excellent homepage!
Tue, 22 Oct 2019, 16:06
Jayenkai
Boooo.
Hissss.
Evil game.
Nasty.
Booooooooooooooo!!!!

I believe you meant to say that "it still ain't" the classic "made in a week" game, Wavespark, by AGameAWeek'er NMcCoy.

-=-=-
''Load, Next List!''
Wed, 23 Oct 2019, 00:44
spinal
Interesting looking screenshot for that game, I can't play it though, it appears that modern java just wont allow it, nor will it allow the security settings to be lowered.

[Edit] it seems there was a #2, I'll try that later...
http://nmccoy.net/2011/01/25/game-45-wavespark-ii/

-=-=-
Check out my excellent homepage!
Page : 1 Prev 2
Next