Jump to content


Eletron

Member Since 10 Jul 2005
Offline Last Active Aug 13 2008 10:42 PM

Topics I've Started

Xtreme3d 2

21 October 2006 - 12:28 AM

In my game, when i set the sun's elevation the sun only goes halfway in the sky. How do I make it go a full 360 degrees instead of 90?

Thanks,
Eletron

Listex V1.0 Beta!

04 September 2006 - 04:43 PM

Posted Image

Description:
Listex is a very powerful and easy to use collection of scripts.  These scripts allow the programmer to make list boxes.  You can use scrolling, control the color, font and alpha of the list and even control the color and alpha of the item that the mouse is over or the item that's selected.  The example shows you what Listex can really do, with 3 standard listboxes, credits, chat and even a playlist!  

So why would I use this?
  • It's very easy to use.
  • It looks alot better than using a windows listbox.
  • You can easily scroll a playlist up, down or to a certain page.
  • Use multiple lists - assign an id to each list you create.
  • It uses drawing so you can use it in 3D mode by using d3d_set_projection_ortho.
  • It is very fast.
  • Resizable - change the size and position in the game!
  • It doesn't matter how many items are in the list - it won't slow down because it only draws what can fit in the border.
  • You can set a name string for each list.
Known errors:

None so far.

Download Link:
http://www.rocketsof...ds/listexv1.gm6

Screenshots:
Posted Image
Posted Image

Next Version:
The next version will come out mid-September, it will be version 2, and it will include using image lists and deleting and moving items, as well as dragging one item from a list and dropping it into another list.  We will get a new logo soon, and I will make a new example.  We will also include scrollbar in the next update. :D


Have fun!


Cheers,
Eletron

Mouse Seek

23 August 2006 - 12:46 PM

When the user clicks on your player's time bar (the bar that shows the position in the song) it is supposed to seek to that position.  How would you find what position to seek to?

My code so far:

m=mouse_x;
l=saud_Length('sound');
r=400;

pos = (m*l)/r;

saud_Seek(string(pos),'sound');

Am I on the right track?

Thx for the help!
Eletron

Communicating With Other Gm Windows

15 August 2006 - 11:04 PM

I remember it being done... there was an example done on it.  Now I don't remember where I found it... anybody head of the example or know how to do it?

Thanks

Metronome Effect

09 July 2006 - 02:02 AM

Yeah... pretty much self explanitory.  How could I do this?  I know that like 60 would mean every second, 30 would mean every two seconds, etc... so how would I program a metronome?

Thanks,
Eletron