Search found 972 matches

by UEZ
Jul 23, 2020 6:32
Forum: Game Dev
Topic: Retro parallax scrolling
Replies: 4
Views: 1439

Re: Retro parallax scrolling

@BasicCoder2: looks nice but why didn't you use the images I've zipped? The original images are in one big PNG image and I had cut them out and saved it as 32-bit bmp using GIMP. This 32-bit bmp format is support by FB. Btw, the Demo code above is posted twice. What a pitty that FB has no built-in f...
by UEZ
Jul 18, 2020 18:12
Forum: Sources, Examples, Tips and Tricks
Topic: 2D Parallax Scrolling Example v0.65 build 2020-07-29
Replies: 5
Views: 1499

Re: 2D Parallax Scrolling Example v0.60 build 2020-07-17

Thanks UEZ. Yesterday I got connected via fibre, your bitmaps arrived here intact in no time at all. You code runs well. Thank you, too, dodicat. What is your internet speed now with fiber? At the moment here in our town there are construction works to lay fiber cables to each residential buildings...
by UEZ
Jul 18, 2020 14:48
Forum: Sources, Examples, Tips and Tricks
Topic: 2D Parallax Scrolling Example v0.65 build 2020-07-29
Replies: 5
Views: 1499

Re: 2D Parallax Scrolling Example v0.60 build 2020-07-17

Roland Chastain wrote:
UEZ wrote:Theoretically it should work also on Linux...
Yes, it works. Thank you for sharing.
Thanks for testing. :-)
by UEZ
Jul 16, 2020 17:20
Forum: Sources, Examples, Tips and Tricks
Topic: 2D Parallax Scrolling Example v0.65 build 2020-07-29
Replies: 5
Views: 1499

2D Parallax Scrolling Example v0.65 build 2020-07-29

A small and simple example of a "2D Parallax Scrolling" with 6 layers. Preview: https://i.ibb.co/j6Py3x9/2-D-Parallax-Scrolling.jpg 2D Parallax Scrolling.bas 'Coded by UEZ build 2020-07-29 'Images used from https://gamedevelopment.tutsplus.com/tutorials/parallax-scrolling-a-simple-effectiv...
by UEZ
Jul 09, 2020 21:09
Forum: General
Topic: Crashing on x64 execution
Replies: 8
Views: 1189

Re: Crashing on x64 execution

fxm wrote:Do you use some gcc options when compiling?
(what is the gcc version of your fbc build?)
No gcc, just default compiler options.

Problem was probably playing around with different FB tool chains version and mixing up things...
by UEZ
Jul 09, 2020 21:08
Forum: General
Topic: Crashing on x64 execution
Replies: 8
Views: 1189

Re: Crashing on x64 execution

FreeBASIC Compiler - Version 1.08.0 (2020-04-30), built for win64 (64bit) Where does that originate from? The last build from St_W is: Version 1.08.0 (2020-01-12), built for win64 (64bit) This works without any problems ... As already written above, I cannot remember. Anyhow, I replaced the fbc.exe...
by UEZ
Jul 09, 2020 20:50
Forum: General
Topic: Crashing on x64 execution
Replies: 8
Views: 1189

Re: Crashing on x64 execution

dodicat wrote:Is it a tester for the next official download?
Where did you get it?
I cannot remember where I got this version. In the last weeks I did so many changes to the folder. ^^ Probably from srvaldez or St_W.
srvaldez wrote:try: Dim As String aSoundFiles(0 To 2)
Same result - crashing.
by UEZ
Jul 09, 2020 20:38
Forum: Sources, Examples, Tips and Tricks
Topic: Fireworks v0.60 build 2020-07-13 beta
Replies: 14
Views: 3087

Re: Fireworks v0.60 build 2020-07-09 beta

Small update to v0.60. Now with some sound effects on explosion (Windows only).

Download can be found in the 1st post.
by UEZ
Jul 09, 2020 19:49
Forum: General
Topic: Crashing on x64 execution
Replies: 8
Views: 1189

Crashing on x64 execution

Can somebody tell me why this code crashes when compiling and executing it as x64? Dim Shared As Boolean bSound = True #Ifdef __FB_WIN32__ If bSound Then Dim As String aSoundFiles(0 To ...) = {"Test1", "Test2", "Test3"} ? "Test" End If #Endif ? "End"...
by UEZ
Jul 08, 2020 12:44
Forum: Beginners
Topic: Resizing ImageCreate
Replies: 8
Views: 1859

Re: Resizing ImageCreate

Can you show me please? Thanks for the code, I'll try that. I haven't create the resizing function yet because I wanted to know how to resize the buffer with imagecreate. Below is the complete code I've been working so far if you want to help. It's still ugly. My goal is to create a tiny windowing ...
by UEZ
Jul 08, 2020 7:33
Forum: Beginners
Topic: Resizing ImageCreate
Replies: 8
Views: 1859

Re: Resizing ImageCreate

You can try this function: 'https://www.codeproject.com/Articles/33838/Image-Processing-Using-C Private Function ResizeImage(pImage As Any Pointer, iW_new As Ushort, iH_new As Ushort) As Any Pointer #Define GetPixelRI(_x, _y) *Cptr(Ulong Ptr, imgData + _y * pitch + _x Shl 2) #Define SetPixelRI(_x, _...
by UEZ
Jul 03, 2020 8:54
Forum: Sources, Examples, Tips and Tricks
Topic: Smoky Zoom Effect
Replies: 5
Views: 1161

Re: Smoky Zoom Effect

I like your thing that much that I made it into a movie. https://www.mediafire.com/file/pl93s3xctak56en/ground_control.zip/file (Windows only) Declaration of love... :-) Indeed, with sound it's much better. Windows only: I tried to make it in real time playing the sound. You need dodicat's zip from...
by UEZ
Jul 02, 2020 12:38
Forum: Sources, Examples, Tips and Tricks
Topic: Smoky Zoom Effect
Replies: 5
Views: 1161

Re: Smoky Zoom Effect

More awesome graphics from the UEZ stable. http://deltarho.org.uk/Downloads/smile.png gcc32 -O2 29fps gcc64 -O2 58fps gas64 29fps Visuallly, for me, I prefer 29fps. Great imagination! Thanks deltarho for your feedback. I modified the code and added dodicat's regulate function to run at ~30 fps whic...
by UEZ
Jul 01, 2020 14:40
Forum: Community Discussion
Topic: Windows 10 May 2020 Update
Replies: 16
Views: 2348

Re: Windows 10 May 2020 Update

I was not able to update via Windows Update. Always the same error message which I don't remember yet.
What I did was to upgrade using the ISO image and an usb drive (upgrade installation). Everything so far is working properly and all applications are working properly.
by UEZ
Jul 01, 2020 13:29
Forum: Sources, Examples, Tips and Tricks
Topic: Smoky Zoom Effect
Replies: 5
Views: 1161

Smoky Zoom Effect

A long time ago I wrote a function using GDIPlus to create a smoky zooming effect. I tried to use FB code only which should also run on Linux and here the result: Smoky Zoom Effect.bas 'Coded by UEZ build 2020-07-02 'Thanks to Joshy, Mario Klingemann and dodicat (see below) #Include "fbgfx.bi&q...