Search found 72 matches

by jinxtengu
Sun Jan 27, 2019 3:01 am
Forum: General discussion
Topic: Doom style 3d reduced to 2 directions
Replies: 8
Views: 650

Re: Doom style 3d reduced to 2 directions

Thanks for the replies folks. I actually haven't had time to try this and integrate the code thats been posted, it's been 46 degrees here (Australia, and no air con), and I take things a bit slowly in such heat. I would like to understand the maths if possible, so thanks for the link to the stack ex...
by jinxtengu
Thu Jan 24, 2019 2:20 am
Forum: General discussion
Topic: Doom style 3d reduced to 2 directions
Replies: 8
Views: 650

Re: Doom style 3d reduced to 2 directions

Thanks Ats, that does seem simple. Do you know a code that could be used to set a value to 1, if an object is moving to the left (as seen in the players field of vision) and sets the same value to a 2 if the object is moving to the right (again in the players field of vision)? Also any idea how a fl...
by jinxtengu
Wed Jan 23, 2019 5:09 am
Forum: General discussion
Topic: Doom style 3d reduced to 2 directions
Replies: 8
Views: 650

Re: Doom style 3d reduced to 2 directions

Hey thanks for the reply, Ats. This isn't exactly what I was aiming at, however it's useful to me none the less. Everybit of code helps. Perhaps my explanation wasn't very clear so I'll try and break it down. The monks code makes non player objects display fake angles, loading 8 animation frames for...
by jinxtengu
Tue Jan 22, 2019 6:35 am
Forum: General discussion
Topic: Doom style 3d reduced to 2 directions
Replies: 8
Views: 650

Doom style 3d reduced to 2 directions

Hi, Iv'e been using this 8 direction monks code in some of my games http://www.revengeofthesunfish.com/Monks.zgeproj . Anyway, I'm wondering how this code can be modified to do two things, firstly so that instead of having 8 directions, it would only use only 2, left and right, that is as viewed fro...
by jinxtengu
Thu Dec 06, 2018 6:10 am
Forum: General discussion
Topic: Shader messes with the transparency
Replies: 3
Views: 357

Re: Shader messes with the transparency

Thanks. I got it working now. I was adding the alpha test without even realising it could be edited. I just assumed it was either on or off, I see now it works with a threashold, which makes sense.
by jinxtengu
Thu Dec 06, 2018 12:29 am
Forum: General discussion
Topic: Shader messes with the transparency
Replies: 3
Views: 357

Re: Shader messes with the transparency

Here's an example of the glsl shader Iv'e been trying to use.

http://www.revengeofthesunfish.com/fog_ ... ng.zgeproj

When I run the example I see the images disappear suddenly rather than fade.
Is there a fix to get this shader to fade gradually and keep transparency with flat models?
by jinxtengu
Wed Dec 05, 2018 11:54 pm
Forum: General discussion
Topic: Bass.dll volume functions
Replies: 2
Views: 356

Re: Bass.dll volume functions

Thanks a bunch Kjell! This is just what I was looking for
:)
by jinxtengu
Wed Dec 05, 2018 1:54 am
Forum: General discussion
Topic: Bass.dll volume functions
Replies: 2
Views: 356

Bass.dll volume functions

Hey does anyone know how to alter the volume parameters using Bass.dll for mod playback?
by jinxtengu
Wed Dec 05, 2018 1:40 am
Forum: General discussion
Topic: Compiling for mac and Linux
Replies: 3
Views: 341

Re: Compiling for mac and Linux

Hi, even though ZGE also supports Mac, Linux and Android targets, it is currently only the Window target that is up to date. The reason for this is that I don't have current Freepascal installations that allow me to build ZGE for those platforms (and it is quite time consuming to set this up, unfor...
by jinxtengu
Wed Dec 05, 2018 1:23 am
Forum: General discussion
Topic: Vertical sync with monitor refresh
Replies: 3
Views: 377

Re: Vertical sync with monitor refresh

to answer your questions about the system info, im running: windows 7 professional service pack 1 theme: windows classic Gpu ASUS EAH6950 series ATI display adapter (0x6719) Internal DAC (400MHz) DIsplay mode 1920x1080 (32bit) (60HZ) main driver:aticfx64.dll version 8.801.0.0 the monitor refresh rat...
by jinxtengu
Tue Dec 04, 2018 2:44 am
Forum: General discussion
Topic: Vertical sync with monitor refresh
Replies: 3
Views: 377

Vertical sync with monitor refresh

Hello. Iv'e been testing a game made with Zgame editor on multiple machines. Iv'e found on a SyncMaster monitor 1920x1080 resolution the monitor refresh isn't synced with the game, meaning the top half of the screen is refreshing faster than the bottom half of the screen causing a sort of subtle tea...
by jinxtengu
Tue Dec 04, 2018 2:39 am
Forum: General discussion
Topic: Shader messes with the transparency
Replies: 3
Views: 357

Shader messes with the transparency

Hey Iv'e been trying out an old shader code, I can post a link to it later but i’m on another computer right now. Anyway the shader makes objects fade into the distance, but I’ve found when applied to models with a transparent "Black rgb 000" background the transparency stops working and I get a bla...
by jinxtengu
Tue Dec 04, 2018 2:23 am
Forum: General discussion
Topic: Compiling for mac and Linux
Replies: 3
Views: 341

Compiling for mac and Linux

Hi, I am trying to compile a game in zgame editor so that it will run on a Mac, im using windows. When I try to compile the game I get an error message, saying it doesn’t have the required files. I know this is probably already in another thread but can someone please point me in the direction of th...
by jinxtengu
Fri Oct 13, 2017 12:13 am
Forum: General discussion
Topic: Frame rate issue
Replies: 2
Views: 1192

Re: Frame rate issue

I’ll certainly post it on here when it’s complete :) The framerate is stable and then suddenly (when the levels loaded again) it becomes slower, then upon leaving the level (entering other game states) the speed goes back to normal. It doesn’t seem to get any slower either. Another thing I noticed, ...
by jinxtengu
Thu Oct 12, 2017 4:41 am
Forum: General discussion
Topic: Frame rate issue
Replies: 2
Views: 1192

Frame rate issue

Hi there, I've been making a game in Z-game editor (this is actually a different one to the last game I mentioned on these forums) but I’ve run into a little problem and I’m not sure of the cause. So first a bit of background, The game is a first person perspective game and if the player dies (from ...