Welcome, Guest
You have to register before you can post on our site.

Username/Email:
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 308
» Latest member: Donaldvem
» Forum threads: 1,741
» Forum posts: 17,901

Full Statistics

Latest Threads
The QB64 IDE shell
Forum: Utilities
Last Post: JasonPag
09-16-2024, 05:37 PM
» Replies: 9
» Views: 762
Importance regarding Ches...
Forum: Utilities
Last Post: JasonPag
09-01-2024, 06:34 PM
» Replies: 0
» Views: 31
Chess and Analysis and En...
Forum: Utilities
Last Post: JasonPag
08-28-2024, 02:37 PM
» Replies: 0
» Views: 32
DAY 009:_PutImage
Forum: Keyword of the Day!
Last Post: grymmjack
09-02-2023, 02:57 PM
» Replies: 54
» Views: 2,032
Fall Banner Contest?
Forum: Site Suggestions
Last Post: grymmjack
08-31-2023, 11:50 PM
» Replies: 36
» Views: 1,261
ColorPicker - Function th...
Forum: Dav
Last Post: Dav
08-31-2023, 11:04 PM
» Replies: 3
» Views: 315
Goals(1) = New Tile()
Forum: Works in Progress
Last Post: RhoSigma
08-31-2023, 09:45 PM
» Replies: 3
» Views: 127
micro(A)v11
Forum: QBJS, BAM, and Other BASICs
Last Post: bplus
08-31-2023, 09:14 PM
» Replies: 90
» Views: 3,588
Updating The Single Most ...
Forum: QBJS, BAM, and Other BASICs
Last Post: bplus
08-31-2023, 09:13 PM
» Replies: 7
» Views: 254
QBJS Image Question
Forum: QBJS, BAM, and Other BASICs
Last Post: bplus
08-31-2023, 05:49 PM
» Replies: 5
» Views: 155

 
  Written In Stone - word puzzle game
Posted by: Dav - 04-23-2022, 02:16 AM - Forum: Dav - Replies (6)

WRITTEN IN STONE is the first game I made in QB64.  It was first coded using QB64-SDL in 2013, and later the game was updated to compile in QB64-GL in 2020.

This is a word puzzle game, complete with sound and animation and help info.  Quotes are scrambled up, you must unscramble them to uncover the popular quote.  There are 50 well know quotes to unscramble.  Using the mouse, swap the letters to make quote appear.  You can only swap letters in the same column.

- Dav

.zip   WrittenInStone-v1.1-src.zip (Size: 2.89 MB / Downloads: 49)

   

Print this item

  GridWars - Strategy game like 'Ataxx' with AI play
Posted by: Dav - 04-23-2022, 01:58 AM - Forum: Dav - Replies (1)

GRIDWARS is a strategy board game in the style of the popular vintage game called 'Ataxx'.  Goal is to fill up the grid with your color (red) more than the computer color (blue).  You play against the computer.

To play, click a red piece you want to clone or move.  You can clone it by clicking on an empty neighboring square.  Or just move it (jump) by moving it 2 spaces.  You can jump over pieces.  Touching opponents blue pieces will covert them to your red color.  This is the first game I made with AI play and I was inspired to make it by playing a game by bplus with AI.  It was a fun challenge.

Code tested and works in Windows & Linux.

- Dav

.bas   gridwars.bas (Size: 64.7 KB / Downloads: 57)

   

Print this item

  QB64 Phoenix Clock
Posted by: SierraKen - 04-22-2022, 10:33 PM - Forum: Programs - Replies (3)

You know I had to make this eventually. Big Grin 
The picture below doesn't give it justice though because I added a glowing circle that moves in a spiral around the clock. You can see one frame of it in the picture. It also chimes the hour every hour and you can hear it anytime if you press the space bar. Thanks to Dav for that chime code awhile back.
In the zip file there's the .bas file and the .png picture file as the background for the clock. I resized it to fit the 800 x 600. 
Feel free of course to change the code to how you like it and also use the clock code for your own clocks.



Attached Files Thumbnail(s)
   

.zip   Clock QB64Phoenix.zip (Size: 676.16 KB / Downloads: 55)
Print this item

  Admin on vacation!!
Posted by: admin - 04-22-2022, 10:14 PM - Forum: General Discussion - Replies (5)

Ok guys, this has been one heck of a productive week as far as restoring QB64 is concerned!  

We've got the forums here back up and going.  

I've got us half a homepage up and going.  (https://qb64phoenix.com)  

