Recent

Author Topic: Elite Arcade  (Read 1516 times)

Guva

  • Full Member
  • ***
  • Posts: 239
  • 🌈 ZX-Spectrum !!!
Elite Arcade
« on: April 18, 2026, 03:41:28 pm »
The practical one completely rewrote the code of the latest version.

🛸 Space Engine:
  • Advanced Physics: inertia, strafing, speed limit.
  • Collision System: Support for spheres, capsules and triangulated meshes (BVH).
  • Controls: Keyboard + mouse, gamepad (with vibration and dead zone support).
  • Camera: Smoothly follow the player.

🤖 Artificial intelligence
  • AI pilots with finite automaton: orbit, attack, evade, retreat.
  • Take into account the enemy's rating (from Harmless to Elite) and health level.
  • Merchants are running away from a strong enemy, the police are attacking pirates.
  • AI uses virtual keys (honest controls like a player's).
Ps: So far, they're very dumb.

🎨 Graphics and effects
  • Rendering via R3D: PBR materials, dynamic shadows, SSAO, SSR (reflections).
  • Procedural Sky: Shader skybox with nebulae, sun and planets.
  • Particle system: sparks from hits, explosions, traces of engines.
  • Effects: bloom, FXAA/SMAA, tinting (ACES).

🕹️ Gameplay mechanics
  • Trading between systems (purchase/sale of 17 types of goods).
  • The economy affects prices and accessibility.
  • Jumping between planets with fuel consumption.
  • Different types of ships: Cobra Mk.III, Asp Mk.II, Fer-de-Lance, Viper, etc.

I'll post the source code as I add the GUI.

Technical demo: https://youtu.be/us_DZfeV8QE
« Last Edit: April 18, 2026, 04:16:40 pm by Guva »

domasz

  • Hero Member
  • *****
  • Posts: 630
Re: Elite Arcade
« Reply #1 on: April 21, 2026, 01:42:28 am »
Very nice!

nomorelogic

  • Full Member
  • ***
  • Posts: 198
Re: Elite Arcade
« Reply #2 on: April 21, 2026, 01:16:40 pm »
Impressive.
I can't wait to see how the project develops.

trapanator

  • New Member
  • *
  • Posts: 15
Re: Elite Arcade
« Reply #3 on: April 22, 2026, 11:44:23 am »
fantastic! I will play with it! will it run on linux systems?

Guva

  • Full Member
  • ***
  • Posts: 239
  • 🌈 ZX-Spectrum !!!
Re: Elite Arcade
« Reply #4 on: April 22, 2026, 06:35:26 pm »
fantastic! I will play with it! will it run on linux systems?
Definitely. I'm developing on linux. And I'm doing cross-compilation for windows.

Fred vS

  • Hero Member
  • *****
  • Posts: 3958
    • StrumPract is the musicians best friend
Re: Elite Arcade
« Reply #5 on: April 22, 2026, 07:07:16 pm »
@Guva: It's even more impressive every time!

I was already super impressed by your first version: https://github.com/GuvaCode/NewELITE/releases/tag/v1

The quality is shocking.

Big congrats.  ;)
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Guva

  • Full Member
  • ***
  • Posts: 239
  • 🌈 ZX-Spectrum !!!
Re: Elite Arcade
« Reply #6 on: July 11, 2026, 11:25:29 pm »
🚀 What's New in My Arcade Version of Elite

It's been a while since my last report — here's what I've added:

🛸 Stations
4 types of stations are now in: Coriolis, Dodo, Ico, and Hermit. Each has its own geometry, collision meshes, docking zones, and ship spawn points.

🎯 AI
Enemy behavior is more complex now — 8 states instead of the previous set: patrol, pursuit, attack, flee, return to base, docking, and others. Factions have been added: traders, pirates, and police. Skill levels range from Harmless to Elite.

🔫 Weapons
Lasers with overheating (10 variants). Two types of missiles — Mining and Military — with homing and lead-point target prediction.

📡 Radar
A completely new 2D radar with zoom, compass, color-coded faction markers, and a shader "ping" effect.

