Search found 115 matches

by ITomi
Jul 12, 2019 18:15
Forum: Game Dev
Topic: Mouse trouble
Replies: 3
Views: 142

Re: Mouse trouble

Thank you for your answers, Badidea and Dodicat! I will try these.
(Badidea, you can't run my code directly, because these are only few lines from my program.)
by ITomi
Jul 12, 2019 13:14
Forum: Game Dev
Topic: Mouse trouble
Replies: 3
Views: 142

Mouse trouble

Hello members! I have a big problem: I would like to scroll 3 images between two arrow icons. These 3 images are part of more images, but I would like show these 3 ones once, therefore I need the two arrow icons to scroll. Everything is OK until this point. But I would like to scroll only if the pla...
by ITomi
Oct 06, 2018 8:30
Forum: Beginners
Topic: playing sounds with fmod
Replies: 13
Views: 1985

Re: playing sounds with fmod

St_W: I used a free channel with FSOUND_FREE option. What will happen if I stop sound on this channel? All sounds will stop in the game?

Dodicat: is the Regulate function controls the speed of your program? May I use it in my games too?
by ITomi
Oct 03, 2018 9:05
Forum: Beginners
Topic: playing sounds with fmod
Replies: 13
Views: 1985

Re: playing sounds with fmod

Thanks, UEZ! I have found this page on the web: https://documentation.help/fmod/FSOUND_Sample_Load.html and on the basis of it I rewrote my code: mysound=FSOUND_Sample_Load(FSOUND_FREE,"sounds\a_sound.wav",fsound_loop_normal,0,0) But when I use the fsound_stopsound(mysound) command, the so...
by ITomi
Sep 29, 2018 14:10
Forum: Beginners
Topic: playing sounds with fmod
Replies: 13
Views: 1985

Re: playing sounds with fmod

Hello all! I have a question that suits here (at least, I hope :-) ). How can I loop sounds with FMOD? I would like play a sound continuously in my game until a certain game object exists. Is there a command for it or can I solve it something the following way: if fsound_sound_ispalying(sound)=false...
by ITomi
Jul 21, 2018 9:15
Forum: Projects
Topic: The island - An RTS game
Replies: 116
Views: 9598

Re: The island - An RTS game

Unfortunately I also have no time to play with these games, but since I started to programming, I realized that making games and other programs are much better than just play.
Programming is my main gratification. And it seems I have grew up - unfortunately: I would like be forever young. :-)
by ITomi
Jul 21, 2018 8:57
Forum: Beginners
Topic: beginner's questions
Replies: 25
Views: 4122

Re: beginner's questions

Sorry, I just thought I don't open a new topic because of my two questions if already exist a topic with similar title. I thought, it is a good idea to put these into one instead of open a new topic, as I'm also a beginner.
Sorry once more... :-(
by ITomi
Jul 20, 2018 12:41
Forum: Beginners
Topic: beginner's questions
Replies: 25
Views: 4122

Re: beginner's questions

I have 2 questions to skilled FB programmers: 1. How can I hide the mouse cursor without deactivating it? The SetMouse is not good for me, because it although hide, but deactivate the mouse. Or is there a possibility to change the mouse cursor to other sprite? 2. Is there a possibility in FB to scal...
by ITomi
Jul 20, 2018 11:32
Forum: Game Dev
Topic: Speed
Replies: 25
Views: 2805

Re: Speed

deltarho[1859] wrote:I should have mentioned that timeBeginPeriod is Windows only.


Because of "Lib "winmm""? And what happening if I omit the SetTimer function and use only Sleep command?
by ITomi
Jul 20, 2018 7:43
Forum: Game Dev
Topic: Speed
Replies: 25
Views: 2805

Re: Speed

Thank you, Deltarho[1859], for your attention and addition. That is an interesting phenomenon from Intel i7 CPU (I have an AMD A4-4000 CPU in my PC).
I tried your code and if it is really safe for all CPU types then I will use it. I didn't know that using of Sleep is so important in the codes.
by ITomi
Jul 19, 2018 15:20
Forum: Game Dev
Topic: Speed
Replies: 25
Views: 2805

Re: Speed

Thanks, Pitto! That article and the demos there are truly helpful. I would like also be a real pro programmer like that guys, who publish their demos there.
Now I'm working on an FPS and a Millipede remake game. I hope, these will be faultless in every respect, included speed too.
by ITomi
Jul 19, 2018 9:04
Forum: Game Dev
Topic: Speed
Replies: 25
Views: 2805

Speed

Hello! I would like make a safety solution that control the speed of my games, in order to run the game same speed both on slow and fast computers. I invented this code for this, what clocks the fps: dim as integer fps,frame dim as double starttime fps=0 frame=0 starttime=timer do cls if timer-start...
by ITomi
Jul 17, 2018 12:44
Forum: Projects
Topic: The island - An RTS game
Replies: 116
Views: 9598

Re: The island - An RTS game

Hello BasicCoder2! I hope, you didn't run into serious glitches in the game. Its goal to annihilate all the other units and buildings on the island. If you find it too hard, try to build first a barrack ("Laktanya") and train warriors from it, just click on a barrack and the icon of the wa...
by ITomi
Jul 15, 2018 14:29
Forum: Projects
Topic: The island - An RTS game
Replies: 116
Views: 9598

Re: The island - An RTS game

Hello everybody!

Here is the game, without errors. At least it works correctly on my computer. The URL already known:
http://www.programozzunk.ucoz.hu/fbjatekok/sziget.zip

Enjoy! :-)
by ITomi
Jul 14, 2018 12:23
Forum: Projects
Topic: The island - An RTS game
Replies: 116
Views: 9598

Re: The island - An RTS game

" So no more work on The Island? " On the contrary, after all I just now find the errors with -exx option. That FPS will be totally different game, but first I try to correct the glitches of the RTS. " I had toyed with the idea of reproducing your game using my own coding. " You ...

Go to advanced search