Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - tictac

#16
Hello,

about function name...
I think the only problem is typing it! In fact, even if some functions are self explicative, sometimes they are "hard" to be typed.
Putting a prefix like "x_" is not very keyboard-friendly when one write a big program.
Some languages use "-" (many functional languages do that!), but it is not feasible to every language parser.
Maybe you could use "xSetShader" (even if the language is not case sensitive, it could be more readable than X_SETSHADER).

However, about the function name, if I read "X" I think to something related to "DirectX" (my first approach). But GLBasic does not use DX, so...
(maybe "X" stands for "graphiX" ;-)  )

Ciao!
#17
Ok, thank you!
You convinced me! I will buy GLBasic!
Thank you for your quick replies!

Ciao
#18
Thank you for the clarifications!

"PB" is PureBasic (I post similar questions in that forum in order to clarify my idea!!)

How is OpenGL in Windows Vista? I red a topic talking about specific drivers... have you any "official" information about GLBasic and Windows Vista (I don't like it, but many people use it!)

Sorry, one question more: about (1): can I use "quad" (If you want 3D meshes, I suggest making the "2D" tiles with a 3D quad as well. Easier to handle, but your choice.) to make big terrains (I need to make a BIG/HUGE area similar to GTA: San Andreas territory, but in 2D...).

Thank you again for your patience!!!
#19
Sounds good!

Thank you!
#20
Can I apply shaders in a 2D game? (I'm sorry for the question, but I'm a GLBasic beginner!)
#21
Hello,

I'm evaluating some tools to make a game.
Since I need to make a game, I wish some "objective" information to better understand if GLBasic is the right tool, or if is better that I look for other programs.
I tried to find these information in the forum and in the web, but it is hard to get definitive answers (I hope you could help me).
First of all, I want to say that I'm a programmer. I need to create a game with 2D top-view (not isometric, but with camera seen on top).
Basically I want to make a 2D application (with editor, and modding features, and implementing "newLisp - http://newlisp.org" as scripting language), but using 3D sprites (to better move, rotate and render the vehicles and other things).
Obviously, I know that something can be done, but I'm alone, so I hope I can do them without too much workload (I need some pre-made functionalities, just to speed-up my job).
So...

1) Can I create 2D tiled backgrounds with sprites in 3D? (real 3D sprites model over a 2D tiled background).
2) Can I implement a physic engine without too much workload (newton physics? ODE? Chipmunk 2d? or... ?)
3) Can I realize viewports (I need to get more "views" of the game in the same screen. For me a view is a "window" inside the game. Two views are like two camera working at the same time).
4) Can I work on a sprite canvas (or other images) in real time (to apply some special effects)?
5) Can I insert C code in the source code (like one do with assembler)?
6) Can I apply light effects in real time (like day-cycle)? Yes I know I'm talking about 2D game, but some nice light effects could be applied also. And can I realize a kind of shadows?
7) When I load an image, does it automatically go in the video card RAM, or I can manage that process manually (e.g.: I want to load some sprites in background, with a thread, then I "send" only needed images to the video card, after a CPU preprocessing and only when needed, just to avoid to fill video card memory).
8) Which direct X version use PB? (DX3? DX7? DX8? DX9?)

I know I made many questions, I'm sorry, but I really need such answers in order to avoid to spend many months with the wrong tool.

I found possible alternatives, but PB seems very good:
1) Pure Basic(but it seems more general application oriented, not much game oriented).
2) Blitzmax (but its development seems blocked, only updates are made).
3) I use Delphi in my official job, but I cannot find any good, updated library to make the games.
4) Play Basic seems not really compiled (I made some tests and the p-code seems slow).

Thank you to everyone for your patience!