February 27, 2021, 03:41:37 AM

Author Topic: Return to coding.  (Read 281 times)

Offline Pfaber11

  • Hero Member
  • *****
  • Posts: 580
  • Bonjour
Return to coding.
« on: February 20, 2021, 08:19:27 AM »
Hi guys just put my first lines of code down after a year off . Seem to of forgotten quite a bit and am starting with AGK classic and am really hoping with my new laptop I should get a good FPS count. I will invest in Studio if I see it on offer from steam as my computer now supports Vulkan although you guys are saying classic is faster. I had a look at some of my PureBasic stuff and just can't get into it right now . I find PB a bit quirky in some ways like start drawing stop drawing although I might give it another go at some point . AGK makes more sense to me right now and to a point I feel at home . After my break from programming I seem to of forgotten a fair bit . I really wish I had done an hour a week just so I would of kept this stuff fresh in my mind . Although I'm not exactly starting from scratch the longer I left it the more daunting a task it became . Speed is still king to me although now I'm on a faster machine things should work a lot better . Really wish I could afford Studio and if I see it on offer for about 30 quid I will buy it . It feels good to be back in the driving seat after such a long break and I intend to get at least one game finished this year . Just getting some small demos done right now to refresh my coding skills . So far just got a couple of sprites moving about and detecting hits . I think the AGK syntax is still awesome and in that respect it is faster to develop in compared to PB. Have a nice day.
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 8 gb ram

Offline Baggey

  • Jr. Member
  • **
  • Posts: 59
Re: Return to coding.
« Reply #1 on: February 20, 2021, 06:17:25 PM »
Ive been coding on and off and every time i sit down at the computer it's like im reinventing the wheel so to speak. Although the older im getting the longer it take's to learn thing's new.

That's why i like a Basic syntax. Even thou when i sit down to code i have to remember what i was doing! That's why BASIC is good.

Ive bought AGK and it seemed very good at the time. But i can't seem to find any code to help me with altering pixels on the fly. I test a language's speed or wether it's going to be any good by how many pixel's it can alter on the fly with a minimum of 70hz a second Frame rate. It's like trying to create OLD Colour TV static on the fly.

As im into retro Emulation if you can't Emulate let's say TV static in colour in at least 76,800 pixels within at least 70Hz it's just not going to be fast enough. I tried PB but never got the hang off it.

The best language ive used is PlayBasic but Speed just let it down as it wasn't Compiled to PC machine code.

I eventually find Blitzmax 1.5 which is excellent and they move again!? Why not improve something that's good already!?

It's like i love XP Proffesional and im using Windows 10 now! Why can't i have Windows XP with windows 10 modern features. May be im getting set in my way's.

Et bonjour mon amie aussie.

Kind Regards Baggey
Currently Running a PC that just Aint fast enough!?
ZX Spectrum 48k, NEXT, C64, ORIC Atmos 48K, Enterprise 128K, The SID chip.

Jesus was only famous because of his DAD.

Offline GfK

  • Full Member
  • ***
  • Posts: 227
  • Scrotty furtler
Re: Return to coding.
« Reply #2 on: February 20, 2021, 06:49:47 PM »
Haven't written a game (a complete one) in seven years now.  I just can't be arsed with it all any more.  My business is in the process of closing down so having a bit of a time out to look at other things.

Writing a bit of young adult fiction at the moment, see how that goes.  First novel is about 85-90% finished.  I don't know the first thing about book publishing but I'll deal with that when I get to it.
Intel I9-9900K 3.6-5.0GHz | GeForce RTX2070 8GB | 32GB RAM | 500GB NVMe M.2 SSD | 1TB HDD | Windows 10 x64.
MSI Apache Pro | I7-7700HQ | GeForce GTX1060 3GB | 8GB RAM | 128GB SSD | 1TB HDD | Windows 10 x64.

Offline Dabz

  • Sr. Member
  • ****
  • Posts: 403
  • Is it cos I is ginger?
    • dabzy.co.uk
Re: Return to coding.
« Reply #3 on: February 20, 2021, 07:37:43 PM »
Off and on me... Few things just tinkering, basically when I can be arsed with it... Other hobbies have cropped up though, which over took programming, especially on sunny days, because I like to be out doing stuff, I worked the first two lockdowns, and, this one as well in the most part, away from home, though, when I'm at the PC, 'm sorting that side of stuff as well so when I do open an IDE it's like "urghhh!" :D

Amazing really, back in the day when I thought I had no time I still had the energy to make time, now, it seems I might have the time but the energy just isnt there and I just want to park my arse and sit and watch crap on youTube! :D lol

