Better HN
topnewbestaskshowjobs
Log inSign up

sysrpl

921 karma · joined Jan 27, 2016 (10y ago) · 109 submissions

Submissions

comment 1w ago · link · parent

Yes, it will eventually support dual screen, that is the playfield and the backglass. Today I will be working writing DMD screens using typescript, and I happen to prefer DMD over the newer LCD screens on modern tables.

comment 1w ago · link · parent

I started with Godot, and swtich back to Pascal. It will be and is cross platform, but I am focusing on Linux, because that is what I use.

With regards to Godot, while I like it, when using my own engine I can take a lot of shortcusts that Godot cannot. For example, I am able to save a lot of computational logic on reflections by making the requirements that reflections only world on right angled surfaces, which is fine for a pinball table. Also, I am able to cheap out with lighting using a my ouwn techniques for generating lighting maps in a shader, something that is hard to pull off with Godot.

This other game project of mine is written using Godot and C#:

https://www.orbliterate.com

comment 1w ago · link · parent

When I get close to my initial source release I will look into what it takes to port tables from VPX to my engine. Right now I am purposefully not exploring that because I want an unclouded fresh start for pinball simulation.

comment 1w ago · link · parent

I will look into adding haptics. Thanks for the feedback.

comment 1w ago · link · parent

No, but it will support PinMAME fully. For copyright reasons, I wll not however be developing both the engine, and recreating actual tables. That would be a bit too far from my legal perspective. I will leave it to other who want to do that.

comment 1w ago · link · parent

Yes, I am aware of Visual Pinball. This is meant as a pinball simulation system for Linux, using a Javascript engine and not VB Script. Also, it will support running on Linux using dmks, so on PCs without a display server.

comment 1w ago · link · parent

I started writing my own physics system a while back, and in January of this year started working on some tests befre realziing I was never going to get acceptable phyics on my own. In August I started using Jolt and it seems to work. So to answer your question, I am using Jolt for the physics now.

comment 1w ago · link · parent

I was writing my own 3D egnine at the start of the year. I eventually gave up and switch to Jolt in August.

comment 1w ago · link · parent

As the title says, I am working on a FOSS Linux Pinball Simulation Engine. It is based on my Pascal Tiny.Sim library which has been in github for many years. Tables are designed in parametric CAD (OnShape for now) and imported by my engine as 3D meshes. It simplifies many of the physics bodies into primitives and has options to configure how meshes are convert into a table. The logic for a table is written in Typescript. Users can also edit the table inside the game. The idea will be that users can use the engine to play and share pinball tables of their own designs. I am supporting Linux because I use Linux every day and it needs more support when it comes to playing good fun games.

If you want to help Linux and are an artist, I plan make the initial source code release with 3 different tables and a guide for how to create your own pinball tables. I am looking for artwork to help with table artwork. My contact information is on the page linked to this submission.

10.

I'm Working on a FOSS Linux Pinbal Simulation Engine(getlazarus.org ↗)

140 points · by sysrpl · 1w ago · 46 comments

comment 1mo ago · link · parent

Hello everyone, this is sysrpl, the maintainer of www.getlazarus.org. I have released several major updates for Free Pascal over the past week, including some games, and thought you might be interested in taking a look at what is happening with the compielr and what Pascal can today today,

First, as an example here is a small game I wrote using my Pascal toolkit that has been in the works for many years. It mixes 2D and 3D, features a fairly complete, skinnable vector UI widget set, runs on Windows, Linux, macOS, and Raspberry Pi, and can even run on a bare bones system without a display manager. It is essentially a free demo of a simple project featuring rich text interspersed with animation, sounds, and effects.

https://www.getlazarus.org/codebot/cardgame/

We have been working of finally supporting of dynamic packages for FPC and Lazarus and released our first public version earlier in the week. You can read about dynamic packages here:

https://www.getlazarus.org/dynamic/

My personal Tiny.Sim game engine has been greatly enhanced and incorporated into a single library called the Codebot Library. It includes many features of interest to game developers. The 2D physics system is bug free and quite complete. It supports all kinds of audio files and formats and includes my vector UI toolkit. Several demos are available when you install the IDE. The library supports both a mix of LCL controls and pure SDL game development. You can read about it here, along with a huge reference system to help you learn:

https://www.getlazarus.org/codebot

My personal game Obliterate was written in Pascal using this library:

https://cache.getlazarus.org/videos/game-demo.mp4

Other features of interest include a unified theming system for the Lazarus IDE and your desktop applications on both Windows and Linux:

https://www.getlazarus.org/forums/topic/5/

There are also new shell controls for Windows users. I first published this library in 2007, but it has been greatly enhanced with new COM interfaces for Windows.

https://www.getlazarus.org/codebot/reference/?page=codebot_w...

Other features include modern web browser controls for Windows, Linux, and macOS, networking utilities, additional graphics features, JSON and XML support, cryptography, and string handling libraries.

Everything is free and open source. Very soon we will be releasing version 6.0 of the IDE, so keep a look out for that in a few weeks and thank you for reading.

12.

