Raydium 3D Game Engine

Official forum for everything about Raydium, ManiaDrive, MeMak, ...
It is currently Tue Mar 19, 2024 7:19 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Wed Jan 16, 2008 9:03 pm 
Offline

Joined: Wed Jan 16, 2008 8:42 pm
Posts: 7
Hi,

I discovered the game some days ago, and it's great. I started building a nice track (not completely done however). There are some major issues with the track editor that seriously drive me crazy: (patches follow)

* camera setting: my suggestion would be x-Axis=rotation, y-Axis=elevation. Ignore me it if the rotation behaviour was set as it is deliberately.
patch for mania2.c:

Code:
910c910
<   roty=((float)raydium_mouse_y-((float)raydium_window_ty/(float)2)) * ((float)360/(float)raydium_window_ty);
---
>   roty=(-(float)raydium_mouse_y) * ((float)180/(float)raydium_window_ty);
917c917
<   roty=((float)raydium_mouse_y-((float)raydium_window_ty/(float)2)) * ((float)360/(float)raydium_window_ty);
---
>   roty=(-(float)raydium_mouse_y) * ((float)180/(float)raydium_window_ty);
921c921
<   glRotatef(rotx,0,1,0);
---
>   glRotatef(rotx,0,0,1);


*zooming: why not use smooth zoom? the following patch maps F11 and F12 to zoom in/out. (why does GLUT only offer those few special keys? *wonders*)

Code:
32a33
> GLfloat zoom_laststep=0;
894a896,912
>  if(raydium_key[GLUT_KEY_F11] || raydium_key[GLUT_KEY_F12])
>  {
>      if(raydium_key[GLUT_KEY_F11])
>      {
>          zoom_laststep += 0.01;
>          if(zoom_laststep>0.2) zoom_laststep=0.2;
>      } else
>      {
>          zoom_laststep -= 0.01;
>          if(zoom_laststep<-0.2) zoom_laststep=-0.2;
>      }
>      modl_zoom += zoom_laststep;
>  }
>  else
>  {
>      zoom_laststep = 0.0;
>  }


* In update_vars: why not set raydium_projection_far=10; constant? Would stop the landscape from "disappearing" on zoom-in.

* tile selection. "Paging-up" and "-down" is really annoying. My suggestion would be quick selection via number entry (e.g. 2 - 3 pressed in quick succesion --> goto tile 23). no patch for this by now, but I'd be happy to code this if you agree.

greetings,
aurelix


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 20, 2008 9:00 pm 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2591
Location: gnniiiii (Scrat)
Hi and thanks for your contribution !

The editor was a quick and dirty piece of code, so a lot of choices we've done when writing it are now quiet inappropriate :)

ManiaDrive is planned to provide a WYSIWYG in-game editor to make things way more user-friendly.

It's not supposed to happen, but if we have to release another version of ManiaDrive 1.x, I'll try to merge your patch. Thanks again !


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 21, 2008 5:53 pm 
Offline

Joined: Wed Jan 16, 2008 8:42 pm
Posts: 7
You're welcome :)

Regarding a new editor, is there anything in SVN right now? I'm curious. :D Also I'd like to help improve if I can, although my free time is limited.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 09, 2008 9:27 pm 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2591
Location: gnniiiii (Scrat)
Nothing about ManiaDrive 2 is in the SVN until the "official start of the project". And in facts, currently, I've nothing interesting to commit about MD2 :) (only done a bunch of physics tests).


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group