Search found 80 matches

by jinxtengu
Thu Sep 26, 2019 8:31 am
Forum: General discussion
Topic: Coding a radar, and a bunch of other stuff perhaps.
Replies: 2
Views: 1353

Coding a radar, and a bunch of other stuff perhaps.

Hey all, I am interested in coding a radar showing the positions of enemies in relation to the player, similar to the old game Battlezone here's a screenshot of battlezone, you see the radar in the top right hand of the screen. https://i.ytimg.com/vi/u93DOlL-oFg/maxresdefault.jpg Does anyone know th...
by jinxtengu
Wed Jun 12, 2019 1:45 am
Forum: General discussion
Topic: upgrading to new version app.collided error
Replies: 2
Views: 1606

Re: upgrading to new version app.collided error

Thanks. Sorry to ask such simple questions.
by jinxtengu
Tue Jun 11, 2019 5:18 am
Forum: General discussion
Topic: app.DeltaTime sync with frame rate
Replies: 2
Views: 2071

Re: app.DeltaTime sync with frame rate

Hi jinxtengu, Obviously I'd like to have a standard height reached regardless of the speed the game is currently running on. Getting the exact same jumping height using a varying time-step is actually a little more tricky than you might think ... that being said you probably want to use "CurrentMod...
by jinxtengu
Tue Jun 11, 2019 5:10 am
Forum: General discussion
Topic: Doom style 3d reduced to 2 directions
Replies: 12
Views: 4025

Re: Doom style 3d reduced to 2 directions

Any chance this could be simplified for use under version 1.9.9 of z game editor? Is there a specific reason you are using this old version of ZGameEditor? I've got a few games I've been working on and I'd like to complete them before upgrading. Iv'e tried upgrading them in the past to new er versi...
by jinxtengu
Tue Jun 11, 2019 4:41 am
Forum: General discussion
Topic: upgrading to new version app.collided error
Replies: 2
Views: 1606

upgrading to new version app.collided error

Hi Z game forums, I just downloaded the newest version of z game editor (version 4.0) and tired out a game im working on (version 1.9.9). I get an error upon running: Unknown property: CollidedCategory. I'm assuming the syntax has changed for collision conditions. my syntax is currently like this: r...
by jinxtengu
Mon Jun 10, 2019 8:16 am
Forum: General discussion
Topic: Doom style 3d reduced to 2 directions
Replies: 12
Views: 4025

Re: Doom style 3d reduced to 2 directions

Any chance this could be simplified for use under version 1.9.9 of z game editor?
by jinxtengu
Mon Jun 10, 2019 8:12 am
Forum: General discussion
Topic: app.DeltaTime sync with frame rate
Replies: 2
Views: 2071

app.DeltaTime sync with frame rate

Hey z game forum. I'm working on a platform game in z game editor and I've just noticed that the main character jumps lower (in terms of height) on a slow pc rather than on a fast pc. Obviously I'd like to have a standard height reached regardless of the speed the game is currently running on. the Y...
by jinxtengu
Sat Apr 06, 2019 3:44 am
Forum: General discussion
Topic: How to have a flat 3d cube always face the camera.
Replies: 4
Views: 2164

How to have a flat 3d cube always face the camera.

Hi, I've been experimenting with making Guis in Z game editor and I'd like to make a game in the style of wolvenstein (just for a bit of fun) where the players weapon is visible in front of the camera, but I've been kinda struggling to get this to work. Basically I want to have a flat object facing ...
by jinxtengu
Sun Jan 27, 2019 3:01 am
Forum: General discussion
Topic: Doom style 3d reduced to 2 directions
Replies: 12
Views: 4025

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: 12
Views: 4025

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: 12
Views: 4025

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: 12
Views: 4025

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: 2147

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: 2147

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: 2137

Re: Bass.dll volume functions

Thanks a bunch Kjell! This is just what I was looking for
:)