Page 1 of 1

Another World Anim

Posted: Sun Dec 24, 2023 11:09 am
by SPH
Hi,

my polygon engine is almost finished and can already make animations.

Here is one (right click / Save link as...):
OLD :
http://xmas.free.fr/flingue.zip

NEW_2024 :
http://xmas.free.fr/flingue2.zip
In the archive, there are the data, the .PB and an .EXE

=

What do you think ?
Thx :wink:

Re: Another World Anim

Posted: Sun Dec 24, 2023 12:03 pm
by Oso
SPH wrote: Sun Dec 24, 2023 11:09 am What do you think ? Thx
Very impressive SPH, I like the idea of storing sequences in files as it gives you the opportunity of defining a significant volume of data without oversized source code. How long does it take you to map that kind of data?

My PureBasic virtual machine sometimes fails to display graphics — possibly due to sprites, which you aren't using.

Re: Another World Anim

Posted: Sun Dec 24, 2023 1:41 pm
by SPH
As this is a very new use of my polygon editor, I had to adjust certain portions of code; so, overall, this anim took me around 6 hours.
Now that I have the technique, I can do it in 2 hours.

I don't use any sprites! Why are you talking about sprites anyway?
This animation is 100% openGL polygons

Storing the data in files avoids burdening the exe but also allows you to do "For i=1 to 10: load_poly("aw",i)..."
This is not possible with a Data section. We cannot restore a number but a label.

PS: my anim is as "slow" as the original and can be much faster by modifying the "120" in the "display_poly_small(120,1)" instruction.
But faster also means more images to create...

Re: Another World Anim

Posted: Sun Dec 24, 2023 5:50 pm
by Kwai chang caine
Works nice here, PIXAR will find you a job soon :wink:
Thanks for sharing 8)

Re: Another World Anim

Posted: Sun Dec 24, 2023 10:19 pm
by Caronte3D
Nice code and nice memories of the gorgeous game: Another World :wink:

Re: Another World Anim

Posted: Sat Dec 30, 2023 5:02 pm
by miskox
PB 6.03 TLS (licensed) gives this error:

Code: Select all

Line 134: Too complex expression (out of CPU registers). Please split it.
This is line 134:

Code: Select all

Dim sph_yy(Lof(1)/2)
Some CPU-Z info if this helps:

Code: Select all

Number of cores		2 (max 2)
	Number of threads	4 (max 4)
	Manufacturer		GenuineIntel
	Name			Intel Core i3 6100
	Codename		Skylake
	Specification		Intel(R) Core(TM) i3-6100 CPU @ 3.70GHz
	Package (platform ID)	Socket 1151 LGA (0x1)
	CPUID			6.E.3
	Extended CPUID		6.5E
.exe file works.

Saso

Re: Another World Anim

Posted: Sat Dec 30, 2023 5:10 pm
by SPH
miskox wrote: Sat Dec 30, 2023 5:02 pm PB 6.03 TLS (licensed) gives this error:
And PB 6.04+ ? :?:

thx :cry:

Re: Another World Anim

Posted: Sat Dec 30, 2023 10:24 pm
by SPH

Code: Select all

Dim sph_yy(Lof(1)/2+8)
That's ok ?

Re: Another World Anim

Posted: Sun Dec 31, 2023 10:50 am
by miskox
Update: PB 6.03 and 6.04 LTS x86 gives an error, on PB 6.04 x64 LTS works (with original line 134 Dim sph_yy(Lof(1)/2)).

So: program should be compiled on x64 and not on x86.

Thanks.
Saso

Re: Another World Anim

Posted: Mon Jan 01, 2024 11:52 am
by SPH
miskox wrote: Sun Dec 31, 2023 10:50 am Update: PB 6.03 and 6.04 LTS x86 gives an error, on PB 6.04 x64 LTS works (with original line 134 Dim sph_yy(Lof(1)/2)).

So: program should be compiled on x64 and not on x86.

Thanks.
Saso
Look the first post and DL the new link.
All charged on memory avec speed up....

That's ok now ?

Re: Another World Anim

Posted: Mon Jan 01, 2024 1:58 pm
by miskox
New version works on x86 6.03 LTS registered version.

Thanks.
Saso

Re: Another World Anim

Posted: Mon Jan 01, 2024 2:21 pm
by SPH
miskox wrote: Mon Jan 01, 2024 1:58 pm New version works on x86 6.03 LTS registered version.

Thanks.
Saso
YOUUUUUPIIIIIIIIII ! =)

Re: Another World Anim

Posted: Tue Jan 02, 2024 7:26 pm
by minimy
Thanks for this nostalgy animation of one of the best Amiga games.
Nice job!! this is a flashback, no is another world hahaha!