YaY! I'm new!
Blitz3D Forums/Blitz3D Beginners Area/YaY! I'm new!
| ||
I just bought BlitzPlus! Will be posting my first game soon! Pride of Ownership! Dude, this is cool. So, anyway, how exactly do 'pointers' work in Blitz? And 'Types' are not really like C++ Classes at all... how does one organize functions when they do not belong to objects? Thanks for listening. This is soooooo cool!!! I'm using the 'Algorithm' skin, what skin do you people use? |
| ||
Aquabars, Bordello or Butch... Aquabars cause it's simple and easy on the eyes... Bordello and butch 'cause they make me laugh! Andy |
| ||
Oh, one more question... I can't get to that unofficial forum blitzcoder.com no matter how much I try. I click on peoples' links to it, I type the address into my address bar... no matter how hard I press the keys it won't work... |
| ||
Blitz isn't object oriented, so you need to check any desire for classes and methods at the door. TYPEs are a closer relation to structs than classes. They contain data members, not functions. |
| ||
Well, yeah I guess I knew that... but I've never actually used Structs. My programs will look object-oriented rather or not they are, I guess. |
| ||
"no matter how hard I press the keys it won't work..." You're kidding, right? Here's the link: http://www.blitzcoder.com/ Works fine for me... |
| ||
Hmmm..... wierd how your link worked even though all the other ones I've found and tried didn't. Thanks :) And of course I'm kidding. |
| ||
Welcome to the community "Dran". Wow, just bought BlitzPlus and already you are about to release your first game - good stuff. |
| ||
I'll probably have it up Monday or Tuesday-- it took me two days to write (on the demo), then I spent probably three more days of work improving it. I may spend more days improving it, seeing as I want to add a main menu and make the enemies' AI's work better. But I'm kinda busy this weekend. (edit) And thanks for the welcome! |
| ||
blitzcoder.com was down for a day (or two) at that moment you've tried. Furthermore, types in blitz are not like classes in C++, but like structs in C++.. |
| ||
Welcome, grab a seat and a cup of coffee, we'll be doing the bonding session later, but now... a few words from puki. (that's bondING) |
| ||
Welcome yall. Wow I am suprised pepole havent told you about me! Well let me introduce my self. My name Is Sir Agamer. (ohnest) Every one looks up to me here as I am just such a nice guy. Every one loves to read my posts as they are always so easy to read. See every one loves me and I am also like as I am so good at coding. All the above is true I promise you |
| ||
how does one organize functions when they do not belong to objects? The following is an example of pseudo classes in Blitz, using a standard naming convention and a 'this' pointer as the first argument of your 'methods': Type ball Field x#,y# Field vx#,vy# End Type Global BallImage Function UpdateBall(b.ball) b\x=b\x+b\vx b\y=b\y+b\vy End Function Function DrawBall(b.ball) DrawImage BallImage,b\x,b\y End Function |
| ||
:) Thanks people, I'm back from doing an art show now so as soon as I can figure out what I'm doing I'll upload a release version of the game. How do you people do version numbers? Oh well, I'll just call it eithre version 1.1 or 1.2 or 0.5 or something... seeing as I've already got an earlier (slightly earlier) version that I could call 0.2 or 1.0 depending... And nice to meet you Sir Agamer, I'll get around to worshipping the ground you walk on eventually, I promise. Soon as I'm done mocking you behind your back. |
| ||
... |
| ||
Thanks, I like to be worship hurry up and get round to it soon it is busy down there. /me looks down Yep 4 microbes it's a frenzy! |
| ||
See every one loves me and I am also like as I am so good at coding. It's true, he handles code just like he handles the english language.@Annakin: You have much to learn before you can become a jedi, arrays are fine coding practice, and they actually look nicer. |
| ||
I wish Blitz had dynamic arrays. Static arrays suck. Oh yeah... YaY! I'm not! Have fun coding, Annakin and Dran. |
| ||
You can redim them, or use types. |
| ||
That's not a dynamic array, eBusiness. That's clearing the memory and starting all over. Second option: that's still not a dynamic array. Work-arounds suck, that's why I haven't used Blitz in.. oh.. a week or so. A session of C++ did me good. |
| ||
If you like to use C++ then this may be interesting. C++ in Blitz www.EzBlitz.com |
| ||
verfum: I've already written my own Blitz-esque API for C++, it's less of a hack and it's cross-platform, extensible, and utilizes the OO features that are so handy (using OpenGL). So, I figure yours is just not worth the time to use. |
| ||
Interesting - could you give me a link so I can try it out? |
| ||
The idea behind EzBlitz is that it uses the Blitz engine, which is fast. It also means that anyone who knows Blitz and C/C++ can use EzBlitz. Any improvements to Blitz3D will be apparent in EzBlitz. I'd like to know more about your OpenGL engine. I was originally looking for a 3D engine that was easy to use, had good performance and used C++. I couldn't find any decent C++ ones that had a simple API so I decided to use Blitz and create a C++ API for it. Does your engine include the same API as Blitz - 3D, Networking, Video, Audio playback etc? Because that's the kind of stuff I need. |