Search found 3826 matches

by BasicCoder2
Mar 25, 2012 18:44
Forum: Projects
Topic: Frogger revisited
Replies: 30
Views: 12367

Re: Frogger revisited

Hello BasicCoder2 ! I wanted to say to you that my three-years old boy is crazy about your Frogger ! It's a nice little game and a very good code example. It's a pity that it has no sounds, isn't it ? What means "missed log" ? I had a look at the code but I didn't understand. The crocodil...
by BasicCoder2
Mar 22, 2012 19:19
Forum: Projects
Topic: Gui for chess engine MINIMAX
Replies: 30
Views: 5160

Re: Gui for chess engine MINIMAX

As an artist, what do you think about monochrome pictures, pure black and white, like Fritz 1 chess pieces, the pictures I used in my chess program ? Wouldn't you try something of that kind ? For me, I like it, not only because it suits to my programming level, but also because I find it has its be...
by BasicCoder2
Mar 22, 2012 19:05
Forum: Sources, Examples, Tips and Tricks
Topic: Date of Easter
Replies: 26
Views: 5711

Re: Date of Easter

Attempt at an English translation: 'Easter calculation of Roland Chastain type TDate as ubyte day as ubyte month as ushort year as string S end type dim as TDate Easter sub Calcul(byref d as TDate) 'Algorithm of Oudin dim as ushort G, C, C4, E, H, K, P, Q, I, B, J1, J2, R G = d.year-19 * (d.year \ 1...
by BasicCoder2
Mar 18, 2012 22:43
Forum: Sources, Examples, Tips and Tricks
Topic: AK tic-tac-toe with AI
Replies: 2
Views: 744

Re: AK tic-tac-toe with AI

I think this is more of a project than a Tip and Tricks subject? Below is a random player that I used to play many random games so an AI program could assign values to the states or state/moves to become a perfect tic tac toe player. If you record the game in a list you can go back after a random wi...
by BasicCoder2
Mar 17, 2012 19:41
Forum: Beginners
Topic: MidHandler or AutoMidHandle for FreeBASIC
Replies: 13
Views: 1115

Re: MidHandler or AutoMidHandle for FreeBASIC

There is no reason to quote the whole text again. You can remove it using the edit option button and deleting.
by BasicCoder2
Mar 17, 2012 13:28
Forum: Beginners
Topic: MidHandler or AutoMidHandle for FreeBASIC
Replies: 13
Views: 1115

Re: MidHandler or AutoMidHandle for FreeBASIC

Do you have windows PAINT or a linux equivalent? I fired up window's Paint and set the image to the width and height I wanted and then drew the player image and saved it as "player.bmp" into a folder called bitmaps. I did the same with the ball image. You can then load it with, function lo...
by BasicCoder2
Mar 16, 2012 22:05
Forum: Beginners
Topic: Game Programming Tutorials
Replies: 28
Views: 10125

Re: Game Programming Tutorials

I don't believe Roborealm would be constraining. It doesn't prevent you writing any of the modules yourself. At a minimum it provides interfaces to common hardware. There is no interface between roborealm and FreeBasic and I don't have the expertise to write one so you would have to use another lang...
by BasicCoder2
Mar 16, 2012 20:57
Forum: Beginners
Topic: Game Programming Tutorials
Replies: 28
Views: 10125

Re: Game Programming Tutorials

Well I am no longer actively interested in vision or robotics notice I used past tense in the post. As no one was interested in developing FreeBasic vision code perhaps if you can work out how to interface roboRealm to FreeBasic, where development has been on going, you might be able to get your rob...
by BasicCoder2
Mar 16, 2012 20:45
Forum: Beginners
Topic: Game Programming Tutorials
Replies: 28
Views: 10125

Re: Game Programming Tutorials

As you have written a great deal in posts related to gaming i was under the obvious ( but false )assumption you are into writing games....but its just a philosophical /intellectual exercise for you. Solving the problem the ' win ' for you.... My interest was elsewhere, in particular robotics and vi...
by BasicCoder2
Mar 16, 2012 20:12
Forum: Beginners
Topic: Game Programming Tutorials
Replies: 28
Views: 10125

Re: Game Programming Tutorials

I am seriously considering writing a proper game though.....i only do awesome, lol so im having a good think about what i want to achieve. It seems you are going to do a lot of things and like talking about all the things you intend to do but until you actually do something of interest to others .....
by BasicCoder2
Mar 16, 2012 19:09
Forum: Beginners
Topic: Game Programming Tutorials
Replies: 28
Views: 10125

Re: Game Programming Tutorials

@ BasicCoder2 what game/s would you write or commission if you had the opportunity ? I don't play computer games so although I probably could write code for a 2D game I wouldn't be able to write a good one and a 3D game is beyond me. Programming IS a game for me although only as an occasional activi...
by BasicCoder2
Mar 16, 2012 2:28
Forum: Beginners
Topic: Game Programming Tutorials
Replies: 28
Views: 10125

Re: Game Programming Tutorials

Bit of inspiration for you A 21-year-old computer whizzkid has become a millionaire and takes home £50,000 a month after he created a hit online computer game. http://www.telegraph.co.uk/technology/news/6264082/21-year-old-computer-geek-makes-1m-with-online-game.html Being able to program doesn't m...
by BasicCoder2
Mar 16, 2012 2:12
Forum: Beginners
Topic: How to read pixel value in FB image?
Replies: 3
Views: 542

Re: How to read pixel value in FB image?

Thank you codefoil. I should not have relied on the FBIDE Help.
I sort of remember it now, I just don't code often enough to keep it all in my head.
I needed it to test a pixel perfect sprite collision.
http://www.freebasic.net/forum/viewtopi ... =7&t=19604
by BasicCoder2
Mar 16, 2012 2:10
Forum: Sources, Examples, Tips and Tricks
Topic: pixel perfect sprite collision
Replies: 3
Views: 1634

pixel perfect sprite collision

#include "fbgfx.bi" using fb screenres 640,480,32 type SPRITE as integer x 'top left coordinates as integer y as integer w 'width as integer h 'height as double r 'degrees of rotation as double px 'point around which to rotate as double py as integer d 'display = 1 as FB.Image ptr image e...