The wiki has been rebuilt (though its still missing a few things which we'll find and replace over time.), and new editors have signed up to help maintain and build it.  

We've got an official repo over at github now, and we've got a First Edition release available to help remove any issues with QB64 trying to link to the old site and error out when it can't do so...



In other words, I couldn't be any prouder of what we've accomplished as quicky as we have, BUT...  I need a break now.  My arthritis in my knuckles and shoulders is acting up from being hunched over the keyboard so much this week, and it looks like we're too the point where things should be able to exist without me for a few days.  I'm going to log out, take a good bath, maybe get dressed afterwards, before I go outside and grill me a nice big steak for supper, and then I'm going to just chill and relax and avoid everything for the next few days until the week starts back up again on Monday.

If anyone wants me before then...   Sorry!  You'll just have to wait.

Try not to burn down the place until I get back, and God forgive me for even saying it, but it looks like Pete is the boss in charge around here for now!  Big Grin

Print this item

  Load a webpage externally
Posted by: Michelle - 04-22-2022, 08:26 PM - Forum: General Discussion - Replies (8)

Well first, it has been awhile since I last fiddled with BASIC, and I kept trying to hunt down the 'other' site that seems to have gone bye-bye. Oh well, I guess stuff happens.

Anyway, I am writing an app to help some folks in a group I support. Once of the things I'd kinda like the app to do is bring up a webpage based on a given URL is the user makes a certain selection in the program. I'm sure this has probably been ask before, but I've searched some, and finding nothing, probably due to not using the correct words to search on. Anyway, thanks for any help, Michelle

Print this item

  Ritchies QB64 games upload
Posted by: madscijr - 04-22-2022, 07:38 PM - Forum: Programs - Replies (2)

I'm not sure where I downloaded this from, the ZIP file was dated 6/1/2017 4:45:58 PM.
(I packaged to 7z which has a bigger upload limit.)  

Hope this helps... Enjoy


[Image: All-Ritchies-QB64-Games2.png]





Attached Files
.7z   AllRitchiesQB64Games.all.7z (Size: 31.13 MB / Downloads: 80)
Print this item

  Tip: How to get your pathed program name
Posted by: bplus - 04-22-2022, 01:49 PM - Forum: Utilities - Replies (7)

Code: (Select All)
PathedProgram$ = Command$(0) 'or process commands sent
Print PathedProgram$

Print this item

  Possibility of Members Only access section
Posted by: Richard - 04-22-2022, 12:34 PM - Forum: General Discussion - No Replies

Wondering if it is possible to have a new section (QB64 related material) where QB64 community members only have access?

This might discourage attempts to download our material into questionable sites.

Print this item

  Linux difficulties compared to Windows
Posted by: bplus - 04-22-2022, 12:29 PM - Forum: Help Me! - Replies (3)

I, bplus, am newbie to Linux the Mint Cinnamon Distro which is a subset of Ubuntu but with more Windows like appearance if I read my book right.

Anyway I am testing the Battleship app Johnno and I put together, everything is fine until I am halfway through a game with all effects going (mostly just sound files playing) and the thing just ups and quits, no messages, nothing?! When I play without effects it's fine and I can run a whole game to win or lose. I think there were some wav files and possibly those are Windows preferred? But why would they work for awhile and then not? 

Another goofy thing: I am testing a graphics program, a mod of Kens's spiral flower and it just automatically says compiler error see log... I check and it's blank, over and over? I'm thinking there is some invisible character that doesn't show in IDE because I commented out the whole program and still get compiler error message. Weird!

And another thing:
I am testing old Spinners program, that takes a screenshot of desktop and then displays that with spiders crawling all over... oh wait the Wiki did say taking screen shots does not work in Linux, never mind.

Windows has no problem with this, IDE in Linux is happy but the compiler gives me error even when I comment more and more until all of the code:

Code: (Select All)
_Title "b+ Makeover #2 of Ken's Rotating Flower"
Dim image As Long
Screen _NewImage(700, 700, 32)
_ScreenMove 250, 20
For r = 0 To 60 Step .25
    Circle (350, 350), r, _RGB32(255 - r * 4, 0, 0), , , .5 'ovals half width for height
Next
image = _CopyImage(0)
Print " Here is one petal, press any to continue..."
Sleep
For i = 0 To 700
    Line (0, i)-(700, i), _RGB32(0, 160, 255 - i / 700 * 255)
Next
For r = 20 To 0 Step -.25 ' draw a yellow center
    Circle (350, 350), r, &HFFFFFF00
Next
r = 250: zoom = 1
Do ' each loop draws a ring of petals around the center starting on outside
    For a = start To _Pi(2) - .00001 Step _Pi(2 / 30) ' a goes around a circle from 0 to 2*pi = 360 degrees
        x = 350 + r * Cos(a): y = 350 + r * Sin(a) ' here is x, y coordinate for petal center
        angle = _Atan2(350 - y, 350 - x) ' here is the angle of the petal to the center of screen
        RotoZoom x, y, image, zoom, _R2D(angle) ' draw petal centered at x, y, scaled at zoom level, convert angle radians to degrees for rotozoom
        _Display
        _Delay .1
    Next
    zoom = zoom * .75 ' decrease petal scale by 75%
    r = r * .75 '  'next ring of petals decrease radius by 75%
    If r < 20 Then Exit Do ' r is too small we are done!
    toggle = 1 - toggle ' this alters petals so they are offset each time around
    If toggle Then start = -_Pi(1 / 30) Else start = 0 ' offset by half the angle "a" step size
Loop Until InKey$ = Chr$(27)
Sleep

Sub RotoZoom (X As Long, Y As Long, image&, Scale As Single, Rotation As Single)
    Dim px(3) As Single: Dim py(3) As Single
    W& = _Width(image&): H& = _Height(image&)
    px(0) = -W& / 2: py(0) = -H& / 2: px(1) = -W& / 2: py(1) = H& / 2
    px(2) = W& / 2: py(2) = H& / 2: px(3) = W& / 2: py(3) = -H& / 2
    sinr! = Sin(-Rotation / 57.2957795131): cosr! = Cos(-Rotation / 57.2957795131)
    For i& = 0 To 3
        x2& = (px(i&) * cosr! + sinr! * py(i&)) * Scale + X: y2& = (py(i&) * cosr! - px(i&) * sinr!) * Scale + Y
        px(i&) = x2&: py(i&) = y2&
    Next
    _MapTriangle (0, 0)-(0, H& - 1)-(W& - 1, H& - 1), image& To(px(0), py(0))-(px(1), py(1))-(px(2), py(2))
    _MapTriangle (0, 0)-(W& - 1, 0)-(W& - 1, H& - 1), image& To(px(0), py(0))-(px(3), py(3))-(px(2), py(2))
End Sub

Print this item

  Code and stuff forum - needs sub forum
Posted by: jakebullet70 - 04-22-2022, 12:19 PM - Forum: General Discussion - Replies (4)

Need to add a Snippets sub forum. I got snippets!!!  Wink

Print this item