Search found 8 matches

by daz
Sat Feb 20, 2010 7:15 pm
Forum: Releases
Topic: Beta release 1.9.9b
Replies: 99
Views: 189855

kattle87 wrote:uhm... I've been away for a while...
And when I came back I found so much new stuff....

However I guess that's the end of ZGE on linux... Am I wrong?
Maybe the editor, quote from features page:
Feature page wrote:Cross-platform: The editor is Windows only, but your applications can also run in Linux and Mac OS X.
by daz
Sat Feb 20, 2010 1:58 pm
Forum: Feature requests
Topic: Mouse click support
Replies: 2
Views: 4766

VilleK wrote:Hi daz,

Mouse clicks can be detected using special characters in KeyPress-component:

http://www.zgameeditor.org/index.php/Co ... f/KeyPress

You can see examples of this in Triple-E and Particles sample projects.
Ah, thank you :wink:
by daz
Sat Feb 20, 2010 4:48 am
Forum: Feature requests
Topic: Mouse click support
Replies: 2
Views: 4766

Mouse click support

Correct me if I'm wrong, but I don't believe there's currently support for mouse clicks. Left/Right is enough for me, but if support for MMB is added, I'm sure someone would use it ;) Also, a native keyup event would be nice so I don't have to spend time implementing a dirty work around. I'm liking ...
by daz
Sat Feb 13, 2010 2:58 am
Forum: General discussion
Topic: Trying to get model to follow mouse
Replies: 18
Views: 18848

physics are not yet a part of zge, so i'm afraid you'll have to script your own. Unfortunately, I believe I'd need a KeyUp component for that... (Now, if I were really persistent, I'd setup a variable that's set on press, with a timer constantly overriding that variable to something else. This way,...
by daz
Sat Feb 13, 2010 12:05 am
Forum: General discussion
Topic: Trying to get model to follow mouse
Replies: 18
Views: 18848

The co-ords are x -1 to +1, Y -1 to +1 take care that this depends on the Camera Settings. a camera with FOV 45 situated at position [0, 0, 1] and a square viewport (window) will look at the area between -1/+1 for x and y. when you put it further away on the z-axis or enlarge the FOV, the visible a...
by daz
Fri Feb 12, 2010 11:23 pm
Forum: General discussion
Topic: Trying to get model to follow mouse
Replies: 18
Views: 18848

The co-ords are x -1 to +1, Y -1 to +1 RenderText renders whole numbers, so make FloatMultiply 10.0 As to model to model, I suggest using a more global approach using app/states.AppState's and using ZExpressions from there. Ok. I guess that seemed to give RenderText a more accurate depiction of the...
by daz
Fri Feb 12, 2010 9:05 pm
Forum: General discussion
Topic: Trying to get model to follow mouse
Replies: 18
Views: 18848

After getting the MouseModelController working, I think it might provide an interesting smoothness.. but why I originally wanted to do it manually (and still might) is because this might not be fast enough for some shmuppers. Currently what I guess I'd need help with is this whole odd coordinate sys...
by daz
Fri Feb 12, 2010 2:50 am
Forum: General discussion
Topic: Trying to get model to follow mouse
Replies: 18
Views: 18848

Trying to get model to follow mouse

Basically, I'm trying to create a cursor model to follow the mouse pos. I have OnStart (Not code) Curs: SpawnModel CursorModel OnRender (& OnUpdate since OnRendering didn't work) (Code) Curs.Position.X = App.MousePosition.X; Curs.Position.Y = App.MousePosition.Y; but the position of the model do...