Menu

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.

Show posts Menu

Topics - bigsofty

#1
I am throwing this back in the forge, wow, after 4 years of not really touching it.

A small catchup, the end of 2018, I had an accident and I lost the sight in my right eye and some in my left. I count myself lucky as it could easily have been 100% sight loss. This obviously affected me doing coding, my output slowed to a crawl as I can now only see about 3/4 of a line of code and it caused me quite a bit of strain to do so. So I took a break, too long TBH.

At the beginning of this year my partner encouraged me to give it another go, which I did, I'm still pretty slow but the strain on my eyesight in my left eye seems to have all but gone. So I decided to continue.

A few weeks later, I lost my partner of 27 years. It was sudden and unexpected. She had high blood pressure but otherwise she was healthy and happy.

Get you blood pressure checked regularly guys.

Over the last couple of days I've decided to finish the game, it could take a long time as I still have problems with my left eye but it would be cathartic I think.

I'll post a new screen shot once I get the code compiled.
#2
Took a break from coding over the summer. Now I  cant remember a thing and the fear of code is growing...   :noggin:

Note to self: DOCUMENT MORE!   :'(
#3
Off Topic / RIP Oli Frey
2022-Aug-29
An art legend from the 8bit days, many an Oli Frey magazine cover was better than the games own actual cover art...

https://www.creativebloq.com/news/oli-frey



https://www.oliverfreyart.com/shop



#4
Off Topic / Covid
2022-Mar-22
Ive been missing the last few weeks... well after avoiding it for the last couple of years, we finally got it. My wife works in a nursery, so close contact with the kids is impossible to avoid. This is how we eventually contracted it. :help:

We self isolated, as per advice, we weren't too worried, we had our jabs and boosters,

She was ill for one night and felt tired, for a couple of weeks.

I caught it as soon as she was infection free. Bad luck, as I was looking after her in the bedroom. We tried self isolating within the household as we have two kids that live here too.

No worries, Leanne was not too bad I thought... Unfortunately it hit me much harder, I was actually surprised as I believed the government line that with your boosters etc. It should be like a bad cold. Yeah, some cold, for a full two weeks I lost most of the feeling in my hands, blinding headaches, pain all over, bad breathing, loss of smell. The wife phoned an ambulance at one point as I was getting worse by the minute, but as I live so remote, this would have been a air ambulance, so I refused to go. I really don't like helicopters. This was a few weeks ago, and I am much better now, still with weak hands though and still wheezy when I take a breath.

God this thing was sent by the devil.

Kids managed to avoid it though.

Any ways, I hope you guys are well and keep up with your boosters, thats probably what saved my bacon!  :D
#5
 Have a good one guys!  :booze:

Always remember to take the kids to see Santa!  :D



#6
Only a few key people and a lot of talent. Its amazing what can be done in Blender 3D now...

#7
Anyone here using a DAW for there music?

If so could you recommend one and give your reasons why?

I'm looking into it but my head is spinning with the different ones available.  :S
#8
Looks like the test modifications, that should have been removed, that I tested a few weeks ago (see my posts regarding the removing ".self" compiler modification in Steam beta) have now made there way in the the the actual newly updated Steam version of GLB!?!? See... https://www.glbasic.com/forum/index.php?topic=11453.msg101179#msg101179 post.

I now simply cant compile my code. I tried to modify around this error but my project is over 150 thousand lines of code, spread across 129 files... and gave up after an hour.

Obviously this was compiling fine before the update last week.

"gui.gbas"(1685) error : GPC0007 wrong argument type

Code (glbasic) Select
FUNCTION GetWidgetID%: name$
IF name$="" THEN RETURN -1
LOCAL i%, w AS TWidget
FOREACH w IN self.w[]
IF name$=w.text$[WB_NAME_STRING] THEN RETURN i%
INC i%
NEXT
RETURN -1
ENDFUNCTION