🔊 Audio
A full sound system: engines, lasers, impacts, warnings, 39 background radio chatter tracks, station ambients (5), and jump sounds (abort, no system).

💥 Particles
A redesigned GPU-instanced system with 4096 particles. Engine exhausts, collision sparks, and explosions with afterglow.

🌌 Skybox
Now features a procedural nebula + cubemap, with a dynamic sun that affects lighting.

🗺️ Map & Navigation
A galactic map showing all 256 planets, color-coded by economy type, with a fuel circle based on the Oolite formula. Jump with the G key, with checks for nearby objects and target selection.

Tech stack: Free Pascal + Raylib + R3D, Screen Manager pattern, procedural generation using classic Elite algorithms.

Still a lot to do, but progress is moving forward! Next up — GUI and interface.

📹 Video: https://youtu.be/0JBy43K5p_8

Guva

  • Full Member
  • ***
  • Posts: 239
  • 🌈 ZX-Spectrum !!!
Re: Elite Arcade
« Reply #7 on: July 20, 2026, 09:42:26 pm »
What's been implemented and what's missing
🛸 Space Engine
  (x) Advanced physics: inertia, lateral thrusters, speed limiting
  (x) Collision system: spheres, capsules, triangulated meshes (BVH)
  (x) Controls: keyboard + mouse, gamepad (vibration, dead zone)
  (x) Camera: smooth follow of the player
  ( ) Planet gravity physics
  ( ) Mouse-driven ship rotation during flight

🤖 Artificial Intelligence
  (x) Finite state machine: patrol, attack, evade, retreat
  (x) Rating system (Harmless → Elite) and health awareness
  (x) Traders flee from strong enemies, police attacks pirates
  (x) AI uses virtual keys (honest input like a player)
  ( ) AI uses missiles
  (x) AI docking at stations
  ( ) Convoy escort (trade caravans)
  ( ) AI responds to distress signals
🎨 Graphics and Effects
  (x) R3D: PBR materials, dynamic shadows, SSAO, SSR
  (x) Procedural sky: shader skybox, nebulae, sun, planets
  (x) Particle system: sparks, explosions, engine trails
  (x) Bloom, FXAA/SMAA, ACES tonemapping
  ( ) Missile smoke/trail
  ( ) Ship deformation on collision
  ( ) Hyperspace effect (current one is too simple)
🕹️ Gameplay
  (x) Trading between systems (17 goods types)
  (x) Economy affects prices
  (x) Jumping between planets with fuel consumption
  (x) Different ships: Cobra Mk.III, Asp Mk.II, Fer-de-Lance, Viper, etc.
  (x) In-game clock (year/day/time)
  ( ) Shipyard (buy/sell weapons)
  ( ) Buy/sell ships
  ( ) Missions (races, couriers, bounties)
  ( ) Player rating (Harmless → Elite)
  ( ) Penalties for shooting innocents (reputation)
  ( ) Weapon damage on hit
  ( ) Escape pod (emergency eject)
  ( ) Cargo container pickup
🔫 Weapons
  (x) Lasers with overheating (10 variants)
  (x) Two missile types (Mining, Military) with homing
  ( ) Electromagnetic weapon (EMS)
  ( ) Shotgun weapon (Mining laser for asteroids — exists, but no mining)
📡 Radar
  (x) Fully new 2D radar with zoom, compass, faction color markers
  (x) Shader "ping" effect
  ( ) 3D radar (height display)
🔊 Audio
  (x) Full sound system: engines, lasers, hits, warnings
  (x) 39 radio chatter tracks, 5 station ambients, jump sounds
💥 Particles
  (x) GPU-instanced system (4096 particles)
  (x) Engine exhausts, collision sparks, explosions with afterglow
  ( ) Engine vortex particles
🌌 Skybox
  (x) Procedural nebula + cubemap, dynamic sun
  (x) Sky change when jumping to another system
