Search found 122 matches

by jinxtengu
Thu Feb 22, 2024 4:52 am
Forum: Your projects
Topic: New game: The Eternal Return
Replies: 3
Views: 3605

Re: New game: The Eternal Return

Thanks, I'm glad you could appreciate it :D I'm working on other games in Z game editor, some that I've been working on for a few years now, but it just takes ages to finish things. This was a spontaneous act of creation, it took a total of 3 and a half weeks to make.
by jinxtengu
Tue Feb 20, 2024 10:08 am
Forum: Your projects
Topic: New game: The Eternal Return
Replies: 3
Views: 3605

New game: The Eternal Return

Hello, I just released my first game made with Z game editor, called "The Eternal Return" https://www.revengeofthesunfish.com/eternal.gif It can be downloaded from my website: https://www.revengeofthesunfish.com/gamesarc.html This is an interactive "Journey", also it contains som...
by jinxtengu
Tue Oct 10, 2023 1:56 am
Forum: General discussion
Topic: A way to set GL fog color?
Replies: 4
Views: 31142

Re: A way to set GL fog color?

Many thanks Kjell.
by jinxtengu
Mon Oct 09, 2023 8:12 am
Forum: General discussion
Topic: A way to set GL fog color?
Replies: 4
Views: 31142

Re: A way to set GL fog color?

Hi, To answer your question, I was defining glFogfv(GL_FOG_COLOR, fogcolor); inside the Opengl32 library. It was giving me an Invalid primary error message, however when I imported the built in Opengl library as you suggested, and then defined the function it worked. Turns out I was using a deprecia...
by jinxtengu
Sun Oct 08, 2023 11:06 pm
Forum: General discussion
Topic: A way to set GL fog color?
Replies: 4
Views: 31142

A way to set GL fog color?

Hello, I was wondering if anyone knows a way to set the GL fog color? I'd like to make a game where the fogcolor is blue or maybe white. I have tried a number of different ways but, all came up with various error messages, Defining the function glfogfv(Gl_fog_color,fogcolor); I get an unknown functi...
by jinxtengu
Wed Jul 05, 2023 10:59 am
Forum: General discussion
Topic: Question regarding simple animators and model states.
Replies: 2
Views: 19196

Re: Question regarding simple animators and model states.

I hadn't noticed that component until now. I just implemented it (in on start of the model state) and yes it works in the situation I described.
Thank you for answering my question. :mrgreen:
by jinxtengu
Wed Jul 05, 2023 5:52 am
Forum: General discussion
Topic: Sound volume based on distance
Replies: 4
Views: 19083

Re: Sound volume based on distance

Many thanks for the update!! :D
by jinxtengu
Wed Jul 05, 2023 5:52 am
Forum: General discussion
Topic: Question regarding simple animators and model states.
Replies: 2
Views: 19196

Question regarding simple animators and model states.

Hi, I'm working on a game in Z game editor and I've run into a small problem which I'm not sure how to solve. I have a model that loads a model state when it is spawned. On the "On render" it runs a simple animator. Repeat count is set to 0. The animation works fine, the first time the mod...
by jinxtengu
Tue May 09, 2023 9:17 am
Forum: General discussion
Topic: Making a model rotate to face another.
Replies: 4
Views: 9405

Re: Making a model rotate to face another.

Thanks for your explanations. This actually makes sense to me now. :)
by jinxtengu
Tue May 09, 2023 9:15 am
Forum: General discussion
Topic: Sound volume based on distance
Replies: 4
Views: 19083

Re: Sound volume based on distance

Thanks again.
Yes, this is almost exactly what I was looking for, although, I notice that the sound ceases entirely when the player is directly over the top of the source of the sound. Is that because it's clipping a value of 1?
by jinxtengu
Tue May 09, 2023 9:12 am
Forum: General discussion
Topic: Dynamic terrain
Replies: 6
Views: 42156

Re: Dynamic terrain

Once again thanks for the example Kjell. This will probably suffice for what I had in mind, if I can figure out a few additional parameters. The sort of game engine I had in mind was something akin to Kings field 2 on the PSX, or Tale of the sun, also on the PSX. In both these games you can traverse...
by jinxtengu
Mon May 08, 2023 7:34 am
Forum: General discussion
Topic: Making a model rotate to face another.
Replies: 4
Views: 9405

Re: Making a model rotate to face another.

Thanks alot Kjell! This has helped me alot! :D I've been reading over the code you posted so I can understand it. Why is float integer of A2 divided by PI times 0.5? Why not just divide it by PI, to get 360 degrees. Why is the 0.5 necessary on the end? also here: float a = a2-a1; if(a > 0.5)a--; els...
by jinxtengu
Mon May 08, 2023 7:24 am
Forum: General discussion
Topic: Dynamic terrain
Replies: 6
Views: 42156

Re: Dynamic terrain

That's fair enough, considering the amount of code and assistance he's already most graciously provided. Also it does create an incentive to try to figure out a solution myself. I did do a few forum searches for "terrain", and I'll continue to read what has already been posted. Testing pre...
by jinxtengu
Sun May 07, 2023 7:23 am
Forum: General discussion
Topic: Dynamic terrain
Replies: 6
Views: 42156

Dynamic terrain

Hi I am interested in making an fps (in terms of the games perspective, there may be no actual shooting involved) in this hypothetical fps the ground that the player traverses is of variable height and somewhat dynamic. It seems easy enough to create, a doom style game in Z game editor, where all th...
by jinxtengu
Sun May 07, 2023 7:12 am
Forum: General discussion
Topic: Sound volume based on distance
Replies: 4
Views: 19083

Sound volume based on distance

Hi. I wanted to find a way to code Sound effects so that the volume of a sound is louder the closer one is to the object which is emitting the sound. I am using .ogg as the primary sound format. Lets say for example a cricket is chirping in the game, and we wanted the sound to be audible as the play...