Its the same piece of code that was tested here(https://www.glbasic.com/forum/index.php?topic=11453.msg101179#msg101179) after the test modification was made to the Steam beta compiler which has made its way into the release build. This was supposed to be dropped for causing these errors a few weeks ago. Unfortunately, this is only the first of a lot of of compiler errors now in my code.

#9
What a shit year 2020 was, I hope 2021 shapes up better!  :blink:

#10
Off Topic / Happy Christmas!
2020-Dec-18
Have a good one guys!  :booze:

#11
It's a retro boot-into-Basic computer that you can build by yourself. Strictly a fun DIY project for the dark winter nights!  :D

#12
Off Topic / Merry Christmas!
2019-Dec-24
It's that time of year, have a good one guys!

#13
OK, all I want to do is render my 3D scene to a texture and dump it back onto a 2D screen. But when I do, the origin of the 3D camera seems to jump to the right(or the grabbed texture dimensions are getting messed up).

It's one of those situations that you know something is wrong but cant see the reason why?  :blink:

Please run this snippet at 640x480 windowed please and tell me if you get the same result?

Code (glbasic) Select

SETCURRENTDIR("Media") // go to media files

GLOBAL screenID%, spriteID%
GLOBAL screenWidth%, screenHeight%
GETSCREENSIZE screenWidth%, screenHeight% // 640,480, windowed
screenID% = 0
spriteID% = GENSPRITE()

DEBUG IIF( PLATFORMINFO$("GLEX:glBindFramebufferEXT")=1, "FBOs supported\n", "FBOs not supported\n" )

CREATESCREEN screenID%, spriteID%, screenWidth%, screenHeight%

   WHILE TRUE

USESCREEN screenID%
CLEARSCREEN RGB( 44, 44, 44 )
X_MAKE3D 1, 1000, 75
X_CAMERA 0,0,-100, 0,0,0
X_DRAWAXES 0,0,0
USESCREEN -1

X_MAKE2D
DRAWSPRITE spriteID%, 0, 0
PRINT "Rendering to texture", 0,0
      SHOWSCREEN
      KEYWAIT

CLEARSCREEN RGB( 44, 44, 44 )
X_MAKE3D 1, 1000, 75
X_CAMERA 0,0,-100, 0,0,0
X_DRAWAXES 0,0,0

X_MAKE2D
PRINT "Not rendering to texture", 0,0
      SHOWSCREEN
      KEYWAIT

   WEND


Oh, as a side note, is anyone getting the message "FBOs supported" in the debug window?
#14
This guys kinda mental but the tech on show here is pretty amazing!




#15
I get a compile failed when I turn on the profiler option...

Code (glbasic) Select
linking:
g++.exe: error: resource.o-lGLBProfiler: No such file or directory
*** FATAL ERROR - Please post this output in the forum
#16
I purchased an iMac and then a Mac Mini a few years ago when I had some Mac/iOS contract work. They were both second hand, total about £1000'ish. Even then I cringed as I knew they weren't worth it. PC wise, the hardware was way outa date and now their just gathering dust in a cupboard. God Mac hardware is overpriced!

Something I thought about years back was building a Hackintosh but I heard it was tremendously difficult and throught with comparability problems. Also I'm an AMD guy, so this was outa the question on my hardware.

But out of sheer interest, as I no longer support OSX or iOS, I purchased bog standard 2nd hand Intel desktop base unit off of eBay. It had an Intel i7 3770 and was on an Ivy Bridge(both CPU & MB being Intel, makes for an easier installation) mother board, with 4 meg of ram, 300GB HD, 300WATT PSU, in non-de-script black desktop case. £100, not a bad find. Although an i3 or i5 would have been just as good for this. I was lucky, that it came with a free(it wasn't even mentioned in the ad) NVidia GT210 GFX card, which was a surprise as I thought I would have to use the CPU GPU(which works also). It's not an expensive card though, £10-£15 on eBay, actually its pretty bad card but what the hell.

Since I wanted to support High Sierra (Mojave would not use the NVidia GT210 but the installation procedure is the same if I want Mojave) I choose that. The method I chose did not require a Mac to create a recovery USB, its all done on a Windows PC. I just followed the instructions off a website and created and a couple of hours later I had the OSX installation USB drive on an old 8GB USB 2 Key. Booted to that and installed onto the 300GB HD. Resetted the machine and it booted into High Sierra. I may have been lucky but everything worked. It's a full Mac on the screen. It comes up as an iMac 13.3. No incompatibilities, sound, network, keyboard, mouse etc. I can log into the App Store and it is not rejected and seen as a legit iMac.

It was a bit weird, seeing a Mac on a PC monitor but it does work. I've used it various things, nothing serious though, just resting compatibility TBH. Its fast, I hate to say it, OSX is much more optimised than windows, even on this relatively tame hardware its very smooth(Although I did stick in an old 4GB DIMM that was in a drawer afterwards to get 8GB), not a hint of jittering. I have also stuck in(I'm a bit of a tech hoarder) an old 250GB HD and installed Windows 10 on that, the Mac boot menu supports dual booting off the bat so nothing else needs to be done to support a dual OS boot.

It's a time consuming and pretty exact process that had to be done in many multiple steps but an evening can get the job done. Hell if a numpty like me can do it...

But the equivalent iMac (A1419) on eBay today would be, 2nd hand, £750 - £1000 (Admittedly with a screen). My total cost(Excluding some old junk I had lying around) £100.

It was fun, in a nerdy kinda way, to see if it could be done mainly, I would definitely advise anyone to give it a go.

The main reason I mentioned this is I know some of you still want to support a OSX(iOS possibly on other dev kits), so this may be a cheap option for that.

It's also rather, ahem, grey area legal-wise. So I can post the link to the website I used for the instructions via PM if your interested.

Any admins not happy with the post, feel free to move/delete it, no harm done. :)
#17
Before upgrading to the steam version (my old version was 14.371) my compilation times were about 40-50 secs. Not too bad. But since going on to the Steam version my compilation times have gotten between 300-400% longer (120-170 secs). My source has not changed. I have an old 8gig Dual Core laptop for dev work, it's not the fastest but it was more than adequate up until this point.

