Search found 276 matches

by jalih
Mon Mar 27, 2023 3:54 pm
Forum: Tutorials
Topic: A little teaser for my upcoming 2d platform game tutorial
Replies: 13
Views: 19351

Re: A little teaser for my upcoming 2d platform game tutorial

I should probably rewrite the Hollywood version of my simple tilemap engine or just write a simple tutorial explaining the basic concepts of old school platformer. I have an updated version with collision map support of my library for the 8th programming language. It still needs some work but can al...
by jalih
Tue Jun 28, 2022 8:39 pm
Forum: Newbie questions
Topic: Print Text with Bitmap Fonts in iff Format
Replies: 7
Views: 2864

Re: Print Text with Bitmap Fonts in iff Format

Usually bitmap fonts come as two files: the bitmap and the ".fnt" file. It's not hard to parse ".fnt" file and make a proper drawing routine. Years ago, I did a version that supported enough functionality to be usable: @INCLUDE "../parser/parser.hws" @INCLUDE "../p...
by jalih
Fri Apr 15, 2022 4:09 pm
Forum: Hollywood bugs
Topic: Different results on different systems
Replies: 8
Views: 3639

Re: Different results on different systems

Hello again, I've found a relatively fast way to deal with this bug, for all people facing this problem and want to reduce a number to 32bit without using bitwise operators (which cause problems on ARM devices) here is my solution: Local max32bit = 4294967295 Local overflow = max32bit + 1 Local mb ...
by jalih
Mon Apr 26, 2021 4:27 pm
Forum: Newbie questions
Topic: External Ip Address?
Replies: 7
Views: 3819

Re: External Ip Address?

I'm using this free service right now: https://www.ifconfig.me/ip which returns the external ip address in plain text, seems a reliable service from what I've read on Internet. I'm a really noob at network styff :D btw, thanks for the answer! Using http request is typically used to retrieve externa...
by jalih
Thu Jan 07, 2021 8:04 am
Forum: General programming
Topic: Any way to have Function save its Args for later use?
Replies: 17
Views: 8961

Re: Any way to have Function save its Args for later use?

so that is why I am using local, not otherwise interested in using local. And this is only way I have so far figured out how to achieve this. But question is, will n[1]() and n[2]() keep printing "hello" and "world" or might garbage collection or something affect them after thou...
by jalih
Thu Jan 07, 2021 8:00 am
Forum: General programming
Topic: Any way to have Function save its Args for later use?
Replies: 17
Views: 8961

Re: Any way to have Function save its Args for later use?

@jalih can I have a look at your code, for that is basically the same that I am aiming at here. Sorry for a late reply... My code is written in 8th, Forth like programming language. It can be a bit hard to follow, If you don't have experience with stack based concanative programming languages. Here...
by jalih
Sun Dec 27, 2020 9:13 pm
Forum: General programming
Topic: Any way to have Function save its Args for later use?
Replies: 17
Views: 8961

Re: Any way to have Function save its Args for later use?

Easy so far, but problem comes that I cant initiate each step at same time, or even one after another, but things happen first. Like when that one movement is happening, there is moving animation. And problem with that is that once again the moving animation is not happening alone, but all other th...
by jalih
Sat Dec 26, 2020 12:48 pm
Forum: General programming
Topic: Any way to have Function save its Args for later use?
Replies: 17
Views: 8961

Re: Any way to have Function save its Args for later use?

Movelist kind of thing is basically my plan B. This is bit complex way of doing it, but it also has its benefits, especially the point that it lives quite independently from everything else and is somewhat flexible. Trust me, it's a nightmare! If you want to use OOP, why not just make move function...
by jalih
Mon Dec 21, 2020 7:13 pm
Forum: General programming
Topic: Any way to have Function save its Args for later use?
Replies: 17
Views: 8961

Re: Any way to have Function save its Args for later use?

Bugala wrote: Mon Dec 21, 2020 5:34 pm I can use a different solution for this, but this would seem like the current best idea I have to solve the problem.
Sounds horribly complex! Why not just manage simple move list for object?
by jalih
Mon Dec 21, 2020 7:04 pm
Forum: General programming
Topic: Can I self = NIL somehow in OOP?
Replies: 8
Views: 4252

Re: Can I self = NIL somehow in OOP?

Bugala wrote: Mon Dec 21, 2020 5:14 pm disappointment. That in this example case, it both times debugprints number 3, when I am hoping that the second time it would give me an error of both a as well as a.test not existing.
Why not just use?:

Code: Select all

a = Nil
instead of:

Code: Select all

a:Destroyer()