Raydium 3D Game Engine

Official forum for everything about Raydium, ManiaDrive, MeMak, ...
It is currently Fri Mar 29, 2024 8:05 am

All times are UTC




Post new topic Reply to topic  [ 55 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: VersusRx
PostPosted: Sun Sep 07, 2008 8:36 pm 
Offline

Joined: Sun Oct 09, 2005 10:46 pm
Posts: 759
Hello,

I manage to get your app working on windows.
If some texture is missing (i forgot to add your repository to the repository list), it enter in an infinite loop. Perhaps problematic.

You need to detail steps to have it running on your site.

Quote:
Add http://87.216.217.107/raydium/r3s/ to repositories.list in rayphp directory


I can send my codeblock project.

Graphics are pretty, but the game is sslllooowwwww !!!! People walk very slowly.

Have a nice day
Ouille.


Top
 Profile  
 
 Post subject: Re: VersusRx
PostPosted: Sun Sep 07, 2008 8:47 pm 
Offline
User avatar

Joined: Thu Sep 29, 2005 2:59 pm
Posts: 828
Great!
Yes, Could you send me the proyect?

By the way all the media is now in the data subfolder, so the repository is no more usefull.


Top
 Profile  
 
 Post subject: Re: VersusRx
PostPosted: Mon Sep 08, 2008 7:25 am 
Offline

Joined: Sun Oct 09, 2005 10:46 pm
Posts: 759
Hello,

I've just update from the svn before running the app, and it doesn't work. It seem that some files are not in the data part of the svn.

I'll make an other try.

Have a nice day
Ouille


Top
 Profile  
 
 Post subject: Re: VersusRx
PostPosted: Mon Sep 08, 2008 9:02 am 
Offline
User avatar

Joined: Thu Sep 29, 2005 2:59 pm
Posts: 828
Wops, sorry
Use the experimental branch, the trunk is obsolete ;)
Sorry again


Top
 Profile  
 
 Post subject: Re: VersusRx
PostPosted: Mon Sep 08, 2008 2:59 pm 
Offline

Joined: Sun Oct 09, 2005 10:46 pm
Posts: 759
Hello,

I can't see such branch :(

Can you send the adress ?

EDIT: Ok found it on sourceforge :D

Have a nice day
Ouille


Top
 Profile  
 
 Post subject: Re: VersusRx
PostPosted: Mon Sep 08, 2008 3:29 pm 
Offline
User avatar

Joined: Thu Sep 29, 2005 2:59 pm
Posts: 828
Of course
svn co https://versusrx.svn.sourceforge.net/svnroot/versusrx versusrx

Here to take a look:
http://versusrx.svn.sourceforge.net/viewvc/versusrx/

Hmm.... wait. Have you trying the old code from my own computer? That's really old code. The new one is in sourceforge.

And thanks again


Top
 Profile  
 
 Post subject: NightMare
PostPosted: Mon Sep 08, 2008 5:47 pm 
Offline

Joined: Sun Oct 09, 2005 10:46 pm
Posts: 759
Hello,

So .... I took the experimental branch of sourceforge svn (need to update your web site :wink: )

After it was awfull !!! Compiling it on windows :twisted:

I manage to do it but i report lot's of very strange things.

1) Max and Min are redefined, normaly they are standarts macro (i think), so build fail :cry:

2) Some function are not prototyped. With my gcc build faild. :cry:

3) I forgot to add main.c to my project and i fight for an hour with missing winmain ... :twisted:

4) Why did you declare your function __global ? There is a big hint on windows with this. Function are declared as dll exported (du du RAYDLL ) and linker throw lot's of errors :cry:

BUT ...

Graphics are really nices ! Super Trinitant fly in the air (and when he goes to high in the screen he goes under the water).

Are you the graphist ? Did you do all of this alone ?


I run a really small try !

Have a nice day
Ouille


Top
 Profile  
 
 Post subject: Re: VersusRx
PostPosted: Mon Sep 08, 2008 8:05 pm 
Offline

Joined: Sun Oct 09, 2005 10:46 pm
Posts: 759
Hello,

I really don't manage to make your code compile on windows in a clean way.

Here is a path (with code block project) of what i done.
http://ftp.cqfd-corp.org/versusrx.patch

Be carrefull some modifications are specific for my tests (data path).

I can suggest you:

Drop __global definition from define.h and remove it from all function declaration.
include "raydium/index.c" in each file and include specific to your file.

Link all of this together.

