Dev Diary: My attempt at procedural gameplayI've been trying to generate gameplay (that's ideally fun) procedurally.
An initial idea was to set up an NP hard problem or two around the player (i.e. the knapsack problem and the travelling salesman problem) albeit within the context of the game's theme and then leave them to solve it in any one of many ways. On completion then I was thinking about simply ranking their solution according to some metrics (fuel expended, time taken, enemies destroyed, game people saved etc) on a leader board, but then I got distracted...
Whilst setting up the systems for the above I started experimenting with a couple of simple ideas. Let's call them "Gameplay Layers" and "Gameplay Cycles":
- Gameplay Layer: A Gameplay layer is an approximately 200 lines of code that adds to the game some system or mechanic i.e. time of day, weather, defensive tower, refuelling rings, enemy waves etc
- Gameplay Cycle: This is simply a timer that activates periodically (configurable), lasts for a configurable amount of time and then pauses for a configurable amount of time until the cycle then repeats.
A Gameplay Layer is activated and deactivated according to a Gameplay Cycle.
With these two simple ideas I seem to be able to generate interesting events as the gameplay layers run out of phase with each other the resulting behaviour of which I haven't had to code explicitly.
For example, the time of day system is running out of phase with respect to the weather system so you can have a quiet foggy morning, or a lightning storm during the day or fog at night whilst being overrun by a wave of enemies or a clear night etc.
Fun for free?
Here's a short video:
[previewyoutube=vd32GcHYk1Q;leftthumb][/previewyoutube]
[ 2025-01-07 20:20:46 CET ] [ Original post ]
Infinicity
Ben Morris
Developer
Ben Morris
Publisher
1970-01-01
Release
🎹🖱️Keyboard + Mouse
🕹️ Partial Controller Support
🎮 Full Controller Support
No user reviews
(0 reviews)
This little sandbox game generates gigabytes of procedural city, traffic and world around you as you move.
- Use the in-game editor to define the rules for creating your terrain, grass, rocks, trees, city and traffic
- Create your own unique look using the wide range of graphical settings from retro-pixelated to film-noir and more
- Walk and fly around your creation
- More features (and gameplay) coming soon...
MINIMAL SETUP- OS: Linux + SteamOS
- Processor: Requires a 64-bit processor and operating system
- Graphics: OpenGL 3.3
RECOMMENDED SETUP- OS: Linux + SteamOS
- Processor: Requires a 64-bit processor and operating system
- Graphics: OpenGL 3.3
16.39$ (18%)
15.99$ (20%)
12.59$ (16%)
4.97$ (17%)
4.12$ (17%)
12.59$ (16%)
4.18$ (16%)
12.29$ (18%)
4.00$ (60%)
8.46$ (15%)
2.51$ (16%)
33.96$ (15%)
12.74$ (15%)
8.29$ (17%)
12.59$ (16%)
1.64$ (18%)
3.55$ (11%)
3.51$ (12%)
29.74$ (15%)
12.59$ (16%)
24.59$ (18%)
24.89$ (17%)
25.19$ (16%)
25.46$ (15%)
6.98$ (13%)
16.89$ (16%)
2.66$ (11%)
6.71$ (16%)
29.56$ (16%)
8.24$ (18%)
4.0$ (80%)
6.0$ (50%)
2.55$ (83%)
3.83$ (74%)
7.2$ (76%)
1.0$ (80%)
7.92$ (74%)
0.43$ (91%)
3.0$ (80%)
1.5$ (81%)
7.65$ (74%)
4.0$ (80%)
5.0$ (75%)
0.43$ (91%)
3.0$ (80%)
2.55$ (83%)
2.0$ (80%)
1.5$ (81%)
3.4$ (66%)
15.0$ (62%)
0.9$ (77%)
4.25$ (91%)
4.46$ (70%)
2.55$ (83%)
1.91$ (87%)
3.0$ (85%)
8.79$ (56%)
6.38$ (57%)
31.49$ (48%)
14.23$ (43%)
FANATICAL BUNDLES
Time left:
16 days, 2 hours, 38 minutes
Time left:
23 days, 2 hours, 38 minutes
Time left:
12 days, 2 hours, 38 minutes
Time left:
9 days, 2 hours, 38 minutes
Time left:
17 days, 2 hours, 38 minutes
Time left:
19 days, 2 hours, 38 minutes
Time left:
40 days, 2 hours, 38 minutes
Time left:
356464 days, 18 hours, 38 minutes
Time left:
22 days, 2 hours, 38 minutes
Time left:
51 days, 2 hours, 38 minutes
HUMBLE BUNDLES
Time left:
3 days, 20 hours, 38 minutes
Time left:
5 days, 20 hours, 38 minutes
Time left:
10 days, 20 hours, 38 minutes
Time left:
12 days, 20 hours, 38 minutes
by buying games/dlcs from affiliate links you are supporting tuxDB
🔴 LIVE
alucarxd85
Infinite Undiscovery
Star Renegades - Linux Games | Xbox, No Commentary
kizzabi
War Thunder
Treinando no dark souls e depois assistindo Premonio (2000) | !speedru...
rat_splat
Brighter Shores
Top 6|3325+ Strip Mining and Deforesting|Follower EMOTES are HERE!
v4p0rbyte
World of Tanks: Blitz
TANK BATTLES!!
niudip
Retro
Retro midnight fun {Alerts are disable}
spookyzalost
TankHead
can I get to the boss this time? more tankhead.
echoplexmedia
Politics
Operation #Caturday - SUPES Season Premier - Shasta County Board Of Su...
eddesign
Lies of P
Canjes disponibles // Noche de Chill & Relax
gamesnolinux
Dota 2
Suporte Arte. Only Sup 5 Witch Doctor, Crystal Maiden , Lion, Shadow...
agentsnail47
HITMAN World of Assassination
Contracts. I have cake.
goseigen
Backpack Battles
me make backpack
ciryc
Marvel Rivals
[drops] playing some storm
hypnotik_games
Software and Game Development
Deving Chatting Godoting - !tts !anomalies !free_tts Raids:
onibakuman
Super Mario Bros. 3
\_( )_/ super mario day - actual gaming lol - gpu arrives on sunday ...
calexil
Balatro
Number go brrrr . !charity . !commands . !subperks . !merch . !linux ....
bloodycactus
NieR: Automata
NieR: Owww.. Tomato @bloodycactus
airsmit1
World of Warcraft
DH - zero to hero