🗺️ Map and Navigation
  (x) Galactic map (256 planets), economy-coded colors, fuel circle
  (x) Jump with 'H', nearby object check
  (x) Local radar chart (key 6)
  ( ) Planet info on map (population, tech level, crime level)
  ( ) Navigation markers (direction to station/planet on screen)
🖥️ Interface
  (x) Bars: shield, hull, speed, laser overheating
  (x) Station trading screen
  (x) In-game clock in HUD
  ( ) Main menu (new game/load/settings)
  ( ) Pause screen
  ( ) Volume settings (music/sounds)
  ( ) Graphics settings (resolution, fullscreen, vsync)
  ( ) Death screen (with statistics)
  ( ) Hints/tutorial for newcomers
  ( ) Minimap of current system (stations/asteroids)
  ( ) HUD: compass pointing to station
  ( ) HUD: danger indicator (nearby enemies)
🏗️ Stations
  (x) 4 types: Coriolis, Dodo, Ico, Hermit
  (x) Geometry, colliders, docking zones, ship spawning
  ( ) Interior 3D hangar model (already started)
  ( ) Different services per station type (repair, trade, hire)
💰 Economy
  (x) 17 goods types, economy affects prices
  ( ) Dynamic prices (supply/demand over time)
  ( ) Inflation/deflation
  ( ) Contraband goods
  ( ) Import/export taxes
🌍 Planets
  (x) Procedural generation, shader rendering
🎮 Other
  ( ) Save/load game
  ( ) Statistics (kills, profit, rating)   

📹 Video: https://youtu.be/V0qLDcQqbhI

Zvoni

  • Hero Member
  • *****
  • Posts: 3466
Re: Elite Arcade
« Reply #8 on: July 21, 2026, 08:17:20 am »
If you're really remaking the C64/early DOS game "ELITE",
then under "Economy" you're missing the "Uber"-Service. :P
I was always cursing a blue streak when there was a lucrative offer for a passenger, just to take you the opposite direction of where you planned to go next
One System to rule them all, One Code to find them,
One IDE to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad

Guva

  • Full Member
  • ***
  • Posts: 239
  • 🌈 ZX-Spectrum !!!
Re: Elite Arcade
« Reply #9 on: August 02, 2026, 04:42:25 pm »
So, I'm uploading the dev build for testing. The game isn't finished yet — there are still missing features, placeholders, and plenty of bugs — but I wanted to share it early to get your thoughts and catch any major issues.

Compiled version for windows and linux x64
https://guvacode.itch.io/elite-arcade

Sources
https://github.com/GuvaCode/Elite_Arcade

MikeHart

  • New member
  • *
  • Posts: 8
Re: Elite Arcade
« Reply #10 on: August 02, 2026, 06:25:59 pm »
I tried to install r3d but somehow it never finds it in a new project.  Rayl4laz runs fine. I am on Linux. Any hints you can give to make it work?

Guva

  • Full Member
  • ***
  • Posts: 239
  • 🌈 ZX-Spectrum !!!
Re: Elite Arcade
« Reply #11 on: August 02, 2026, 06:44:40 pm »
I tried to install r3d but somehow it never finds it in a new project.  Rayl4laz runs fine. I am on Linux. Any hints you can give to make it work?


Guva

  • Full Member
  • ***
  • Posts: 239
  • 🌈 ZX-Spectrum !!!
Re: Elite Arcade
« Reply #12 on: August 02, 2026, 07:10:07 pm »
I didn't really understand what it wasn't finding, if you mean by yourself. r3d.so then you need to specify the path -k"-rpath=\$ORIGIN"

MikeHart

  • New member
  • *
  • Posts: 8
Re: Elite Arcade
« Reply #13 on: August 02, 2026, 07:13:01 pm »
Thanks, I am now maybe one step further. You gif helped.

When I try to execute, I am getting ./Project1: error while loading shared libraries: libassimp.so.6: cannot open shared object file: No such file or directory

Edit: got it to work. Would be awesome if that lib could be linked statically.
« Last Edit: August 03, 2026, 09:46:28 am by MikeHart »

 

TinyPortal © 2005-2018