I don't know if this cause problem on linux but it work fine on windows.

In other case you risk to have problem with windows build, and RAYDLL flag.

If you are interested i can try to make a simple project with two dummy files, for validating build process on windows. You can try to validate it on linux after. As you want.

Have a nice day
Ouille.


Top
 Profile  
 
 Post subject: Re: VersusRx
PostPosted: Mon Sep 08, 2008 11:28 pm 
Offline
User avatar

Joined: Thu Sep 29, 2005 2:59 pm
Posts: 828
Hmmm, in fact I have no windows so hard to make test :)
Anyway, maybe I could get one windows tomorror of the next day.

I think I will need here a bit of help "on the fly" with this (I have no idea about coding on windows). Could it be possible to chat online with you directly? IRC?jabber?messenger?

AndyGFX also code on windows and he has told me that maybe he would be able to give me a hand with this anyway :)


Top
 Profile  
 
 Post subject: Re: VersusRx
PostPosted: Tue Sep 09, 2008 7:21 am 
Offline

Joined: Sun Oct 09, 2005 10:46 pm
Posts: 759
Hello,

You don't need windows at all.

I think you can have easily your project running on both windows and linux.

For this you can't use __global and hack you done in define.h.

My question was: does your project can run without __global before function definition ?

I'll send you a sample project of to file. I'll validate build steps on windows. If you can validate build steps on linux you'll have a base.

Have a nice day.
Ouille


Top
 Profile  
 
 Post subject: Re: VersusRx
PostPosted: Tue Sep 09, 2008 1:09 pm 
Offline
User avatar

Joined: Thu Sep 29, 2005 2:59 pm
Posts: 828
By parts:

  • Redefinitions of MAX and MIN: I have uncommented the max and min functions. Also I have read that using macros for max and min could be very dangerous in some situations, so i choosed to do them as functions.
  • Some functions without prototypes: Ok. All function ( that I have seen) now have prototype.
  • Main function: I guess I have nothing to do here, right?
  • __Global: All global uses removed. Should I remove also the final #ifdef in the defines.h file?
  • About graphics: A lot of them are taken from the previous game (Super Tirititran) and no, I didn't do them. Also I have one designer working in the new graphics and a betwen-level comic.
  • Patch: Applied :)
  • And all that is working in the new SVN commit (experimental branch, as always).

Tell me more things to change :)


Top
 Profile  
 
 Post subject: Re: VersusRx
PostPosted: Tue Sep 09, 2008 1:30 pm 
Offline

Joined: Sun Oct 09, 2005 10:46 pm
Posts: 759
Hello,

YES !

Here is a small patch (some global still there).

http://ftp.cqfd-corp.org/versusrx2.patch

For max and min it cause problem, here i don't now how to deactivate standard librarie macro.

I suggest to recall them maxim and minim. You'll won't have problem.

Now your app compile and run on windows box to.

Several hits:

I can't see the comics (only case white / black ) no drawing.

First ship flash (as it miss an other texture or something like that).

After i don't manage to do lot's of things (muerte !)

Please to see more !

Have a nice day
Ouille.


Top
 Profile  
 
 Post subject: Re: VersusRx
PostPosted: Tue Sep 09, 2008 4:31 pm 
Offline
User avatar

Joined: Thu Sep 29, 2005 2:59 pm
Posts: 828
New commit with the changes.

About comics, they are blank until the designer send me new material.

Also, during the three initial (logo) screens you can press key 2 to be send to level 2 (different gameplay). It will take a while to load (biiiiig textures)


Top
 Profile  
 
 Post subject: Re: VersusRx
PostPosted: Tue Sep 09, 2008 8:55 pm 
Offline
User avatar

Joined: Thu Sep 29, 2005 2:59 pm
Posts: 828
Sorry, I noticed a few bugs in linux version so I had to change a bit the files.
Can you check the new commit?

When you press "jugar" you see a simple intro and at the end you should be able to move "supertirititran", shooting and collide with the enemy boats.


Top
 Profile  
 
 Post subject: Re: VersusRx
PostPosted: Tue Sep 09, 2008 9:07 pm 
Offline
User avatar

Joined: Sun Mar 16, 2003 2:53 am
Posts: 2591
Location: gnniiiii (Scrat)
I don't know if it may help you, but just in case: Raydium provides raydium_trigo_min(x,y) (and max) macros.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 55 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 32 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:  
cron
Powered by phpBB® Forum Software © phpBB Group