DELTA General Discussion Topic

The Delta 2D Platforming Suite is a forthcoming powerful game creation tool. Its expansive scope and professional game engine will allow creation of almost any 2D platforming game – and best of all, it's free!

Re: DELTA General Discussion Topic

Postby Simion32 » December 13th, 2017, 1:21 pm

I can't really do that without giving away the code. Sorry.

Anyway, I'll have to do everything in a specific order so that I'm able to compile and run tests at certain key points in the rewrite.
Sage of Discovery
Bananas received 226
Posts: 2583
Joined: 2008

Re: DELTA General Discussion Topic

Postby Simion32 » December 25th, 2017, 11:48 am

Progress Update: 1/3 of Rewrite Done, LUCIDs Revised

The new rewrite of the code is at 8048 lines of code. That means I'm roughly one third of the way through it all (not all of the code has to be re-written).

-----------------------------------

LUCIDs (Logically Unique Class Identifier) have been upgraded and are now ready for integration into DELTA.

The new LUCID format includes a 40-bit timestamp, an 8-bit generate count, 16 bits of a user ID that never changes (unless the user changes it), and 128 bits of hashed unique data (it does a SHA256 then XOR's both halves together).

The unique data and timestamp, along with the other pieces of data, ensure that each LUCID is unique across all machines globally. This means that DELTA can use the LUCIDs of game files to effectively link together a game's data, no matter how many times a file gets edited.
Sage of Discovery
Bananas received 226
Posts: 2583
Joined: 2008

Re: DELTA General Discussion Topic

Postby Simion32 » January 10th, 2018, 2:50 pm

Progress Update: More of Rewrite Done

I've completed the video and rendering section of the rewrite, but the input code remains. (I can at least draw a sprite on the screen now!)

The input routines are some of the messiest that I've got. So - rather than mostly copying what's there already - I'm going to have to delve deep into the inner workings of the input to achieve a workable rewrite.

This will introduce the concept of "Player #0" that all input is sent to by default. It will remove the need for device detection at startup, and streamline the rest of the code that uses the input routines.

The input will also be retooled so that it doesn't process input events using the faulty timestamping system that's currently in use. The reason for this is that the timestamps actually occur at the time the engine reads the WM_INPUT message, meaning they are inaccurate - and the handler code is faulty as well, since certain inputs will be thrown away or ignored depending upon the timestamp.
Sage of Discovery
Bananas received 226
Posts: 2583
Joined: 2008

Re: DELTA General Discussion Topic

Postby Simion32 » February 16th, 2018, 10:06 am

Progress Update: Input Rewrite Done!!!

I've finally gotten all of the input code reworked and rewritten.

There was one major bug causing input to be skipped (This bug was in previous versions of DELTA!!). Turns out that GetRawInputBuffer() causes some of the input messages to be ignored, so I've removed that part of the input processing and I'm doing the processing one message at a time.

The input is nice and fast, responsive, and doesn't have any "missed input" bugs left over from the old code. :geek:

What's next? NitroGUI v2.0 is on the development list.
Sage of Discovery
Bananas received 226
Posts: 2583
Joined: 2008

Re: DELTA General Discussion Topic

Postby Super Luigi! » February 17th, 2018, 9:02 am

Good luck, Sir Simion32! Take your time and succeed!
Expedition Leader
Bananas received 191
Posts: 1805
Joined: 2012

Re: DELTA General Discussion Topic

Postby Simion32 » February 23rd, 2018, 11:47 am

As it turns out, ALL of the input bugs that were just fixed in the DELTA rewrite also affect the latest DKCRE release.

I won't be able to update DKCRE until NitroGUI v2.0 is done, but the bug fixes will deal with some problems that the RE interface was having.

NitroGUI v2.0 will probably take me at least one month to get going, but I'm unsure due to the complexity of the GUI code.


Hopefully I can get this rewrite done so that I can release another DELTA test demo. :geek:
Sage of Discovery
Bananas received 226
Posts: 2583
Joined: 2008

Re: DELTA General Discussion Topic

Postby Super Luigi! » February 24th, 2018, 3:41 am

No matter how long it takes, Sir Simion32, I know you can do it. Please continue to live well, succeed greatly, and be a hero to children everywhere! :banana:
Expedition Leader
Bananas received 191
Posts: 1805
Joined: 2012

Re: DELTA General Discussion Topic

Postby Simion32 » February 28th, 2018, 2:56 pm

New Input Engine Test
DELTA Game Engine v0.0.7.0 r01

This build has the newest input improvements. This prevents several glitches from happening. :geek:

There are new messages that can appear in the DebugLog.txt depending upon your configuration.

The program generates an XDQ (Delta Device Map) file upon successful program close.

**SEE BELOW FOR UPDATE**
Sage of Discovery
Bananas received 226
Posts: 2583
Joined: 2008


Re: DELTA General Discussion Topic

Postby Simion32 » March 22nd, 2018, 12:23 pm

Graphics Engine Test
DELTA Game Engine v0.0.7.0 r02

This build has font functionality working. The test is for graphics working through the Compositing Engine.

Some bugfixing work has been done on the input code, as well as a few crash prevention measures.

The percentage and FPS meters etc. are back again, now that DELTA can use fonts again.

DOWNLOAD HERE

Controls:

  • ESC key exits the program.
  • Q and W to flip the background image.
  • Keys 1 through 4 change which scale mode to use (Test, Emulator, Ratio, and Full).
  • F11 for full screen, Alt+F11 to try 800x600, and Ctrl+F11 to try 640x480. Press F11 again to exit fullscreen.
Sage of Discovery
Bananas received 226
Posts: 2583
Joined: 2008

Previous

Return to Delta Suite

Who is online

Users browsing this forum: No registered users and 1 guest