Search found 154 matches

by ITomi
Jul 10, 2018 9:37
Forum: Projects
Topic: FB debugger : 3.02 32/64 BIT WDS/LNX..... (2023/07/05)
Replies: 762
Views: 300089

Re: FB debugger : 2.92 32/64 BIT ..... (June 6th, 2018)

Thanks, SARG!
I have download your prepared .exe version and it works with my little "big" game.
Interesting, but when I use FBide (v. 0.4.6), the Win10 often throws me out, but with other IDEs (e.g. Poseidon) the game runs correctly.
by ITomi
Jul 09, 2018 12:30
Forum: Projects
Topic: FB debugger : 3.02 32/64 BIT WDS/LNX..... (2023/07/05)
Replies: 762
Views: 300089

Re: FB debugger : 2.92 32/64 BIT ..... (June 6th, 2018)

Hello SARG! You wrote earlier in the topic about my RTS game, because it is bigger than 500 KBytes and I couldn't open in FB debugger: " increase MAXSRCSIZE (at the beginning of fbdebugger) like that #Define MAXSRCSIZE xxxxxxxx 'max source size a larger value can collide with the stack limit un...
by ITomi
Jul 09, 2018 9:19
Forum: Projects
Topic: FreeBasic IDE-poseidonFB(Update 2024.03.03)
Replies: 1283
Views: 361529

Re: FreeBasic IDE-poseidonFB(Update 2018.06.21)

Hello Kuan! I tried the PoseidonFB; interesting, I could my game ("The island - An RTS game": https://www.freebasic.net/forum/viewtopic.php?f=8&t=24550 ) run without Win10 throw me out, as it often happen with the FBide. But how can I use debugging in PoseidonFB? When I click on "...
by ITomi
Jul 08, 2018 17:06
Forum: Beginners
Topic: The island - An RTS game
Replies: 117
Views: 23185

Re: The island - An RTS game

Well, ladies and gentlemen, here is the game, my first little RTS in FB: http://www.programozzunk.ucoz.hu/fbjatekok/sziget.zip Once I gave up that I ever finish it, but I got down to work again. Unfortunately the game sometimes exits, and I don't know whether is it error of the game, the FB or the W...
by ITomi
Jul 08, 2018 17:01
Forum: Beginners
Topic: The island - An RTS game
Replies: 117
Views: 23185

Re: The island - An RTS game

Hey there. I love writing music for games, if you're interested. Here's one of the songs I've been working on. See if you like it. :) Hello! I listened it just now; quite good melody! I already built musics in the game, but I develop an other game too in Game Maker Studio, and I will show your musi...
by ITomi
Jul 08, 2018 8:55
Forum: Beginners
Topic: The island - An RTS game
Replies: 117
Views: 23185

Re: The island - An RTS game

I did a working solution. I publish it; maybe useful for somebody: dim as ubyte escpressed=0 if multikey(sc_escape) then escpressed=1 if escpressed=1 then while multikey(sc_escape)<>0 wend ...do something here, e.g. jump to an other game state... end if Well, only sounds and musics are still left, t...
by ITomi
Jul 07, 2018 14:49
Forum: Beginners
Topic: The island - An RTS game
Replies: 117
Views: 23185

Re: The island - An RTS game

Okay, I think, this is my last question before I build in the sounds and musics, and publish the finished game (because it seems work well already): How can I check whether a button released? Because I would like use the <Esc> button to exit from the setup screen to title screen and from there exit ...
by ITomi
Jun 29, 2018 12:10
Forum: Beginners
Topic: The island - An RTS game
Replies: 117
Views: 23185

Re: The island - An RTS game

Oh, big thanks for you, SARG!
I corrected these values and now the game starts well. I hope, not so many errors still remains, and in this case I will find these with help of -exx command, as you advised.
by ITomi
Jun 28, 2018 12:49
Forum: Beginners
Topic: The island - An RTS game
Replies: 117
Views: 23185

Re: The island - An RTS game

Aha! After I run the exe, I got the following error message: Aborting due to runtime error 2 (file not found) at line 2 of D:\progsetup\FreeBASIC-0_23_0-win32\FreeBASIC-1_01_0-win32\A_sziget2\kepbetolt.bas::() however those files are on theirs right place. :-/ (The kepbetolt.bas loads the images int...
by ITomi
Jun 28, 2018 9:18
Forum: Beginners
Topic: The island - An RTS game
Replies: 117
Views: 23185

Re: The island - An RTS game

Hello SARG! I split my code more parts, so FBdebugger can load it. Then I tried use the release button, but when FBdebugger launched the program, I got a white, blank screen. I tried the "AUTO" button too, and after this the FBdebugger underline and highlight with blue certain lines, but t...
by ITomi
Jun 27, 2018 13:38
Forum: Beginners
Topic: The island - An RTS game
Replies: 117
Views: 23185

Re: The island - An RTS game

Hello Leopardpm and everybody, it's me again! I continue the development of this game and I have almost finished with it, most of things works much better than before. But I still have a big problem with it: the game often crashes and in this case the Windows (10) tries to send error report. Last, I...
by ITomi
Apr 09, 2017 7:49
Forum: Beginners
Topic: The island - An RTS game
Replies: 117
Views: 23185

Re: The island - An RTS game

Here is the source code of the game: http://www.programozzunk.ucoz.hu/fbjatekok/sziget.zip Unfortunately this is an unfinished project with many errors (e.g. weak pathfinding, units do their work uncorrectly, the program sometimes crashes, etc.), that beats me. Sorry. In any case I publish it, maybe...
by ITomi
Mar 28, 2017 15:17
Forum: Beginners
Topic: The island - An RTS game
Replies: 117
Views: 23185

Re: The island - An RTS game

Hello! I working on my game, but sometimes run into an error yet. The pathfinding is weak a bit, because the units sometimes can walk between two coordonates there and back. This is because I couldn't check the previous coordinates in an array. Therefore I took out a piece of code and try do it sepa...
by ITomi
Mar 08, 2017 9:00
Forum: General
Topic: Array In type
Replies: 9
Views: 1523

Re: Array In type

Hello! (I hope, I write this in good place.) How can I reach an own array of a type? For example: type units redim itspath(0,2) as integer end type dim shared a_unit(0) as units a_unit(0).itspath(0,0)=x : a_unit(0).itspath(0,1)=y : redim preserve a_unit(0).itspath(0,2) But the last line causes an er...
by ITomi
Mar 08, 2017 7:50
Forum: Beginners
Topic: The island - An RTS game
Replies: 117
Views: 23185

Re: The island - An RTS game

" you need to focus on A* pathfinding " Maybe the present pathfinding in my program, from which we talked, a reduced A*(?). Because it is also checks empty cells, although not take the whole game field into account. But it works better than the previous method, in which the units slides al...