Search found 7034 matches

by D.J.Peters
Oct 16, 2018 17:01
Forum: Projects
Topic: Sort of overselling this as a project... Arkanoid physics toy
Replies: 6
Views: 261

Re: Sort of overselling this as a project... Arkanoid physics toy

Code: Select all

screenres w,h,bpp,2
screenset 1,0

while inkey()<>27
  draw_new_scene() ' on hidden work page
  flip ' make hidden work page visible
  sleep 1000\fps
wend
by D.J.Peters
Oct 15, 2018 5:51
Forum: Game Dev
Topic: Retro style 3D graphics
Replies: 6
Views: 302

Re: Retro style 3D graphics

@BasicCoder2 for simple image/sprite scaling (without rotation) I posted other faster codes also. Joshy https://www.freebasic.net/forum/viewtopic.php?f=7&t=15819 NewImage = ImageScale(SourceImage, Scale) Scale and Put: Image to Screen Screen to Image Image to Image part of Image [scaled] to Scre...
by D.J.Peters
Oct 15, 2018 5:17
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Jan 2019), 300 $ 1st prize
Replies: 49
Views: 1486

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Jan 2019), 300 $ 1st prize

Lachie Dazdarian wrote:I think 3 months is enough time ...
I'm very busy I hope I can start coding around at 20 December. I hope three weeks 12 hours a day are enough to get a "funky" playable result.

Good luck us all FreeBASIC lovers :-)

Joshy
by D.J.Peters
Oct 14, 2018 8:31
Forum: Windows
Topic: How to draw a rectangle in mouse move event
Replies: 2
Views: 90

Re: How to draw a rectangle in mouse move event

Often GUI's controls create an MOUSE_ENTER and MOUSE_LEAVE events
(if the control is an event receiver and enabled of course)
If this kind of events are fired you can highlight the control (change the colors and or change the shape)

Joshy
by D.J.Peters
Oct 11, 2018 7:54
Forum: Game Dev
Topic: Rubik cube
Replies: 5
Views: 275

Re: Rubik cube

Well done :-)

Joshy
by D.J.Peters
Oct 10, 2018 21:51
Forum: Tips and Tricks
Topic: RayTracing versus PhotonMapping
Replies: 23
Views: 6474

Re: RayTracing versus PhotonMapping

After some changes the old code woks with current fbc version now. Joshy ' PhotonMapping Type float As single 'double Const As Integer xDimension = 512 Const As Integer yDimension = 512 Const As Integer nTypes = 2 ' two types of objects sphere and plane Const As Integer MaxPhotons = 200 Const As Int...
by D.J.Peters
Oct 10, 2018 11:40
Forum: Beginners
Topic: It's a long way
Replies: 25
Views: 1548

Re: It's a long way

[S]imple [N]etwork [C]onnection used asynchronous TCP sockets
it's only a include file and works with Linux / Windows 32/64-bit.

viewtopic.php?f=7&t=23421

Joshy
by D.J.Peters
Oct 10, 2018 9:53
Forum: Libraries
Topic: FLTK C for FreeBASIC Jan 09, 2017
Replies: 167
Views: 21151

Re: FLTK C for FreeBASIC Jan 09, 2017

@Lost Zergling the FreeBASIC FLTK-C (C++ wrapper) is free for any usage only the C++ wrapper source code is copyright by me. This does not touch any licenses from FLTK source code it self. look at: http://www.fltk.org/articles.php?L364+I0+TFAQ+P1+Q FLTK comes with complete free source code. FLTK is ...
by D.J.Peters
Oct 10, 2018 9:48
Forum: Libraries
Topic: fbsound 1.0 Win/Lin 32/64-bit (wav mp3 ogg mod it xm s3m)
Replies: 238
Views: 49921

Re: fbsound 1.0 Win/Lin 32/64-bit (wav mp3 ogg mod it xm s3m)

You can recompile the static lib's with the same gcc that your FreeBASIC used. libdumb: https://www.freebasic.net/forum/viewtopic.php?f=14&t=23247 libmad: https://www.freebasic.net/forum/viewtopic.php?f=14&t=26625 libogg: https://www.freebasic.net/forum/viewtopic.php?f=14&t=26626 Put the...
by D.J.Peters
May 09, 2018 13:46
Forum: Linux
Topic: Missing files in 64-bit install script and how it could be resolved
Replies: 3
Views: 361

Re: Missing files in 64-bit install script and how it could be resolved

after step 3 3. Install the 32-bit version first with sudo ./install.sh -i you can rename fbc in the installed folder to fbc32 after step 4 4. Install the 64-bit version directly afterwards, again with sudo ./install.sh -i optional you can rename fbc in the installed folder to fbc64 so you can build...
by D.J.Peters
May 09, 2018 13:17
Forum: Projects
Topic: FreeBasic IDE-poseidonFB(Update 2018.08.21)
Replies: 937
Views: 74569

Re: FreeBasic IDE-poseidonFB(Update 2018.05.05)

You are kidding me :-) I can make nice looking screenshots also but it does not mean it will work ! http://shiny3d.de/public/poseidon/win32.png http://shiny3d.de/public/poseidon/win64.png http://shiny3d.de/public/poseidon/lin32.png http://shiny3d.de/public/poseidon/lin64.png I can press [Apply] but ...
by D.J.Peters
May 09, 2018 10:22
Forum: Libraries
Topic: CSFML V2
Replies: 16
Views: 989

Re: CSFML V2

@paul wake up :-)

sfml is C++ csfml is the C interface = FreeBASIC there are no more 2.4.x cross platform C libraries.

Of course you can build it self if you can ;-)

Joshy
by D.J.Peters
May 09, 2018 2:40
Forum: Libraries
Topic: CSFML V2
Replies: 16
Views: 989

Re: FB SFML V2

Nope. Check here: https://www.sfml-dev.org/download/bindings.php . It has all the bindings for all available languages. CSFML 2.2 was last with working binaries for MAC,Win32,Win64,Lin32,Lin64 CSFML 2.4 binaries are Windows and MAC only. I don't support Windows only f*** ;-) Joshy
by D.J.Peters
May 09, 2018 2:10
Forum: Libraries
Topic: CSFML V2
Replies: 16
Views: 989

Re: CSFML V2

I added many missing libs and links for Linux 64-bit libGLEW.so.1.10 libGLEW.so.1.13.0 libsfml-audio.so.2.2 libsfml-audio.so.2.2.0 libsfml-graphics.so.2.2 libsfml-graphics.so.2.2.0 libsfml-network.so.2.2.0 libsfml-system.so.2.2 libsfml-system.so.2.2.0 libsfml-window.so.2.2 libsfml-window.so.2.2.0 cd...

Go to advanced search