Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Qwerkey

Pages: 1 2 [3] 4 5 ... 51
31
QB64 Discussion / Re: Small hiccup in ABS
« on: January 04, 2022, 01:35:56 pm »
At least ABS() works correctly at the minimum of SINGLE variable type (-2.802597E-45), but Cobalt has indeed uncovered a Bug.


32
Programs / Re: Map Projections (of the Earth): Any Experts?
« on: January 03, 2022, 12:29:37 pm »
@bplus is correct in pointing out that we mere mortals are in the presence of powers gods at QB64.  Our chief god is Germanic/Norse, Odin (or Woden in Anglo-Saxon).  He has his Special Day of the Week, of course, so perhaps we might rename this site the Wednesday Club?!

33
Programs / Re: Map Projections (of the Earth): Any Experts?
« on: January 03, 2022, 10:38:03 am »
@DANILIN is quite correct.  @bplus has the World spinning in the wrong direction.

And another thing!  This was going to be my little (entertaining) project, but @bplus & @MasterGy have got there before me.  These guys don't leave any crumbs for us lower coding mortals!

However, I see that the UK doesn't appear in @bplus 's World (we're just insignificant, I know!  Along with Ireland, Iceland and other insignificant places!).  If I start my own project (where I'd had the thought of doing some _MEM manipulations as well), I might let the user choose the position of the viewing centre.  Does QB64 do "Location sensing"?

An altogether lesser mortal.

34
Programs / Re: Map Projections (of the Earth): Any Experts?
« on: January 02, 2022, 01:54:34 pm »
Hi, @bplus Happy New Year

I'll look up your existing project (this was going to be a challenging exercise for me), but if you've covered it more-or-less I should not want to duplicate.

Richard

35
Programs / Map Projections (of the Earth): Any Experts?
« on: January 02, 2022, 01:39:05 pm »
I am thinking of starting a project to display a revolving 3D transparent Earth globe.  To do this, I'll input a 2D map of the Earth and map that onto a sphere with _MAPTRIANGLE(3D) - I still am completely ignorant of _GL methods.

My starting problem is that I don't know which the many map projections to use to give the global Earth image the correct topology.

Would you be able to suggest what would be the most apposite project for this perceived method?  I'll probably start with Mercator if there is no guidance.

36
Programs / Re: Custom Edit Image, Save and Load with Turkey Hunt WIP Game
« on: January 02, 2022, 01:31:04 pm »
if it is about removing colors or changing a color, I have that maybe using memory too from @Qwerkey, Pi in the Sky (still a great graphics demo IMHO) if only for changing a color in an image.

@bplus You were always too kind about Pi-in-the-Sky.  It certainly had a certain degree of quirkiness, but all members have that individual creativity.  Thank you, again!

37
Programs / Re: New SICK project
« on: December 30, 2021, 06:34:49 am »
@eoredson Erik, error corrected, Qwerkey

38
Programs / Re: New SICK project
« on: December 27, 2021, 11:45:48 am »
@eoredson Erik, Library has been updated with your latest version.  Let me know if any corrections are needed.
.cc @STxAxTIC

Qwerkey (Richard)

39
Programs / Re: Rubik's Cube (Updated)
« on: December 23, 2021, 09:29:11 am »
@madscijr I regret that I am unlikely to revisit this project.  It was created rather a long time ago (in a previous version of QB64 which I updated so as to feature it here).  But never say never!


40
InForm Discussion / Re: New screen - How?
« on: December 21, 2021, 10:10:39 am »
If it is any use, please see my Gravitational Simulation program

https://www.qb64.org/forum/index.php?topic=581.msg4319#msg4319

This is an Inform project where controls are brought in and out of the Inform window (just as, say, images would be loaded/unloaded).  Line 628 onwards deals with how the Controls are handled.

If you run the program and click on the Options in the Simulation Type frame, you will see Controls removed/loaded as necessary.  It is a restriction in Inform that you can only use the one window created with the UIEditor, and you have to load/unload Controls as necessary within that window.  Use the Top/Left/Hidden/Disabled Control parameters as necessary.

I think that the UIEditor does not like Controls on top of each other / overlapping.  So, as a tip place your controls so that this does not occur at design and move them into position as required at run.  I also make sure that Controls don't overlap at runtime.

Hope that helps.

41
InForm Discussion / Re: New screen - How?
« on: December 17, 2021, 04:34:33 am »
Yes, I have done this a few times in InForm projects and it works very well.

42
InForm Discussion / Re: New screen - How?
« on: December 15, 2021, 02:14:39 pm »
I rather think that @Mad Axeman is correct here.  In Inform, you can only have the one screen open.  Everything has to be done in the one Inform window.  The Master (@FellippeHeitor) will need to give the Intellignt Answer.

43
Programs / Re: Chess
« on: December 13, 2021, 12:36:06 pm »
@Dav Dave, regrettably you have messaged the wrong Richard - ID @Richard Frost required , not @Richard

@Richard Would there be any chance to modify your ID (to something like RichardX where X is the first letter of your family name)?  This is not the first time that members have mistakenly messaged you in place of another.  The given name alone as ID is easy to misdirect.

Qwerkey (given name Richard!).

44
QB64 Discussion / Re: IF THEN issue using AND, I think I'm losing my mind!
« on: December 11, 2021, 10:49:30 am »
I should say (and I think that I'm in agreement with Steve, though I'm not sure of that!):

If variables are numbers (16 & 15) in this case, then always use equations:
     as Steve's IF P.MOR <> 0  AND P.MOB <> 0 THEN...
     The Boolean algebra is done after the equations are worked out.

Only use Boolean algebra (ie True or False only) when the variables are strictly Booleans (0 or -1 in QB64), eg:
     IF P%% AND NOT Q%% THEN...

Then you can't go wrong.


45
@loudar Good to hear from you.  Another book recommending QB64?  Excellent.  Ashish has mentioned similar elsewhere.

The Junior Librarian still awaits the marvellous Image Editor!

Pages: 1 2 [3] 4 5 ... 51