September 18, 2021, 05:54:57

Recent Posts

Pages: [1] 2 3 ... 10
Title screen for my comp entry - Darts Night

Not sure if I'll be doing a work log but thought I'd show I'm working on something ;D

MiniB3D / Re: Question about free 3d rotation
« Last post by Pappons on September 17, 2021, 23:30:02 »
Thanks for the replies, guys. I really appreciate it!

Turning on each axis didn't seem to change much. I'm noticing a certain behavior where I can pretty much keep turning to either side but if I keep guiding the ship either up or down, it causes it to "flip" and turn in the opposite direction once it passes 180 degrees.

Here's a video that shows what I am aiming to do:
Code: [Select] - Watching the video again, makes it seem like it's barely rotating compared to the camera.

That leads me to wonder; could it be that the camera chasing the ship could be confusing the view and the ship indeed is moving as it should?
MiniB3D / Re: Question about free 3d rotation
« Last post by STEVIE G on September 17, 2021, 22:08:38 »
I'm assuming minib3d works like b3d in terms of rotations. Turnentity should use quarternions. The problem is turning on 2 axis at the same time.  You could try turnentity separately on each axis or do this ...

Make your ship entity a pivot. Load and parent your ship model to this pivot. Turnentity the pivot only  on the yaw axis. Turnentity the ship model only on the local pitch axis. 
MiniB3D / Re: Question about free 3d rotation
« Last post by markcwm on September 17, 2021, 20:47:52 »

I tried your code but I don't know what type of controls are in Freelancer even after watching a video.

I assume your main problem is that the ship ends up dis-orientated, upside down, etc. so I tried to implement a simple self-correcting system where it stabilizes itself automatically but I couldn't really manage it, it was trickier than I thought it would be. It shouldn't be a problem with quaternions they should work fine.

One thing that might help is to use RotateEntity instead of TurnEntity because then it's easier to know where you are and can start re-balancing the ship. Another thing that might help is to limit the value of dx and dy to a maximum so you don't end up over-turning the ship.
8-bit / 16-bit retro world / Re: 6502 code
« Last post by Baggey on September 17, 2021, 19:59:42 »
Starting to look at the 6502 Instructions. There are apparently only 56 Type of Instructions.  :o  But used in different modes there upto 152!

Im sure there will be UnDocumented ones like the Z80.
Code: [Select]
Immediate there are     :- 11
Zero Page there are     :- 26
Zero Paged indexed      :- 34
Absolute                :- 23
Indirect pre-indexed    :- 34
Absolute indexed        :- 24
Future Expansion
Possible Undocumented   :- 103

Any corrections please let me know

Showcase / Re: SpecBlitz ZX Spectrum 48k Emulator
« Last post by Baggey on September 17, 2021, 18:10:17 »
Baggey I put the code files you wanted in 8bit 16bit world thread, here they are again

Oh, Thankyou! Something to start analising. 6502 is a strange beast.  :D

General Discussion / Re: RIP Clive Sinclair
« Last post by therevills on September 17, 2021, 11:30:44 »
Never had a Speccy, was an Amstrad lad - but really Sir Clive kick off the whole home computer sector!
General Discussion / Re: RIP Clive Sinclair
« Last post by Steve Elliott on September 17, 2021, 10:19:09 »
Sir Clive made computing affordable and introduced computers to the homes of many, myself included. My very first computer was the Sinclair ZX Spectrum 48K in 1982. From games to coding, my facination with computers is as strong as ever, so I thank you Clive RIP.
General Discussion / Re: RIP Clive Sinclair
« Last post by MrmediamanX on September 17, 2021, 09:45:41 »
ZX spectrum's were never sold in my region, but one can't respect the man for bringing home computing to many, especially in the demo scene.
General Discussion / Re: RIP Clive Sinclair
« Last post by iWasAdam on September 17, 2021, 08:39:17 »
spectrum was my first computer I owned - saved up to buy it second hand and still remember being driven to some villiage in Warwick to get it upstairs in a black and white Tudor house. good times...
Pages: [1] 2 3 ... 10
SimplePortal 2.3.6 © 2008-2014, SimplePortal