|
Post by smc44 on Mar 28, 2009 9:17:55 GMT -5
Sorry for asking 3d model in .obj format again and again , because I'm learning Blender and wish to export it and just straight away export it into .obj format . I'll try export it in MD2 format . Questions : -How to make a Luminescent Spherical Bullet ? (Mostly on luminescence ..) Can you post a simple example to make a luminescent stuff ? -Thanks- woooow!!, luminesence lol, that doesent seem like the easiest thing to do, ive never tryed to make it(by programming), but ive used it in a 3D modeler
|
|
|
Post by Darkjester on Mar 28, 2009 11:22:14 GMT -5
Why? What do you need it for? Oh and is fairly complex, not worth the speed decrease youll get from implementing it in basic4gl
|
|
|
Post by smc44 on Mar 28, 2009 14:25:01 GMT -5
yea luminence what have to be done in C/C++, basic4gl just couldnt handle that in a game
|
|
|
Post by matthew on Mar 28, 2009 14:32:39 GMT -5
Do you actually have any proof of that or are you just repeating what dj said?
|
|
|
Post by Darkjester on Mar 28, 2009 21:01:03 GMT -5
Do you actually have any proof of that or are you just repeating what dj said?[/quote] *giggles* i know it slows down depending on how you do it, personal experience on my "secret" current project no one knows about -darkjester
|
|
zack8686
Posts a bit
gl-Home in wikispace
Posts: 207
|
Post by zack8686 on Mar 28, 2009 23:49:57 GMT -5
Ok . Now , I'm modifying "ZACK8686 3D AREA 0.20" into a multiplayer online area . Not a game yet , just a place where many users can chat at the same time .
Question : - How to send numbers like "11.2344" using "SendMessage(..) " via internet (send players info) ?
-Thanks-
|
|
|
Post by matthew on Mar 29, 2009 4:29:11 GMT -5
If you read the Network Engine Guide it tells you everything you need to know. Apparently when sending data you use the file writing commands, so I suppose you could use WriteFloat or WriteDouble to send your number.
|
|
|
Post by smc44 on Mar 29, 2009 11:16:41 GMT -5
i thought the network engine was done pretty well for basic4gl and very simple, it should be easy to learn,
|
|
zack8686
Posts a bit
gl-Home in wikispace
Posts: 207
|
Post by zack8686 on Mar 30, 2009 5:50:13 GMT -5
I've tried using WriteFloat and WriteDouble . For the WriteFloat , the other end just receive some sort like " 0.34 - e " and that can't be used to get position of users . And WriteDouble , the other end can't receive and read any message . I've tried using WriteString , but I used ReadText(file,skipEOL) at the other end and getting not the wanted values ....
Finally I just have to used WriteLine and ReadLine to get only floats ,"11,23454" . This just slowed down the whole thing .
|
|
|
Post by matthew on Mar 30, 2009 5:57:02 GMT -5
Yeah, the reason why you're getting numbers with an e at the end is because Basic4GL (like most programming languages) is using Scientific notation to represent the number.
|
|
zack8686
Posts a bit
gl-Home in wikispace
Posts: 207
|
Post by zack8686 on Mar 30, 2009 6:24:23 GMT -5
Oh , yeah . Thanks.
|
|
|
Post by UNDISCLOSED on Apr 10, 2009 5:49:38 GMT -5
I saw your Problem about text size about 3 pages ago and I came up with this pice of code:
ResizeText(WindowWidth()/16,WindowHeight()/16)
No matter what your screen resoloution is it will always Make thie text 16*16px. if you change 16 to your desierd size it will still work.
|
|
zack8686
Posts a bit
gl-Home in wikispace
Posts: 207
|
Post by zack8686 on May 10, 2009 6:27:18 GMT -5
Where can I get some example source code of making application coded in C++ , such as Messenger , Game , Data Storage , and so forth .... ?
I'm making an Online game using Basic4gl recently , but don't really sure how much player can a server support (considering Basic4gl speed) ?
Can tilemap sprite made into collision detection using the concept of collision of two sprite ? And how ?
It's estimated my online game will be released for test about 2 weeks time ... Hope I'll get it finished in time .
|
|
|
Post by matthew on May 10, 2009 7:00:48 GMT -5
If you're interested in making games in C++, you should check out the Lazy Foo site. A lot of source code for serious applications in C++ can be found here at the CodeProject site. As for the speed of the Basic4GL server, you should just try & experiment & see how much it can deal with before slowing down. There are examples of tilemap collision on the forum, they shouldn't be that difficult to find.
|
|
zack8686
Posts a bit
gl-Home in wikispace
Posts: 207
|
Post by zack8686 on May 11, 2009 8:20:02 GMT -5
Oh , I've changed my mind in making 2d tilemaps but using 3d tilemaps(GL) , like Ragnarok Online . Maybe taking more time , still hoping to post some pics and release test version soon ...
Thanks Matthew . It's seem that quite hard to find those C++ coded application . I'll post some useful Basic4gl codes from my project later .
Hope that everyone can share useful C++ (e.g. : decoder source code , DLL , application , game , video & audio making source code , ....) , Opengl web links here .
Is there any free Microsoft Visual C++ or Visual Studio , Adobe Product ?
|
|