But like I say, I havent stopped completely, its just I havent got that drive anymore, once upon a time if a niggle popped up, or I needed to work something out, I'd be at it like a concrete breaker until I'd cracked it, up until stupid hours in the morning, grab a handful of sleep, go to work the next day, rinse and repeat, now it's "I'll looks at that later"... 3 weeks later, still havent touched it! :D

I even remember when I woke up one morning at the PC after an all day session on the drink and I must of decided to do a bit when I was minging, lol, you should of seen the clip, totally mangled, but hey, thats how keen I was, and I had no issue going back over fixing my drunken logic either! :P

So yeah, I'm putting it down to age really, only excuse I have to be fair, but like I say, still tinkering, hopefully get at least one of my little thingys done because it will be handy for work, so, that there will keep the interest going, and interest is needed as the client side is written in B4J, server side is PHP (Which I hate with a passion, but hey hoo, it is pretty much the best tool out there for that sort of stuff, so, I've got to suck it up), MySQL to boot which now the database is turning into a juggle, all talking to each other, and when it's a certain point in B4J, I'll then be porting it to B4A and B4i, its growing into quite the monster, but, I've still got it on a leash... Just, but because of that, I'm easily side tracked!!! :D

I could of made it all the more easy if I planned everything prior, especially the database, that just keeps on growing as I develop... But, thats the proper way to do it... And... Pfffttttt! :P

Dabz
Intel Core i5 6400 2.7GHz, NVIDIA GeForce GTX 1070 (8GB), 16Gig DDR4 RAM, 256GB SSD, 1TB HDD, Windows 10 64bit

Offline GfK

  • Full Member
  • ***
  • Posts: 227
  • Scrotty furtler
Re: Return to coding.
« Reply #4 on: February 20, 2021, 08:15:43 PM »
I often disappear down Youtube rabbit holes of an evening.  Watched an entire video of somebody doing a loft conversion the other day.

This is what I've become. :D
Intel I9-9900K 3.6-5.0GHz | GeForce RTX2070 8GB | 32GB RAM | 500GB NVMe M.2 SSD | 1TB HDD | Windows 10 x64.
MSI Apache Pro | I7-7700HQ | GeForce GTX1060 3GB | 8GB RAM | 128GB SSD | 1TB HDD | Windows 10 x64.

Offline Baggey

  • Jr. Member
  • **
  • Posts: 59
Re: Return to coding.
« Reply #5 on: February 20, 2021, 10:33:16 PM »
Off and on me... Few things just tinkering, basically when I can be arsed with it... Other hobbies have cropped up though, which over took programming, especially on sunny days, because I like to be out doing stuff, I worked the first two lockdowns, and, this one as well in the most part, away from home, though, when I'm at the PC, 'm sorting that side of stuff as well so when I do open an IDE it's like "urghhh!" :D

Amazing really, back in the day when I thought I had no time I still had the energy to make time, now, it seems I might have the time but the energy just isnt there and I just want to park my arse and sit and watch crap on youTube! :D lol

But like I say, I havent stopped completely, its just I havent got that drive anymore, once upon a time if a niggle popped up, or I needed to work something out, I'd be at it like a concrete breaker until I'd cracked it, up until stupid hours in the morning, grab a handful of sleep, go to work the next day, rinse and repeat, now it's "I'll looks at that later"... 3 weeks later, still havent touched it! :D

I even remember when I woke up one morning at the PC after an all day session on the drink and I must of decided to do a bit when I was minging, lol, you should of seen the clip, totally mangled, but hey, thats how keen I was, and I had no issue going back over fixing my drunken logic either! :P

So yeah, I'm putting it down to age really, only excuse I have to be fair, but like I say, still tinkering, hopefully get at least one of my little thingys done because it will be handy for work, so, that there will keep the interest going, and interest is needed as the client side is written in B4J, server side is PHP (Which I hate with a passion, but hey hoo, it is pretty much the best tool out there for that sort of stuff, so, I've got to suck it up), MySQL to boot which now the database is turning into a juggle, all talking to each other, and when it's a certain point in B4J, I'll then be porting it to B4A and B4i, its growing into quite the monster, but, I've still got it on a leash... Just, but because of that, I'm easily side tracked!!! :D

I could of made it all the more easy if I planned everything prior, especially the database, that just keeps on growing as I develop... But, thats the proper way to do it... And... Pfffttttt! :P

Dabz

Ive tried BJ4 as well. It even had a Zx Spectrum Emulator but the forum is as help full as "BORIS JOHNSON MAKING A DECISON"  :)) It just dosent work or make sence!

On the Last Lock Down i was swimming coves and Snorkeling in some places i just shoud'nt of been but ive found some great remote places to chill in thou! May be ill take my Laptop to code in the Evening's That's if the Miss's dosent want an early night! :)) Still i still have the W*r*d W*de Wa*K!