Yes, you can create a lot with Pascal Today(getlazarus.org ↗)

4 points · by sysrpl · 1mo ago · 5 comments

comment 1mo ago · link · parent

My website has been hosting downloads with alternate versions of the compiler and ide for nearly 15 years now. I also have published JsonTools, BareGame, TinySim, the original Shell Controls, and lots of other packages for the Lazarus community. The install scripts at https://www.getlazarus.org/setup simply download a seed compiler, the sources, and builds, while making certain it does not interfere with user's existing setups by restricting configuration settings to your chosen install folder. In other words, you can run my version and your existing version at the same time without any problems, and if you don't like my version the uninstall process is to delete a folder, and perhaps a shortcut if you copied it anywhere.

comment 1mo ago · link · parent

That feature you mentioned was added by the Delphi team in support of closures. They way they developed it was jankey IMO, as it creates an interface behind the scenes and populate with information about the local stack.

Though I do very much appreciate C#, with its lambda functions, expression trees, and especially the tooling, Free Pascal and Lazarus exist as a happy compromise between those things and native code integration, where working with C libraries like libcairo, libxml2, libssl, libsdl, and opengl are much easier and a pleasure to work with when using Free Pascal, and conversely are more difficult to wrangle when using C# or Java.

comment 1mo ago · link · parent

I have been running the website getlazarus.org for 13 years to support add features to both FPC and Lazarus that jump ahead of the normal releases. We have been working of dynamic packages for a long time, and there will be a period between now, and when it is sent as a MR back into the mainline. When enough time has passed and feedback given these features are typically rolled into the main release, and at getlazarus I move on towards developing the next features.

comment 1mo ago · link · parent

Thank you. This has been a long time coming, perhaps 20 years in the making. I realize people are moving on to newer languages and frameworks, but there is just something special about older versions of Delphi and now Lazarus that makes it so much easier to write desktop software than most other frameworks. You can just drop components on a form designer, press run, and in a second's time you have a program. Of course there is more to it than that, but with dynamic package support, users can make or use components even faster as they no longer need to rebuild the IDE to install or uninstall native code.

comment 1mo ago · link · parent

I am pleased to announce the first release of full dynamic package support for the Free Pascal Compiler and the Lazarus IDE. This feature has been a long time coming for the FPC ecosystem and has taken more than 20 years to realize through the work of many FOSS individuals.

Dynamic packages allow programmers to create and install components, controls, and Lazarus extensions in seconds without rebuilding the entire Lazarus IDE. They can also be used in by Free Pascal programmers to develop and deploy plugins that expose native Pascal classes and types through dynamic package libraries. To support this functionality, I have made numerous improvements to the compiler, its runtime, and the Lazarus IDE. I have also created additional IDE extensions to improve the experience of working with Lazarus packages. Read more at the link above.

18.

Free Pascal compiler now supports dynamic packages(getlazarus.org ↗)

208 points · by sysrpl · 1mo ago · 54 comments

19.

Lazarus 4.0 Release(forum.lazarus.freepascal.org ↗)

7 points · by sysrpl · 1y ago · discuss

comment 1y ago · link · parent

It's super easy to design using OnShape. Hit me up with private message and I will show you everything you need to model 3D printable parts in under 5 minutes.

21.

Railroading the Pascal Language(getlazarus.org ↗)

38 points · by sysrpl · 2y ago · 15 comments

comment 2y ago · link · parent

The website zombo.com is actually quite relaxing. I spend a few hours each day visiting it.

comment 3y ago · link · parent

Is it that hard to:

    document.querySelectorAll("#some-form input").forEach(e => e.classList.add("error"));

comment 3y ago · link · parent

That is common at the moment. Their servers are overloaded due to the wild popularity of ChatGpt and often the session will just "break", erasing any context or learning it had acquired in your session. You must then start over.

25.

Did ChatGPT just form a thought?(getlazarus.org ↗)

13 points · by sysrpl · 3y ago · 15 comments

26.

Programming Pascal Using an AI Chatbot(getlazarus.org ↗)

1 points · by sysrpl · 3y ago · discuss

comment 3y ago · link · parent

Free Pascal was originally derived from Object Pascal and later Delphi, both of which added more object oriented programming features to Pascal. Additionally, it supports some of the more advanced features introduced to Pascal with later releases of Delphi including managed types, interface types, operator overloading, generics, implicit and explicit conversions, extension properties and methods, as well and user defined initializers and finalizers for your custom types, and more.

I could write an article about each of these features, but in summary they each are powerful and help users write more useful programming code when leveraged correctly.

28.

A guided intro to the Free Pascal language(getlazarus.org ↗)

178 points · by sysrpl · 3y ago · 100 comments

comment 4y ago · link · parent

Today Microsoft released the next version of dotnet, known as dotnet 7. It includes many enhancements including new language features to C#, which they are calling C# 11.

You can download the release of dotnet 7 here:

https://dotnet.microsoft.com/en-us/download/dotnet

30.

Released Today: C#11 and Dotnet 7(learn.microsoft.com ↗)

20 points · by sysrpl · 4y ago · 1 comment

1234