Now watching the compile via task manager, the compiler seems to be launching each source file GLB pre-compiler, compilation and linker on its own process. My project is over 100 files, so this is driving my computer nuts resource-wise. It was doing this with my old compiler version too but there seemed to be a limit on the amount of processes launched during compilation, not so in this version I think? I am also now using over 3 gig in memory too as all this commotion is running at once. 2 out of every three compilation fails due to the machines resources being overwhelmed. My IDE completely freezes during the compilation process, hell my whole computer is useless during the compilation process.

My question, or request is, can the amount of compilation generated processes be added to the project options to allow users to tailor the compilation process to match their hardware? This would solve the problem I believe.
#18
This is kinda a wacky idea but it also kinda works too.  :S

http://turtle.audio

#19
Off Topic / Roguelikes
2018-Oct-29
This is a nice article I recently came across and I would like to share the link...

https://www.gridsagegames.com/blog/2018/10/how-to-make-a-roguelike/

I've always been interested in Roguelikes but I was always baffled by the RPG mechanics and the general scope of Roguelikes. There a real 'coders' genre IMHO, almost no graphics or sound to mess around with, just code. I'm seriously thinking of giving it a go myself.  :noggin:

If anyone is really interested in this subject I would heartily recommend this subreddit too... https://www.reddit.com/r/roguelikedev/
#20
Off Topic / Back on the net
2018-Oct-25
Yay, nearly 2 months without a proper internet service and now I'm back on. What a mess my it's been. Glad I'm back in the modern world.

On the plus side I'll be able able to up load at a much faster rate. Maybe do some YouTube vids etc.

Phew!  8)