Search found 280 matches

by jalih
Tue Sep 16, 2025 12:05 pm
Forum: General programming
Topic: Why JSON files sometimes fail after Save?
Replies: 17
Views: 572

Re: Why JSON files sometimes fail after Save?

So I think we really shouldn't demand support for a private way of working from an editor that is intended as a universal tool for all kinds of text, or in the case of the IDE, specifically for Hollywood scripts. It's normal procedure to edit JSON with text editor or any other tool. BOM is not need...
by jalih
Mon Sep 15, 2025 7:07 am
Forum: Wishlist
Topic: Graph support for Hollywood?
Replies: 1
Views: 399

Graph support for Hollywood?

How about adding a graph support for Hollywood? It would allow non rectangular game maps easily and handles other useful stuff also. 8th supports graphs and graphs now also support Uniform Cost search (and also A* when heuristic function is given). Here is a sample demo video of a web application us...
by jalih
Thu Sep 19, 2024 9:58 pm
Forum: General programming
Topic: Platformer / Jump & run
Replies: 5
Views: 3918

Re: Platformer / Jump & run

Here is how it should behave.
by jalih
Thu Sep 19, 2024 9:34 pm
Forum: General programming
Topic: Platformer / Jump & run
Replies: 5
Views: 3918

Re: Platformer / Jump & run

i have remoevd dy=dy+1 ,why is there ? its cosntantly rising and confusing rest of checks Probably should be simulating gravity and it needs to constantly rise on a platformer game or the player can't fall! Ground tile collision detection code when colliding should push the player back up until it'...
by jalih
Mon Aug 14, 2023 9:23 pm
Forum: Off topic
Topic: Good learning game project idea
Replies: 1
Views: 19133

Good learning game project idea

If someone is looking for a nice game programming project idea, I can recommed creating a 2048 game. Make it work on desktop and mobile platforms and animate moves. Here is a video of my version written in 8th programming language. It works on desktop and mobile platforms.
by jalih
Sun Jun 25, 2023 9:59 am
Forum: Newbie questions
Topic: Confused About Tables
Replies: 11
Views: 9663

Re: Confused About Tables

I think Hollywood constants are just values, so you cannot do that and need to use something like: Const #TEXT_COL = $000020 Const #DECO_COL = $F08000 Const #PAPER_COL = $F0F0F0 Const #OPTS_LOCOL = $0050A0 Const #OPTS_HICOL = $D02020 PALETTE = {#TEXT_COL, #DECO_COL, #PAPER_COL, #OPTS_LOCOL, #OPTS_HI...
by jalih
Sat Jun 17, 2023 1:14 pm
Forum: Showcase
Topic: SDL Raycasting demo
Replies: 1
Views: 15019

Re: SDL Raycasting demo

If anyone is interested in helping me change the code from SDL to OpenGL to see if it is faster, more than happy to share the code. I guess you have done the obvious optimization for tutorial code and draw wall slices directly from texture using hardware acceleration instead of drawing pixel by pix...
by jalih
Mon May 08, 2023 6:03 pm
Forum: Code snippets area
Topic: A*Star in Hollywood
Replies: 5
Views: 17165

Re: A*Star in Hollywood

There is an excellent old article about realtime pathfinding by Swen Vincke inside the Game Developer Magazine, June 1997.
by jalih
Mon Apr 24, 2023 6:37 pm
Forum: Showcase
Topic: Converting SDL2 Tutorials from Parallel Realities
Replies: 19
Views: 34186

Re: Converting SDL2 Tutorials from Parallel Realities

Have you tested performance on a Raspberry Pi 4? Does Hollywood support kms/drm driver with Linux versions, so programs can run hardware accelerated without X11? How is your collision detection done? I use a collision map and a few collision points to test tilemap collisions. With enemies and game o...
by jalih
Sun Apr 23, 2023 7:10 pm
Forum: Showcase
Topic: Converting SDL2 Tutorials from Parallel Realities
Replies: 19
Views: 34186

Re: Converting SDL2 Tutorials from Parallel Realities

Debug prints inside the main game loop are also real performance killers.