Search found 122 matches
- Tue Dec 04, 2018 2:44 am
- Forum: General discussion
- Topic: Vertical sync with monitor refresh
- Replies: 3
- Views: 7420
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...
- Tue Dec 04, 2018 2:39 am
- Forum: General discussion
- Topic: Shader messes with the transparency
- Replies: 3
- Views: 7221
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...
- Tue Dec 04, 2018 2:23 am
- Forum: General discussion
- Topic: Compiling for mac and Linux
- Replies: 3
- Views: 6884
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...
- Fri Oct 13, 2017 12:13 am
- Forum: General discussion
- Topic: Frame rate issue
- Replies: 2
- Views: 6735
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, ...
- Thu Oct 12, 2017 4:41 am
- Forum: General discussion
- Topic: Frame rate issue
- Replies: 2
- Views: 6735
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 ...
- Sat Sep 16, 2017 1:20 am
- Forum: General discussion
- Topic: Offset on spawned model.
- Replies: 2
- Views: 5515
Re: Offset on spawned model.
Thanks Kjell, I'll try that out and see how it goes.
- Fri Sep 15, 2017 7:08 am
- Forum: General discussion
- Topic: Offset on spawned model.
- Replies: 2
- Views: 5515
Offset on spawned model.
Hi, i was wondering how would one go about spawning a new model so that it's positioned say, relative to the right side of the model that spawns it. Now I understand that you could set the offset to be like x+0.54 to place it to the right, however if it’s a 3d model and your facing it from a differe...
- Thu May 11, 2017 3:15 pm
- Forum: General discussion
- Topic: Creating a bullet trail effect
- Replies: 3
- Views: 6851
Re: Creating a bullet trail effect
Shaders aren't necessary for what I'm trying to do, I'd be happy if it were a single color. I can't think of any examples off the top of my head, but I'd describe the effect as looking like a projectile that spawns a continuous trail of shrinking objects in it's wake(without viable gaps)., kind of l...
- Thu May 11, 2017 2:10 pm
- Forum: General discussion
- Topic: Creating a bullet trail effect
- Replies: 3
- Views: 6851
Creating a bullet trail effect
Hey, I'm trying to make a "trail" that's left behind after a projectile, in a non 2d perspective. Not a smoke trail, but more like a solid beam. I'm just wondering what options are there for rendering such an effect? I've tried spawning models with a simple stretch/shrink animation on upda...
- Mon May 08, 2017 3:04 pm
- Forum: General discussion
- Topic: A question about model.y velocity
- Replies: 10
- Views: 10686
Re: A question about model.y velocity
Thank you for the code examples Kjell
- Fri May 05, 2017 2:25 pm
- Forum: General discussion
- Topic: A question about model.y velocity
- Replies: 10
- Views: 10686
Re: A question about model.y velocity
Er, I'm still having a bit of an issue directing moving objects. I find that this works when run on model update: CurrentModel.Rotation.Y=Atan2(CurrentModel.velocity.x,CurrentModel.velocity.Z)/(PI*2); But it only sets the direction for objects moving in a circle and not up and down. How can we set C...
- Fri May 05, 2017 12:44 pm
- Forum: General discussion
- Topic: A question about model.y velocity
- Replies: 10
- Views: 10686
Re: A question about model.y velocity
Ahah, cool cool. I suspected that was the problem.
- Fri May 05, 2017 7:31 am
- Forum: General discussion
- Topic: A question about model.y velocity
- Replies: 10
- Views: 10686
Re: A question about model.y velocity
Thanks Kjell. The example works after making those changes, also thank you for pointing out my mistakes. This is very helpful to me as I don't get feedback very often, so I never know if I'm doing things in a smart way or not. One other thing, how can we adjust the rotational direction (adjust headi...
- Thu May 04, 2017 1:27 pm
- Forum: General discussion
- Topic: A question about model.y velocity
- Replies: 10
- Views: 10686
Re: A question about model.y velocity
Thanks for the code example Kjell.
I tried to follow it, unfortunately I was unable to get it to work in the game.
Here's the zgeproj file of what I was doing so you can take a look. Clicking the mouse spawns a bullet.
http://www.revengeofthesunfish.com/example1.zgeproj
I tried to follow it, unfortunately I was unable to get it to work in the game.
Here's the zgeproj file of what I was doing so you can take a look. Clicking the mouse spawns a bullet.
http://www.revengeofthesunfish.com/example1.zgeproj
- Wed May 03, 2017 9:19 am
- Forum: General discussion
- Topic: A question about model.y velocity
- Replies: 10
- Views: 10686
A question about model.y velocity
Hi, I'm having a bit of difficulty with something, what I'm trying to do is project a newly spawned model in the direction that the camera is facing, but I can't quite work out the correct formula to do this. Apologies for asking such a basic question, thing is I still haven't gotten a real handle o...