Kind Regards Baggey
Currently Running a PC that just Aint fast enough!?
ZX Spectrum 48k, NEXT, C64, ORIC Atmos 48K, Enterprise 128K, The SID chip.

Jesus was only famous because of his DAD.

Offline Pakz

  • Full Member
  • ***
  • Posts: 197
    • My homepage
Re: Return to coding.
« Reply #6 on: February 21, 2021, 08:49:51 AM »
@gfk My mother just released her first poetry book through a publisher. She's 70 years old! The publisher(a dutch one / boekscout.nl) has no costs up front and after for the writer. They print the book(s) when it gets ordered.
The difficult part was getting every spelling and writing rule right. At the end the book went to friends of friends who are academics and they removed the last mistakes. Getting pictures for the cover and the writer was also problematic as this required pro! level pictures. Oh, and she was required to get a mailing list of at least 40 people who agree to recieve a one time mail from the publisher with a advert of the book. There is/was a personal contact at the publisher who helps out.

The publisher expects the writer to do things to get the book sold. They supply Flyers and posters. But there are no penalties for doing to little.


Coding:
I'm working on recreating a space type mining/shooter game to Godot. Godot script is not fast but it does the job. The Godot editor is quite complex and without tutorials I would have not gotten into it.

Offline RemiD

  • Hero Member
  • *****
  • Posts: 1148
Re: Return to coding.
« Reply #7 on: February 21, 2021, 06:46:06 PM »
i have more time in 2021, so back to coding, but only a few hours each day, rather for the challenge to achieve wanted results, to solve problems, than as a way to earn money.

always rewarding to achieve results / solve problems, that nobody has, before me. :D
DualCore AMD E-450, 1646 MHz - 6 Go DDR3 1333 SDRAM - AMD Radeon HD 6320 Graphics (384 Mo) - Windows 7 Home Premium - DirectX 11.0

Offline Dabz

  • Sr. Member
  • ****
  • Posts: 403
  • Is it cos I is ginger?
    • dabzy.co.uk
Re: Return to coding.
« Reply #8 on: February 21, 2021, 07:54:43 PM »
Quote
Writing a bit of young adult fiction at the moment, see how that goes.

One of Laura's relations won the Booker prize a few years ago, this fella:-

https://en.wikipedia.org/wiki/DBC_Pierre

Eeeeee, what a bloke mind, the stories I've heard... Had a bit of a drug issue and that, pulled himself round now, but, jesus... Still loves a drink, he did a documentary on the Aztecs for Channel 4, and he's got this bloke following him around with a carrier bag full of beers! :D lol Funniest thing ever, proper full on documentary and there he is, swigging away with a random behind him feeding him cans from a carrier!!! :D lol

Wouldn't see David Attenborough doing that in the middle of the Amazon quaffing a bottle of sherry! :D

Dabz
Intel Core i5 6400 2.7GHz, NVIDIA GeForce GTX 1070 (8GB), 16Gig DDR4 RAM, 256GB SSD, 1TB HDD, Windows 10 64bit

Offline Pfaber11

  • Hero Member
  • *****
  • Posts: 580
  • Bonjour
Re: Return to coding.
« Reply #9 on: February 21, 2021, 08:39:41 PM »
Well I tried to pick up PB again but it's just too quirky after no coding at all for 12 months so decided to either give up or try AGK2 again and it really is a great language . Much better on my new computer too. Been at it a couple of days and really enjoying it . Wish I had made the decision
 to get back to it 6 months ago and also should of done just an hour a week so as not to forget. Just worked out how the virtual resolution works and it really is a nice feature . Not sure how fast AGK is really but I like it better than Python . Have a nice evening .
Sorry about repeating some of the stuff I wrote earlier . Spent a couple of hours on ray casting this afternoon and have now nailed it . Managed to cram it onto one line . The example was helpful but did it my way and it works great.
 
Code: [Select]
if  objectraycast(2,getobjectx(1),getobjecty(1),getobjectz(1),getobjectx(2),getobjecty(2),getobjectz(2)) <> 0Well there it is I don't think it's original but it was for me . Plenty of room to fine tune it too. Well that's two things I've got down in the last 2 days. All my previous games written in AGK2 were done using a guys code to detect collisions  off of the AGK official forum and it looked like spaghetti and about 20 lines long . It was crazy but it worked. The way I'm doing it now is way better and easy to do . Good evening and sorry for rambling on.

HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 8 gb ram

Offline 3DzForMe

  • Hero Member
  • *****
  • Posts: 1191
Re: Return to coding.
« Reply #10 on: February 21, 2021, 10:03:40 PM »
Yeah, I also like AGK2, although time to code has been a little tuff of late. Vote +1 for AGK2 nevertheless  :D

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal