[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 264: mysqli_fetch_assoc(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 326: mysqli_free_result(): Couldn't fetch mysqli_result
Pete's QBASIC Site Discuss QBasic, Freebasic, QB64 and more 2008-07-05T17:51:26-05:00 http://www.petesqbsite.com/phpBB3/app.php/feed/topic/2601 2008-07-05T17:51:26-05:00 2008-07-05T17:51:26-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=17403#p17403 <![CDATA[(TCB) Scrolling plateform game]]>
Like I have said before, they should have called it FREE C.

Ted

Statistics: Posted by burger2227 — Sat Jul 05, 2008 5:51 pm


]]>
2008-07-05T13:45:51-05:00 2008-07-05T13:45:51-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=17402#p17402 <![CDATA[(TCB) Scrolling plateform game]]>
Not sure what is your problem with integer/short/long, as integer should cover it all for you. Just replace all your shorts and longs with integers. :P
This was a HUGE problem when I was trying to load file. I don’t know if it’s laziness or compatibly jeopardizing made on purpose but… man, it’s just so wrong.

To have (in QB)

Code:

DIM SHARED i AS INTEGERDIM SHARED j AS LONG
I must type (in FB)

Code:

DIM SHARED i as SHORTDIM SHARED j as INTEGER
It shouldn't be this way. I spend half a day to understand why my files couldn't be opened correctly... it just drove me nuts when I noticed that my (QB) integer were now 4 bytes instead of 2.

Statistics: Posted by ACC — Sat Jul 05, 2008 1:45 pm


]]>
2008-07-05T12:16:01-05:00 2008-07-05T12:16:01-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=17401#p17401 <![CDATA[(TCB) Scrolling plateform game]]>

What else? Ah yes, my biggest gripe with FB was the passing on ver.0.17 where all out of sudden all variables had to be declared and suffixes had to be dropped. But I managed to cope with that.

Statistics: Posted by Lachie Dazdarian — Sat Jul 05, 2008 12:16 pm


]]>
2008-07-05T00:58:16-05:00 2008-07-05T00:58:16-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=17400#p17400 <![CDATA[(TCB) Scrolling plateform game]]>
FB has, in some instances, decided to add features without regard to the complications involved. They also have a "clicky" type of leadership that ban people for little reason, so don't go to their site and complain. The KNOW it all already! Lachie is one of them!
"one of them" ? Man, sounds like you're talking about zombies or somethin' :D. I've read the topic about that banning stuff already. And honestly, I really don’t give a ****.

As far as I'm concerned, it's just that weird fan-boy-like behavior I try to understand. Okay, let's put it that way: if you just claim everywhere that such product is perfect, you've got to expect people to drop it once they discover an inch of a problem, because they just cannot imagine what else have been hidden from them.
When I love a videogame/music band/movie/whatever and wanna share this stuff with someone, I give the good and the bad, I don't want him/her to be disgusted when he/she found out there's a bad part after all, I want them to be prepared for this.

I’m really trying to be objective when I give you my opinion on FB, there are no underlying tricks, and I certainly won’t say anything else about FB anymore since I reported every problem I had already. Fine if Lach’s not approving because I don’t care.

QB is like childhood: you do “as if” you were building a house (you’ve got some abilities but even bigger ideas). And when it gets wrong, there’s something to hold your hand and point out where you’re at.
FB is like being adult: you’re building your house for real (more abilities to do what you really want) but when it gets wrong, there’s no one to hold your hand anymore, you’re pretty much on your own.

Beside, I don’t see any difference between QB games and FB games/products. No matter how hard I try (except of course DOS/Win32 platform). They all look the same. Some try to use those brand new and exciting features like… incredibly smooth 32-bytes gradients on tiles of 16x16 (which always look bad in my opinion). Or using a huge render of 1024x768 to display a bunch of circles (?!).

All this (this little war, the banning stuff and such) is really nonsense to me. Word. (sorry for the long and useless post)

Statistics: Posted by ACC — Sat Jul 05, 2008 12:58 am


]]>
2008-07-05T00:11:52-05:00 2008-07-05T00:11:52-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=17399#p17399 <![CDATA[(TCB) Scrolling plateform game]]>
FB has, in some instances, decided to add features without regard to the complications involved. They also have a "clicky" type of leadership that ban people for little reason, so don't go to their site and complain. The KNOW it all already! Lachie is one of them!

Ted

Statistics: Posted by burger2227 — Sat Jul 05, 2008 12:11 am


]]>
2008-07-04T19:55:14-05:00 2008-07-04T19:55:14-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=17398#p17398 <![CDATA[(TCB) Scrolling plateform game]]>
If you read the right tutorials or just stick to -lang QB dialect, I'm sure you would have less complaints on FB. It's just the thing of getting used to it. It took me a day or two and after that, I was all a joy ride.
I shouldn't have to read tutorials to use a "spiritual successor" to basic. :?
I don’t know how reading a tutorial will fix the integer/short/long compatibility mess up or add the gosub command back again (yes, there’s no gosub anymore because it’s “a bad habit that make program unreadable” I’m sorry, but when a language is telling me how it should be done, it deserve a slap on the wrist… with an axe). I can't honestly recall why exactly I decided not to use -lang anymore but I guess I had a good reason.

Code:

'Compile this program with FBC 0.18.5 (04-17-2008) for eternal fun for the whole family!'I might be doing it all wrong, but UBYTE is supposed to go from 0 to 255.screen 13dim as ubyte ifor i = 0 to 255  print i  if (i mod 20) = 0 then    print "press any key to continue, ESC to leave"      if multikey(1) then end else sleep  end ifnext iprint "FB is just the perfection on earth"end 'bwahahaha, just kidding, those lines are never reached
Meanwhile, I love the memory management and the way picture buffer is made (even if there's no way to use POINT instruction with picture buffer and you have to PEEKing memory) and the tons of graphical modes available and direct implementation of MultiKey and such… Of course FB is not flawless and I wasn't expecting it to be. But it really seems like developers decided to be lazy now and then. And that's just sad, because I'm sure it could be plain great.

Anyway, I'm more than half the way done so it doesn't really matter anymore.

That apart, I've seen your game on abandonia reloaded, good work there. :D

EDIT: Added fun code.

Statistics: Posted by ACC — Fri Jul 04, 2008 7:55 pm


]]>
2008-07-04T18:05:19-05:00 2008-07-04T18:05:19-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=17397#p17397 <![CDATA[(TCB) Scrolling plateform game]]> Statistics: Posted by Lachie Dazdarian — Fri Jul 04, 2008 6:05 pm


]]>
2008-07-02T22:24:45-05:00 2008-07-02T22:24:45-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=17391#p17391 <![CDATA[Looks great!]]>
Ted

Statistics: Posted by burger2227 — Wed Jul 02, 2008 10:24 pm


]]>
2008-07-02T21:26:19-05:00 2008-07-02T21:26:19-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=17389#p17389 <![CDATA[(TCB) Scrolling plateform game]]> I don’t like to make double-post or bring back an old topic on top of the stack… anyway, I don’t know if anyone’s still interested in the game or whatever, but I decided to rewrite everything from scratch in FB a few weeks ago.
I already implemented lots of new stuffs (nothing really new, but improvements over what was already in QB version): better particles n’ tiles scripting, improved file management, debug console, built-in level editor… It’s far from being done yet, but I’m quite confident; It’s still 320x200x8 and looks very close to QB version except for the border how’s not there (yet ?). Also it should be easier to make it run on more computers than the DOS-compiled version.

ImageImage
ImageImage

!!! Complains follows: if die hard QB fans wonder, FB is NOT fully compatible (what’s wrong with integer and long anyway ?!) and use tons of protocols similar to C – I never said it was bad, but it’s definitively not the spirit on which Basic has been built regardless, it bring a bunch of new abilities hard to implement otherwise. And I don’t have the fun I had programming in QB (but it’s called “nostalgia” I guess).

Statistics: Posted by ACC — Wed Jul 02, 2008 9:26 pm


]]>
2008-04-22T18:45:21-05:00 2008-04-22T18:45:21-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=17123#p17123 <![CDATA[(TCB) Scrolling plateform game]]>

I think your idea to use frame counter is good. I should have a try. But I doubt I'll change anything more on this engine, because it's just a sketch to me (I'm already working on some tests and it feels cool). But when I'll have more time... (hmm, i'm spending too much time on the net for someone how don't have have time) :D

EDIT: "anyway, well done. If you need music (custom MIDI stuff), contact me."
Don't worry for this, it's already on it's way ;)

Statistics: Posted by ACC — Tue Apr 22, 2008 6:45 pm


]]>
2008-04-22T01:21:18-05:00 2008-04-22T01:21:18-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=17122#p17122 <![CDATA[(TCB) Scrolling plateform game]]>
BTW, you might want to use this method for timing (not too good either, but seems to work) : count frames, and after each second check how many you got and increase/decrease delay value accordingly... if you'ren ot using it... but your game is pretty dynamic so it migh not work very well...

anyway, well done. If you need music (custom MIDI stuff), contact me.

Statistics: Posted by TmEE — Tue Apr 22, 2008 1:21 am


]]>
2008-04-21T17:46:03-05:00 2008-04-21T17:46:03-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=17121#p17121 <![CDATA[(TCB) Scrolling plateform game]]>
Well, the source is there, I must admit, the engine in itself isn't documented at all and it may look a little messy (just stay away from the sprite system and everything should be ok ^^). Check the main loop (it's located in a sub called ENGINE.NewGameLoop), you should be able to see why it's choppy ^^: I'm using a cheap trick to keep constant frame rate on different computers, (TempChrono# >= ENGINE.GameSpeed) (yeah, I know, using TIMER is just plain lazy)

For the ten additional lines, really, I'm on the edge. Have a try by yourself (I'm not trying to prove anything or tell you're wrong, in fact, I did not even tried to add joystick support because I had tons of troubles to make QB45 compiler build the source and there was more important stuff to do first -- maybe it'll work and I really hope it will)

Thanks for not complaining about collisions (they are just that bad too). Anyway, just like I wrote above, it never meant to be the final release I was hoping to do (in fact, I wouldn't have made that stage of the work public if I had not these life(tm) issues), I've got a three-volume wish list and not even a couple of lines from it have made it to the engine.

Still, I agree, a Joystick support would be awsome (ho, and I should have patched up monstres script because there were not supposed to have that PainWait instruction when you hit them... yes, the scripting system is lame too for now)

Statistics: Posted by ACC — Mon Apr 21, 2008 5:46 pm


]]>
2008-04-21T03:04:44-05:00 2008-04-21T03:04:44-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=17116#p17116 <![CDATA[(TCB) Scrolling plateform game]]> Statistics: Posted by TmEE — Mon Apr 21, 2008 3:04 am


]]>
2008-04-18T14:33:33-05:00 2008-04-18T14:33:33-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=17098#p17098 <![CDATA[(TCB) Scrolling plateform game]]>

Meanwhile, Tommy’s got a headache. Three levels are still to do and scripting a couple of enemies would be a good idea too. I’ll try to finish that ASAP. :?

TmEE: Unfortunately, there won’t be any support for joystick because of procedure limitation. Unprod2D v2 maybe… or not. But thanks for support and feedbacks anyway ! :D

Statistics: Posted by ACC — Fri Apr 18, 2008 2:33 pm


]]>
2008-04-08T00:29:45-05:00 2008-04-08T00:29:45-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=17033#p17033 <![CDATA[(TCB) Scrolling plateform game]]> Statistics: Posted by TmEE — Tue Apr 08, 2008 12:29 am


]]>